PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <position_setpoint.h>
Public Attributes | |
uint64_t | timestamp |
double | lat |
double | lon |
float | x |
float | y |
float | z |
float | vx |
float | vy |
float | vz |
float | alt |
float | yaw |
float | yawspeed |
float | loiter_radius |
float | pitch_min |
float | a_x |
float | a_y |
float | a_z |
float | acceptance_radius |
float | cruising_speed |
float | cruising_throttle |
bool | valid |
uint8_t | type |
bool | position_valid |
bool | velocity_valid |
uint8_t | velocity_frame |
bool | alt_valid |
bool | yaw_valid |
bool | yawspeed_valid |
int8_t | landing_gear |
int8_t | loiter_direction |
bool | acceleration_valid |
bool | acceleration_is_force |
bool | allow_weather_vane |
uint8_t | _padding0 [7] |
Definition at line 61 of file position_setpoint.h.
uint8_t position_setpoint_s::_padding0[7] |
Definition at line 96 of file position_setpoint.h.
float position_setpoint_s::a_x |
Definition at line 77 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal().
float position_setpoint_s::a_y |
Definition at line 78 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal().
float position_setpoint_s::a_z |
Definition at line 79 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal().
bool position_setpoint_s::acceleration_is_force |
Definition at line 94 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal().
bool position_setpoint_s::acceleration_valid |
Definition at line 93 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal().
float position_setpoint_s::acceptance_radius |
Definition at line 80 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), and Navigator::run().
bool position_setpoint_s::allow_weather_vane |
Definition at line 95 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), and Mission::set_mission_items().
float position_setpoint_s::alt |
Definition at line 72 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), FlightTaskAuto::_isFinite(), vmount::InputMavlinkROI::_read_control_data_from_position_setpoint_sub(), Mission::altitude_sp_foh_update(), FixedwingPositionControl::control_landing(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), FixedwingPositionControl::get_waypoint_heading_distance(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), PrecLand::on_activation(), Mission::position_setpoint_equal(), Loiter::reposition(), RoverPositionControl::run(), Navigator::run(), FixedwingPositionControl::Run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), PrecLand::run_state_search(), MavlinkStreamUTMGlobalPosition::send(), MavlinkStreamPositionTargetGlobalInt::send(), MissionBlock::set_loiter_item(), Mission::set_mission_items(), Takeoff::set_takeoff_position(), PrecLand::switch_to_state_fallback(), and PrecLand::switch_to_state_search().
bool position_setpoint_s::alt_valid |
Definition at line 88 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal().
float position_setpoint_s::cruising_speed |
Definition at line 81 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), Mission::cruising_speed_sp_update(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), and Navigator::run().
float position_setpoint_s::cruising_throttle |
Definition at line 82 of file position_setpoint.h.
Referenced by RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), and Navigator::run().
int8_t position_setpoint_s::landing_gear |
Definition at line 91 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets().
double position_setpoint_s::lat |
Definition at line 64 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), FlightTaskAuto::_isFinite(), vmount::InputMavlinkROI::_read_control_data_from_position_setpoint_sub(), FixedwingPositionControl::control_landing(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), Mission::generate_waypoint_from_heading(), FixedwingPositionControl::get_waypoint_heading_distance(), Mission::heading_sp_update(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), PrecLand::on_activation(), Land::on_active(), Mission::position_setpoint_equal(), Loiter::reposition(), RoverPositionControl::run(), Navigator::run(), FixedwingPositionControl::Run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), PrecLand::run_state_start(), MavlinkStreamUTMGlobalPosition::send(), MavlinkStreamPositionTargetGlobalInt::send(), MissionBlock::set_loiter_item(), Mission::set_mission_items(), Takeoff::set_takeoff_position(), PrecLand::slewrate(), FixedwingPositionControl::status_publish(), and PrecLand::switch_to_state_fallback().
int8_t position_setpoint_s::loiter_direction |
Definition at line 92 of file position_setpoint.h.
Referenced by FixedwingPositionControl::control_position(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), and Navigator::run().
float position_setpoint_s::loiter_radius |
Definition at line 75 of file position_setpoint.h.
Referenced by RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), and Navigator::run().
double position_setpoint_s::lon |
Definition at line 65 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), FlightTaskAuto::_isFinite(), vmount::InputMavlinkROI::_read_control_data_from_position_setpoint_sub(), FixedwingPositionControl::control_landing(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), Mission::generate_waypoint_from_heading(), FixedwingPositionControl::get_waypoint_heading_distance(), Mission::heading_sp_update(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), PrecLand::on_activation(), Land::on_active(), Mission::position_setpoint_equal(), Loiter::reposition(), RoverPositionControl::run(), Navigator::run(), FixedwingPositionControl::Run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), PrecLand::run_state_start(), MavlinkStreamUTMGlobalPosition::send(), MavlinkStreamPositionTargetGlobalInt::send(), MissionBlock::set_loiter_item(), Mission::set_mission_items(), Takeoff::set_takeoff_position(), PrecLand::slewrate(), FixedwingPositionControl::status_publish(), and PrecLand::switch_to_state_fallback().
float position_setpoint_s::pitch_min |
Definition at line 76 of file position_setpoint.h.
Referenced by FixedwingPositionControl::control_takeoff(), MissionBlock::mission_item_to_position_setpoint(), and Mission::position_setpoint_equal().
bool position_setpoint_s::position_valid |
Definition at line 85 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal(), and FollowTarget::update_position_sp().
uint64_t position_setpoint_s::timestamp |
Definition at line 63 of file position_setpoint.h.
Referenced by MissionBlock::mission_item_to_position_setpoint(), PrecLand::on_activation(), and Navigator::run().
uint8_t position_setpoint_s::type |
Definition at line 84 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), Navigator::abort_landing(), Mission::altitude_sp_foh_update(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), Mission::copy_position_if_valid(), Mission::generate_waypoint_from_heading(), Navigator::get_altitude_acceptance_radius(), FixedwingPositionControl::handle_command(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), Loiter::reposition(), FixedwingPositionControl::reset_landing_state(), Navigator::run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), MavlinkStreamExtendedSysState::send(), Loiter::set_loiter_position(), Mission::set_mission_items(), PrecLand::switch_to_state_fallback(), PrecLand::switch_to_state_search(), PrecLand::switch_to_state_start(), Standard::update_mc_state(), and FollowTarget::update_position_sp().
bool position_setpoint_s::valid |
Definition at line 83 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), Navigator::abort_landing(), Mission::altitude_sp_foh_update(), FixedwingPositionControl::control_landing(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), Mission::cruising_speed_sp_update(), Navigator::get_altitude_acceptance_radius(), FixedwingPositionControl::get_waypoint_heading_distance(), FixedwingPositionControl::handle_command(), Mission::heading_sp_update(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), Land::on_activation(), Loiter::on_activation(), NavigatorMode::on_activation(), PrecLand::on_activation(), Takeoff::on_active(), Loiter::on_active(), Mission::position_setpoint_equal(), Loiter::reposition(), Navigator::reset_triplets(), Navigator::run(), MavlinkStreamUTMGlobalPosition::send(), MavlinkStreamPositionTargetGlobalInt::send(), MavlinkStreamExtendedSysState::send(), Mission::set_current_mission_index(), DataLinkLoss::set_dll_item(), EngineFailure::set_ef_item(), GpsFailure::set_gpsf_item(), MissionBlock::set_loiter_item(), Loiter::set_loiter_position(), Mission::set_mission_items(), RCLoss::set_rcl_item(), RTL::set_rtl_item(), Takeoff::set_takeoff_position(), Standard::update_mc_state(), and FollowTarget::update_position_sp().
uint8_t position_setpoint_s::velocity_frame |
Definition at line 87 of file position_setpoint.h.
Referenced by RoverPositionControl::control_velocity(), and Mission::position_setpoint_equal().
bool position_setpoint_s::velocity_valid |
Definition at line 86 of file position_setpoint.h.
Referenced by FlightTaskAuto::_getTargetVelocityXY(), Mission::position_setpoint_equal(), Loiter::reposition(), Loiter::set_loiter_position(), and FollowTarget::update_position_sp().
float position_setpoint_s::vx |
Definition at line 69 of file position_setpoint.h.
Referenced by FlightTaskAuto::_getTargetVelocityXY(), RoverPositionControl::control_velocity(), Mission::position_setpoint_equal(), and FollowTarget::update_position_sp().
float position_setpoint_s::vy |
Definition at line 70 of file position_setpoint.h.
Referenced by FlightTaskAuto::_getTargetVelocityXY(), RoverPositionControl::control_velocity(), Mission::position_setpoint_equal(), and FollowTarget::update_position_sp().
float position_setpoint_s::vz |
Definition at line 71 of file position_setpoint.h.
Referenced by RoverPositionControl::control_velocity(), and Mission::position_setpoint_equal().
float position_setpoint_s::x |
Definition at line 66 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal(), RoverPositionControl::run(), and FixedwingPositionControl::Run().
float position_setpoint_s::y |
Definition at line 67 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal(), RoverPositionControl::run(), and FixedwingPositionControl::Run().
float position_setpoint_s::yaw |
Definition at line 73 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), Mission::generate_waypoint_from_heading(), Mission::heading_sp_update(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), Loiter::reposition(), Navigator::run(), Mission::set_mission_items(), and Takeoff::set_takeoff_position().
bool position_setpoint_s::yaw_valid |
Definition at line 89 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), Mission::heading_sp_update(), MissionBlock::mission_item_to_position_setpoint(), Mission::position_setpoint_equal(), Navigator::run(), and Takeoff::set_takeoff_position().
float position_setpoint_s::yawspeed |
Definition at line 74 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), Mission::position_setpoint_equal(), and FollowTarget::update_position_sp().
bool position_setpoint_s::yawspeed_valid |
Definition at line 90 of file position_setpoint.h.
Referenced by FlightTaskAuto::_evaluateTriplets(), Mission::position_setpoint_equal(), and FollowTarget::update_position_sp().
float position_setpoint_s::z |
Definition at line 68 of file position_setpoint.h.
Referenced by Mission::position_setpoint_equal(), RoverPositionControl::run(), and FixedwingPositionControl::Run().