23 #ifndef _TZ01_MOTION_TRACKER_H_
24 #define _TZ01_MOTION_TRACKER_H_
29 #define PI (3.1415926535)
bool TZ01_motion_tracker_magnetometer_read(uint16_t *rx, uint16_t *ry, uint16_t *rz, float *x, float *y, float *z)
Read Magnetometer value.
Definition: TZ01_motion_tracker.c:157
bool TZ01_motion_tracker_temperature_read(uint16_t *rt, float *t)
Read chip temperature value.
Definition: TZ01_motion_tracker.c:132
void TZ01_motion_tracker_compute_axis_angle(float acc_x, float acc_y, float acc_z, float *pitch_rad, float *roll_rad)
Comute AXIS angle from maesured accel values.
Definition: TZ01_motion_tracker.c:206
bool TZ01_motion_tracker_accel_read(uint16_t *rx, uint16_t *ry, uint16_t *rz, float *x, float *y, float *z)
Read Accel value.
Definition: TZ01_motion_tracker.c:94
bool TZ01_motion_tracker_gyro_read(uint16_t *rx, uint16_t *ry, uint16_t *rz, float *x, float *y, float *z)
Read Gyro value.
Definition: TZ01_motion_tracker.c:56
bool TZ01_motion_tracker_acc_axis_angle(float *pitch_rad, float *roll_rad)
Computed AXIS angle from Accel.
Definition: TZ01_motion_tracker.c:193
bool TZ01_motion_tracker_init(void)
Initialize the motion tracker library.
Definition: TZ01_motion_tracker.c:40