26 #ifndef ROTWING_STATE_H
27 #define ROTWING_STATE_H
33 #define ROTWING_STATE_HOVER 0
34 #define ROTWING_STATE_SKEWING 1
35 #define ROTWING_STATE_FW 2
36 #define ROTWING_STATE_FW_HOV_MOT_IDLE 3
37 #define ROTWING_STATE_FW_HOV_MOT_OFF 4
38 #define ROTWING_STATE_FREE 5
42 #define ROTWING_CONFIGURATION_HOVER 0
43 #define ROTWING_CONFIGURATION_HYBRID 1
44 #define ROTWING_CONFIGURATION_EFFICIENT 2
45 #define ROTWING_CONFIGURATION_FREE 3
53 #define ROTWING_STATE_WING_QUAD_SETTING 0
54 #define ROTWING_STATE_WING_SCHEDULING_SETTING 1
55 #define ROTWING_STATE_WING_FW_SETTING 2
57 #define ROTWING_STATE_PITCH_QUAD_SETTING 0
58 #define ROTWING_STATE_PITCH_TRANSITION_SETTING 1
59 #define ROTWING_STATE_PITCH_FW_SETTING 2
void init_rotwing_state(void)
struct RotWingStateSettings rotwing_state_settings
bool force_rotation_angle
uint8_t preferred_pitch_setting
bool hover_motors_disable
void rotwing_state_skew_actuator_periodic(void)
void request_rotwing_state(uint8_t state)
void rotwing_state_force_skew_off(void)
struct RotwingState rotwing_state
float rotwing_state_max_hover_speed
struct RotWingStateSkewing rotwing_state_skewing
float preferred_pitch_value
bool bool_disable_hover_motors
void rotwing_request_configuration(uint8_t configuration)
void periodic_rotwing_state(void)
int int32_t
Typedef defining 32 bit int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.