59 #include <px4_platform_common/px4_config.h> 60 #include <px4_platform_common/defines.h> 61 #include <px4_platform_common/module.h> 62 #include <px4_platform_common/posix.h> 63 #include <px4_platform_common/px4_work_queue/WorkItem.hpp> 103 static int print_usage(
const char *reason =
nullptr);
__EXPORT int vtol_att_control_main(int argc, char *argv[])
struct vehicle_attitude_setpoint_s * get_mc_virtual_att_sp()
uORB::Publication< actuator_controls_s > _actuators_1_pub
vehicle_land_detected_s _land_detected
param_t transition_airspeed
uORB::Subscription _parameter_update_sub
vehicle_attitude_s _v_att
uORB::Subscription _mc_virtual_att_sp_sub
Definition of geo / math functions to perform geodesic calculations.
uORB::SubscriptionCallbackWorkItem _actuator_inputs_fw
actuator_controls_s _actuators_out_1
uORB::Subscription _pos_sp_triplet_sub
uORB::Publication< vtol_vehicle_status_s > _vtol_vehicle_status_pub
vehicle_attitude_setpoint_s _fw_virtual_att_sp
perf_counter_t _loop_perf
loop performance counter
struct vehicle_attitude_setpoint_s * get_fw_virtual_att_sp()
High-resolution timer with callouts and timekeeping.
param_t front_trans_time_min
struct vehicle_land_detected_s * get_land_detected()
actuator_controls_s _actuators_fw_in
Global flash based parameter store.
vehicle_attitude_setpoint_s _mc_virtual_att_sp
struct vehicle_local_position_s * get_local_pos()
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
uORB::Subscription _land_detected_sub
param_t back_trans_throttle
static int custom_command(int argc, char *argv[])
vehicle_attitude_setpoint_s _v_att_sp
vtol_vehicle_status_s _vtol_vehicle_status
uORB::Subscription _local_pos_sub
int print_status() override
struct vehicle_local_position_setpoint_s * get_local_pos_sp()
uORB::Subscription _tecs_status_sub
uORB::Publication< actuator_controls_s > _actuators_0_pub
airspeed_validated_s _airspeed_validated
uORB::Subscription _airspeed_validated_sub
actuator_controls_s _actuators_mc_in
struct VtolAttitudeControl::@145 _params_handles
struct vehicle_attitude_setpoint_s * get_att_sp()
vehicle_command_s _vehicle_cmd
param_t front_trans_duration
struct vtol_vehicle_status_s * get_vtol_vehicle_status()
__BEGIN_DECLS typedef void * orb_advert_t
ORB topic advertiser handle.
manual_control_setpoint_s _manual_control_sp
struct actuator_controls_s * get_actuators_out1()
static int task_spawn(int argc, char *argv[])
struct actuator_controls_s * get_actuators_mc_in()
bool _abort_front_transition
struct vehicle_control_mode_s * get_control_mode()
struct Params * get_params()
vehicle_local_position_setpoint_s _local_pos_sp
struct actuator_controls_s * get_actuators_out0()
uORB::Subscription _fw_virtual_att_sp_sub
void vehicle_cmd_poll()
Check for command updates.
struct actuator_controls_s * get_actuators_fw_in()
uORB::Subscription _vehicle_cmd_sub
vehicle_local_position_s _local_pos
uORB::Subscription _manual_control_sp_sub
vehicle_control_mode_s _v_control_mode
struct vehicle_attitude_s * get_att()
struct tecs_status_s * get_tecs_status()
uORB::SubscriptionCallbackWorkItem _actuator_inputs_mc
param_t front_trans_timeout
orb_advert_t _mavlink_log_pub
uORB::Subscription _local_pos_sp_sub
param_t front_trans_throttle
position_setpoint_triplet_s _pos_sp_triplet
uORB::Subscription _v_att_sub
param_t diff_thrust_scale
struct position_setpoint_triplet_s * get_pos_sp_triplet()
void handle_command()
Check received command.
actuator_controls_s _actuators_out_0
void abort_front_transition(const char *reason)
uORB::Subscription _v_control_mode_sub
param_t front_trans_time_openloop
bool is_fixed_wing_requested()
param_t vtol_fw_permanent_stab
param_t back_trans_duration
tecs_status_s _tecs_status
VTOL with fixed multirotor motor configurations (such as quad) and a pusher (or puller aka tractor) m...
uint32_t param_t
Parameter handle.
struct airspeed_validated_s * get_airspeed()
static int print_usage(const char *reason=nullptr)
Performance measuring tools.
uORB::Publication< vehicle_attitude_setpoint_s > _v_att_sp_pub