PebbleOS v4.47.0-512-g5285d4236
Loading...
Searching...
No Matches
units.h File Reference

Macros

#define PBL_MOUNT_MATRIX_MAP(xx, xy, xz, yx, yy, yz, zx, zy, zz)
 Sensor axis feeding each watch axis, from the rows of a devicetree mount-matrix.
 
#define PBL_MOUNT_MATRIX_DIR(xx, xy, xz, yx, yy, yz, zx, zy, zz)    {[AXIS_X] = (xx) + (xy) + (xz), [AXIS_Y] = (yx) + (yy) + (yz), [AXIS_Z] = (zx) + (zy) + (zz)}
 Direction of each watch axis, from the rows of a devicetree mount-matrix.
 

Enumerations

enum  IMUCoordinateAxis { AXIS_X = 0 , AXIS_Y = 1 , AXIS_Z = 2 }
 IMU coordinate axes, relative to the watch. More...