26 #ifndef STABILIZATION_ATTITUDE_RC_SETPOINT_H
27 #define STABILIZATION_ATTITUDE_RC_SETPOINT_H
59 bool in_carefree,
bool coordinated_turn,
struct RadioControl *rc);
71 bool in_carefree,
bool coordinated_turn,
struct RadioControl *rc);
83 bool in_carefree,
bool coordinated_turn,
struct RadioControl *rc);
95 bool in_carefree,
bool coordinated_turn,
struct RadioControl *rc);
Paparazzi floating point algebra.
Paparazzi fixed point algebra.
Generic interface for radio control modules.
void stabilization_attitude_reset_care_free_heading(struct AttitudeRCInput *rc_sp)
Reset care free heading to current heading.
int32_t stabilization_attitude_get_heading_i(void)
Get attitude heading as int (avoiding jumps)
struct FloatEulers rc_eulers
RC input in eulers (needed even for quat for yaw integration)
struct FloatQuat rc_quat
RC input in quaternion.
void stabilization_attitude_reset_rc_setpoint(struct AttitudeRCInput *rc_sp)
Reset rc input to current state.
void stabilization_attitude_rc_setpoint_init(struct AttitudeRCInput *rc_sp)
Init rc input.
void stabilization_attitude_read_rc_setpoint_earth_bound(struct AttitudeRCInput *rc_sp, bool in_flight, bool in_carefree, bool coordinated_turn, struct RadioControl *rc)
Read attitude setpoint from RC as quaternion in earth bound frame Interprets the stick positions as a...
void stabilization_attitude_read_rc_roll_pitch_earth_quat_f(struct FloatQuat *q, float theta_offset, struct RadioControl *rc)
Read RC roll and pitch only, in earth bounded frame.
void stabilization_attitude_read_rc_roll_pitch_quat_f(struct FloatQuat *q, struct RadioControl *rc)
Read RC roll and pitch only.
void stabilization_attitude_read_rc_setpoint(struct AttitudeRCInput *rc_sp, bool in_flight, bool in_carefree, bool coordinated_turn, struct RadioControl *rc)
Read attitude setpoint from RC as quaternion Interprets the stick positions as axes.
float care_free_heading
care_free heading
struct Int32Eulers stabilization_attitude_read_rc_setpoint_eulers(struct AttitudeRCInput *rc_sp, bool in_flight, bool in_carefree, bool coordinated_turn, struct RadioControl *rc)
Read attitude setpoint from RC as euler angles Only the euler format is updated and returned.
float transition_theta_offset
pitch offset for hybrids, add when in forward mode
struct FloatEulers stabilization_attitude_read_rc_setpoint_eulers_f(struct AttitudeRCInput *rc_sp, bool in_flight, bool in_carefree, bool coordinated_turn, struct RadioControl *rc)
Read attitude setpoint from RC as float euler angles Only the euler format is updated and returned.
float stabilization_attitude_get_heading_f(void)
Get attitude heading as float (avoiding jumps)
int int32_t
Typedef defining 32 bit int type.