PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <vehicle_control_mode.h>
Public Attributes | |
uint64_t | timestamp |
bool | flag_armed |
bool | flag_external_manual_override_ok |
bool | flag_control_manual_enabled |
bool | flag_control_auto_enabled |
bool | flag_control_offboard_enabled |
bool | flag_control_rates_enabled |
bool | flag_control_attitude_enabled |
bool | flag_control_yawrate_override_enabled |
bool | flag_control_rattitude_enabled |
bool | flag_control_force_enabled |
bool | flag_control_acceleration_enabled |
bool | flag_control_velocity_enabled |
bool | flag_control_position_enabled |
bool | flag_control_altitude_enabled |
bool | flag_control_climb_rate_enabled |
bool | flag_control_termination_enabled |
bool | flag_control_fixed_hdg_enabled |
uint8_t | _padding0 [7] |
Definition at line 51 of file vehicle_control_mode.h.
uint8_t vehicle_control_mode_s::_padding0[7] |
Definition at line 71 of file vehicle_control_mode.h.
bool vehicle_control_mode_s::flag_armed |
Definition at line 54 of file vehicle_control_mode.h.
Referenced by DfLtc2946Wrapper::_publish(), VtolType::can_transition_on_ground(), VtolType::check_quadchute_condition(), FixedwingPositionControl::control_takeoff(), FixedwingPositionControl::reset_takeoff_state(), MulticopterRateControl::Run(), MulticopterPositionControl::Run(), and FixedwingPositionControl::vehicle_control_mode_poll().
bool vehicle_control_mode_s::flag_control_acceleration_enabled |
Definition at line 64 of file vehicle_control_mode.h.
Referenced by FixedwingPositionControl::Run(), and MulticopterPositionControl::start_flight_task().
bool vehicle_control_mode_s::flag_control_altitude_enabled |
Definition at line 67 of file vehicle_control_mode.h.
Referenced by VtolType::check_quadchute_condition(), FixedwingPositionControl::control_position(), MulticopterRateControl::Run(), FixedwingPositionControl::Run(), MulticopterPositionControl::start_flight_task(), FixedwingPositionControl::tecs_update_pitch_throttle(), and VtolType::update_fw_state().
bool vehicle_control_mode_s::flag_control_attitude_enabled |
Definition at line 60 of file vehicle_control_mode.h.
Referenced by MulticopterRateControl::Run(), FixedwingAttitudeControl::Run(), RoverPositionControl::run(), FixedwingAttitudeControl::vehicle_control_mode_poll(), and FixedwingAttitudeControl::vehicle_manual_poll().
bool vehicle_control_mode_s::flag_control_auto_enabled |
Definition at line 57 of file vehicle_control_mode.h.
Referenced by FixedwingAttitudeControl::control_flaps(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), FixedwingPositionControl::handle_command(), FixedwingAttitudeControl::Run(), MavlinkStreamExtendedSysState::send(), MulticopterPositionControl::start_flight_task(), and FixedwingPositionControl::tecs_update_pitch_throttle().
bool vehicle_control_mode_s::flag_control_climb_rate_enabled |
Definition at line 68 of file vehicle_control_mode.h.
Referenced by land_detector::MulticopterLandDetector::_has_minimal_thrust(), land_detector::MulticopterLandDetector::_is_climb_rate_enabled(), MulticopterPositionControl::Run(), MulticopterPositionControl::start_flight_task(), and FixedwingAttitudeControl::vehicle_manual_poll().
bool vehicle_control_mode_s::flag_control_fixed_hdg_enabled |
Definition at line 70 of file vehicle_control_mode.h.
bool vehicle_control_mode_s::flag_control_force_enabled |
Definition at line 63 of file vehicle_control_mode.h.
bool vehicle_control_mode_s::flag_control_manual_enabled |
Definition at line 56 of file vehicle_control_mode.h.
Referenced by FixedwingAttitudeControl::control_flaps(), VtolAttitudeControl::is_fixed_wing_requested(), MulticopterRateControl::Run(), FixedwingAttitudeControl::Run(), RoverPositionControl::run(), MulticopterPositionControl::Run(), VtolAttitudeControl::Run(), FixedwingPositionControl::Run(), FixedwingAttitudeControl::vehicle_control_mode_poll(), and FixedwingAttitudeControl::vehicle_manual_poll().
bool vehicle_control_mode_s::flag_control_offboard_enabled |
Definition at line 58 of file vehicle_control_mode.h.
Referenced by RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), RoverPositionControl::run(), FixedwingPositionControl::Run(), FixedwingPositionControl::tecs_update_pitch_throttle(), and FixedwingAttitudeControl::vehicle_manual_poll().
bool vehicle_control_mode_s::flag_control_position_enabled |
Definition at line 66 of file vehicle_control_mode.h.
Referenced by FixedwingPositionControl::control_position(), MulticopterRateControl::Run(), MulticopterPositionControl::Run(), RoverPositionControl::run(), FixedwingPositionControl::Run(), MavlinkStreamPositionTargetGlobalInt::send(), MulticopterPositionControl::start_flight_task(), and Standard::update_mc_state().
bool vehicle_control_mode_s::flag_control_rates_enabled |
Definition at line 59 of file vehicle_control_mode.h.
Referenced by MulticopterRateControl::Run(), FixedwingAttitudeControl::Run(), and FixedwingAttitudeControl::vehicle_manual_poll().
bool vehicle_control_mode_s::flag_control_rattitude_enabled |
Definition at line 62 of file vehicle_control_mode.h.
Referenced by MulticopterRateControl::Run(), and FixedwingAttitudeControl::vehicle_manual_poll().
bool vehicle_control_mode_s::flag_control_termination_enabled |
Definition at line 69 of file vehicle_control_mode.h.
Referenced by MulticopterRateControl::Run(), and FixedwingAttitudeControl::Run().
bool vehicle_control_mode_s::flag_control_velocity_enabled |
Definition at line 65 of file vehicle_control_mode.h.
Referenced by FixedwingPositionControl::control_position(), MulticopterRateControl::Run(), RoverPositionControl::run(), FixedwingPositionControl::Run(), MulticopterPositionControl::start_flight_task(), and FixedwingPositionControl::tecs_update_pitch_throttle().
bool vehicle_control_mode_s::flag_control_yawrate_override_enabled |
Definition at line 61 of file vehicle_control_mode.h.
bool vehicle_control_mode_s::flag_external_manual_override_ok |
Definition at line 55 of file vehicle_control_mode.h.
Referenced by PX4IO::io_set_arming_state().
uint64_t vehicle_control_mode_s::timestamp |
Definition at line 53 of file vehicle_control_mode.h.
Referenced by Commander::update_control_mode().