8 #define HEADING_MAX_VALUE 5760 9 #define HEADING_MIN_VALUE 0 10 #define HEADING_RANGE 5760 21 extern int16_t delta_alpha;
69 extern int32_t
set_roll(int16_t roll);
int32_t set_roll(int16_t roll)
Set the euler roll angle offset.
void update_orientation(void)
Update the current orientation.
int16_t get_relative_roll(void)
Get the relative roll angle (relative to the last setting).
int16_t get_relative_heading(void)
Get the relative heading (relative to the last setting) in trigo sense.
int32_t set_pitch(int16_t pitch)
Set the euler pitch angle offset.
int32_t set_orientation(int16_t heading)
Set the euler heading angle offset.
int16_t get_relative_pitch(void)
Get the relative pitch angle (relative to the last setting).