int32_t psi
in rad with INT32_ANGLE_FRAC
struct ctrl_module_demo_struct ctrl
General attitude stabilization interface for rotorcrafts.
int32_t theta
in rad with INT32_ANGLE_FRAC
void guidance_h_module_read_rc(void)
bool in_flight
in flight status
Read an attitude setpoint from the RC.
void stabilization_attitude_run(bool in_flight)
struct pprz_autopilot autopilot
Global autopilot structure.
void stabilization_attitude_set_rpy_setpoint_i(struct Int32Eulers *rpy)
void guidance_h_module_enter(void)
void guidance_h_module_run(bool in_flight)
#define ANGLE_BFP_OF_REAL(_af)
Core autopilot interface common to all firmwares.
int32_t phi
in rad with INT32_ANGLE_FRAC
API to get/set the generic vehicle states.
General stabilization interface for rotorcrafts.
void stabilization_attitude_read_rc_setpoint_eulers(struct Int32Eulers *sp, bool in_flight, bool in_carefree, bool coordinated_turn)
Read attitude setpoint from RC as euler angles.
void guidance_h_module_init(void)
static struct Int32Eulers * stateGetNedToBodyEulers_i(void)
Get vehicle body attitude euler angles (int).