128 virtual void update_vtol_state() = 0;
133 virtual void update_transition_state() = 0;
138 virtual void update_mc_state();
143 virtual void update_fw_state();
148 virtual void fill_actuator_outputs() = 0;
159 void check_quadchute_condition();
164 bool can_transition_on_ground();
176 static constexpr
const int num_outputs_max = 8;
196 bool flag_idle_mc =
false;
198 bool _pusher_active =
false;
199 float _mc_roll_weight = 1.0f;
200 float _mc_pitch_weight = 1.0f;
201 float _mc_yaw_weight = 1.0f;
202 float _mc_throttle_weight = 1.0f;
205 float _thrust_transition = 0.0f;
207 float _ra_hrate = 0.0f;
208 float _ra_hrate_sp = 0.0f;
210 bool _flag_was_in_trans_mode =
false;
214 bool _tecs_running =
false;
278 bool is_channel_set(
const int channel,
const int target);
float front_trans_timeout
struct vehicle_local_position_setpoint_s * _local_pos_sp
int32_t fw_motors_off
bitmask of all motors that should be off in fixed wing mode
struct actuator_controls_s * _actuators_mc_in
struct tecs_status_s * _tecs_status
struct vehicle_attitude_s * _v_att
High-resolution timer with callouts and timekeeping.
VtolAttitudeControl * _attc
struct actuator_controls_s * _actuators_out_0
static void parameters_update()
update all parameters
void init()
Activates/configures the hardware registers.
struct vehicle_local_position_s * _local_pos
struct actuator_controls_s * _actuators_fw_in
struct vehicle_attitude_setpoint_s * _v_att_sp
pwm_limit_type
Used to specify if min or max pwm values should be altered.
struct vehicle_attitude_setpoint_s * _mc_virtual_att_sp
struct vehicle_attitude_setpoint_s * _fw_virtual_att_sp
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
float back_trans_duration
struct vehicle_control_mode_s * _v_control_mode
float transition_airspeed
float front_trans_time_openloop
float back_trans_throttle
struct airspeed_validated_s * _airspeed_validated
struct actuator_controls_s * _actuators_out_1
Stores the max pwm values given by the system.
struct vehicle_land_detected_s * _land_detected
float front_trans_time_min
float front_trans_duration
struct vtol_vehicle_status_s * _vtol_vehicle_status
float front_trans_throttle
virtual void waiting_on_tecs()
Special handling opportunity for the time right after transition to FW before TECS is running...