PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <home_position.h>
Public Attributes | |
uint64_t | timestamp |
double | lat |
double | lon |
float | alt |
float | x |
float | y |
float | z |
float | yaw |
bool | valid_alt |
bool | valid_hpos |
bool | manual_home |
uint8_t | _padding0 [1] |
Definition at line 51 of file home_position.h.
uint8_t home_position_s::_padding0[1] |
Definition at line 64 of file home_position.h.
float home_position_s::alt |
Definition at line 56 of file home_position.h.
Referenced by Mission::calculate_takeoff_altitude(), Geofence::checkAll(), MissionFeasibilityChecker::checkMissionFeasible(), RTL::find_RTL_destination(), MissionBlock::get_absolute_altitude_for_item(), Mission::index_closest_mission_item(), MissionBlock::is_mission_item_reached(), MissionBlock::issue_command(), MissionBlock::mission_apply_limitation(), MissionBlock::mission_item_to_position_setpoint(), MavlinkStreamGlobalPositionInt::send(), MavlinkStreamHomePosition::send(), EngineFailure::set_ef_item(), FollowTarget::set_follow_target_item(), Commander::set_home_position_alt_only(), MissionBlock::set_idle_item(), MissionBlock::set_loiter_item(), and Mission::set_mission_items().
double home_position_s::lat |
Definition at line 54 of file home_position.h.
Referenced by build_gps_response(), Geofence::checkAll(), MissionFeasibilityChecker::checkDistanceToFirstWaypoint(), RTL::find_RTL_destination(), Mission::index_closest_mission_item(), MavlinkStreamHomePosition::send(), MissionBlock::set_idle_item(), and MissionBlock::set_land_item().
double home_position_s::lon |
Definition at line 55 of file home_position.h.
Referenced by build_gps_response(), Geofence::checkAll(), MissionFeasibilityChecker::checkDistanceToFirstWaypoint(), RTL::find_RTL_destination(), Mission::index_closest_mission_item(), MavlinkStreamHomePosition::send(), MissionBlock::set_idle_item(), and MissionBlock::set_land_item().
bool home_position_s::manual_home |
Definition at line 63 of file home_position.h.
Referenced by Commander::handle_command(), and Commander::run().
uint64_t home_position_s::timestamp |
Definition at line 53 of file home_position.h.
Referenced by Commander::handle_command(), Navigator::home_alt_valid(), Navigator::home_position_valid(), MavlinkStreamGlobalPositionInt::send(), MavlinkStreamHomePosition::send(), and Commander::set_home_position().
bool home_position_s::valid_alt |
Definition at line 61 of file home_position.h.
Referenced by Navigator::home_alt_valid(), Navigator::home_position_valid(), MulticopterPositionControl::limit_altitude(), MavlinkStreamGlobalPositionInt::send(), MavlinkStreamAltitude::send(), and Commander::set_home_position_alt_only().
bool home_position_s::valid_hpos |
Definition at line 62 of file home_position.h.
Referenced by FlightTaskAuto::_set_heading_from_mode(), Navigator::home_position_valid(), and MavlinkStreamHomePosition::send().
float home_position_s::x |
Definition at line 57 of file home_position.h.
Referenced by FlightTaskAuto::_set_heading_from_mode(), Commander::run(), and MavlinkStreamHomePosition::send().
float home_position_s::y |
Definition at line 58 of file home_position.h.
Referenced by Commander::run(), and MavlinkStreamHomePosition::send().
float home_position_s::yaw |
Definition at line 60 of file home_position.h.
Referenced by RTL::find_RTL_destination(), MavlinkStreamHomePosition::send(), and MissionBlock::set_land_item().
float home_position_s::z |
Definition at line 59 of file home_position.h.
Referenced by MulticopterPositionControl::limit_altitude(), Commander::run(), MavlinkStreamGlobalPositionInt::send(), MavlinkStreamHomePosition::send(), and MavlinkStreamAltitude::send().