summaryrefslogtreecommitdiff
path: root/src/core/ao_telemetry.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-25 04:05:09 -0700
committerKeith Packard <keithp@keithp.com>2013-10-25 04:05:09 -0700
commit08143a922fe27bc50a19924f46538f9476ab5fd1 (patch)
treecdd2be15a286183eade9d6b665d5bc5a99d5abff /src/core/ao_telemetry.h
parentba99630f33440b993c69830856d2a7741ffdef71 (diff)
altos: Add gyro-based orientation tracking
This tracks the angle-from-vertical as an additional input to the pyro channels. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_telemetry.h')
-rw-r--r--src/core/ao_telemetry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_telemetry.h b/src/core/ao_telemetry.h
index fd6b76b3..237a35ab 100644
--- a/src/core/ao_telemetry.h
+++ b/src/core/ao_telemetry.h
@@ -162,7 +162,7 @@ struct ao_telemetry_mega_sensor {
uint16_t tick; /* 2 */
uint8_t type; /* 4 */
- uint8_t pad5; /* 5 */
+ uint8_t orient; /* 5 angle from vertical */
int16_t accel; /* 6 Z axis */
int32_t pres; /* 8 Pa * 10 */