PX4 Firmware
PX4 Autopilot Software http://px4.io
vehicle_global_position_s Struct Reference

#include <vehicle_global_position.h>

Collaboration diagram for vehicle_global_position_s:

Public Attributes

uint64_t timestamp
 
double lat
 
double lon
 
float alt
 
float alt_ellipsoid
 
float delta_alt
 
float vel_n
 
float vel_e
 
float vel_d
 
float yaw
 
float eph
 
float epv
 
float terrain_alt
 
uint8_t lat_lon_reset_counter
 
uint8_t alt_reset_counter
 
bool terrain_alt_valid
 
bool dead_reckoning
 
uint8_t _padding0 [4]
 

Detailed Description

Definition at line 51 of file vehicle_global_position.h.

Member Data Documentation

◆ _padding0

uint8_t vehicle_global_position_s::_padding0[4]

Definition at line 70 of file vehicle_global_position.h.

◆ alt

float vehicle_global_position_s::alt

Definition at line 56 of file vehicle_global_position.h.

Referenced by vmount::OutputBase::_calculate_pitch(), Geofence::_updateFence(), RTL::calculate_return_alt_from_cone_half_angle(), Mission::calculate_takeoff_altitude(), Navigator::check_traffic(), FixedwingPositionControl::control_landing(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), Mission::do_abort_landing(), Mission::do_need_vertical_takeoff(), Navigator::fake_traffic(), frsky_send_frame2(), FixedwingPositionControl::in_takeoff_situation(), Mission::index_closest_mission_item(), MissionBlock::is_mission_item_reached(), MissionBlock::mission_item_to_position_setpoint(), PrecLand::on_activation(), RTL::on_activation(), Sih::publish_sih(), BlockLocalPositionEstimator::publishGlobalPos(), Loiter::reposition(), Ekf2::Run(), Navigator::run(), FixedwingPositionControl::Run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), PrecLand::run_state_search(), MavlinkStreamUTMGlobalPosition::send(), Commander::set_home_position(), MissionBlock::set_loiter_item(), Mission::set_mission_items(), RCLoss::set_rcl_item(), RTL::set_rtl_item(), Takeoff::set_takeoff_position(), PrecLand::switch_to_state_fallback(), PrecLand::switch_to_state_horizontal_approach(), CameraFeedback::task_main(), FixedwingPositionControl::tecs_update_pitch_throttle(), FixedwingPositionControl::update_desired_altitude(), and MavlinkStreamHighLatency2::write_global_position().

◆ alt_ellipsoid

float vehicle_global_position_s::alt_ellipsoid

Definition at line 57 of file vehicle_global_position.h.

Referenced by Ekf2::Run(), and MavlinkStreamUTMGlobalPosition::send().

◆ alt_reset_counter

uint8_t vehicle_global_position_s::alt_reset_counter

Definition at line 67 of file vehicle_global_position.h.

Referenced by FixedwingPositionControl::Run().

◆ dead_reckoning

bool vehicle_global_position_s::dead_reckoning

◆ delta_alt

float vehicle_global_position_s::delta_alt

Definition at line 58 of file vehicle_global_position.h.

Referenced by Ekf2::Run(), and FixedwingPositionControl::Run().

◆ eph

◆ epv

◆ lat

double vehicle_global_position_s::lat

Definition at line 54 of file vehicle_global_position.h.

Referenced by vmount::OutputBase::_calculate_pitch(), vmount::OutputBase::_handle_position_update(), Geofence::_updateFence(), Mission::altitude_sp_foh_update(), RTL::calculate_return_alt_from_cone_half_angle(), Navigator::check_traffic(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), Mission::do_need_move_to_land(), Mission::do_need_move_to_takeoff(), RTL::find_RTL_destination(), frsky_send_frame2(), Mission::generate_waypoint_from_heading(), FixedwingPositionControl::get_waypoint_heading_distance(), Mission::heading_sp_update(), Mission::index_closest_mission_item(), MissionBlock::is_mission_item_reached(), PrecLand::on_activation(), Land::on_active(), FollowTarget::on_active(), Sih::publish_sih(), BlockLocalPositionEstimator::publishGlobalPos(), Loiter::reposition(), AttitudeEstimatorQ::Run(), RoverPositionControl::run(), Ekf2::Run(), Navigator::run(), FixedwingPositionControl::Run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), PrecLand::run_state_start(), MavlinkStreamUTMGlobalPosition::send(), MavlinkStreamGlobalPositionInt::send(), Mission::set_align_mission_item(), EngineFailure::set_ef_item(), Commander::set_home_position(), MissionBlock::set_loiter_item(), Mission::set_mission_items(), RCLoss::set_rcl_item(), RTL::set_rtl_item(), MissionBlock::set_takeoff_item(), FixedwingPositionControl::status_publish(), PrecLand::switch_to_state_fallback(), CameraFeedback::task_main(), and MavlinkStreamHighLatency2::write_global_position().

◆ lat_lon_reset_counter

uint8_t vehicle_global_position_s::lat_lon_reset_counter

◆ lon

double vehicle_global_position_s::lon

Definition at line 55 of file vehicle_global_position.h.

Referenced by vmount::OutputBase::_calculate_pitch(), vmount::OutputBase::_handle_position_update(), Geofence::_updateFence(), Mission::altitude_sp_foh_update(), RTL::calculate_return_alt_from_cone_half_angle(), Navigator::check_traffic(), RoverPositionControl::control_position(), FixedwingPositionControl::control_position(), FixedwingPositionControl::control_takeoff(), Mission::copy_position_if_valid(), Mission::do_need_move_to_land(), Mission::do_need_move_to_takeoff(), RTL::find_RTL_destination(), frsky_send_frame2(), Mission::generate_waypoint_from_heading(), FixedwingPositionControl::get_waypoint_heading_distance(), Mission::heading_sp_update(), Mission::index_closest_mission_item(), MissionBlock::is_mission_item_reached(), PrecLand::on_activation(), Land::on_active(), FollowTarget::on_active(), Sih::publish_sih(), BlockLocalPositionEstimator::publishGlobalPos(), Loiter::reposition(), AttitudeEstimatorQ::Run(), RoverPositionControl::run(), Ekf2::Run(), Navigator::run(), FixedwingPositionControl::Run(), PrecLand::run_state_descend_above_target(), PrecLand::run_state_horizontal_approach(), PrecLand::run_state_start(), MavlinkStreamUTMGlobalPosition::send(), MavlinkStreamGlobalPositionInt::send(), Mission::set_align_mission_item(), EngineFailure::set_ef_item(), Commander::set_home_position(), MissionBlock::set_loiter_item(), Mission::set_mission_items(), RCLoss::set_rcl_item(), RTL::set_rtl_item(), MissionBlock::set_takeoff_item(), FixedwingPositionControl::status_publish(), PrecLand::switch_to_state_fallback(), CameraFeedback::task_main(), and MavlinkStreamHighLatency2::write_global_position().

◆ terrain_alt

◆ terrain_alt_valid

◆ timestamp

◆ vel_d

◆ vel_e

◆ vel_n

◆ yaw


The documentation for this struct was generated from the following file: