projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Adjust comment about how the BMX160 is oriented
[fw/altos]
/
src
/
kernel
/
ao_data.h
diff --git
a/src/kernel/ao_data.h
b/src/kernel/ao_data.h
index 43bd0e21a235a822d2b1b73b8183cf5592cf0e39..988ac4897ecafbb8798ce1e1b5ceb2bf09368144 100644
(file)
--- a/
src/kernel/ao_data.h
+++ b/
src/kernel/ao_data.h
@@
-448,8
+448,8
@@
static inline float ao_convert_accel(int16_t sensor)
typedef int16_t gyro_t; /* in raw sample units */
typedef int16_t angle_t; /* in degrees */
typedef int16_t gyro_t; /* in raw sample units */
typedef int16_t angle_t; /* in degrees */
-/*
Y
axis is aligned with the direction of motion (along) */
-/*
X
axis is aligned in the other board axis (across) */
+/*
X
axis is aligned with the direction of motion (along) */
+/*
Y
axis is aligned in the other board axis (across) */
/* Z axis is aligned perpendicular to the board (through) */
static inline float ao_convert_gyro(float sensor)
/* Z axis is aligned perpendicular to the board (through) */
static inline float ao_convert_gyro(float sensor)