PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <vehicle_gps_position.h>
Public Attributes | |
uint64_t | timestamp |
uint64_t | time_utc_usec |
int32_t | lat |
int32_t | lon |
int32_t | alt |
int32_t | alt_ellipsoid |
float | s_variance_m_s |
float | c_variance_rad |
float | eph |
float | epv |
float | hdop |
float | vdop |
int32_t | noise_per_ms |
int32_t | jamming_indicator |
float | vel_m_s |
float | vel_n_m_s |
float | vel_e_m_s |
float | vel_d_m_s |
float | cog_rad |
int32_t | timestamp_time_relative |
float | heading |
float | heading_offset |
uint8_t | fix_type |
bool | vel_ned_valid |
uint8_t | satellites_used |
uint8_t | _padding0 [5] |
Definition at line 51 of file vehicle_gps_position.h.
uint8_t vehicle_gps_position_s::_padding0[5] |
Definition at line 78 of file vehicle_gps_position.h.
int32_t vehicle_gps_position_s::alt |
Definition at line 57 of file vehicle_gps_position.h.
Referenced by build_gps_response(), Geofence::check(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsMeasure(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), CRSFTelemetry::send_gps(), Sih::send_gps(), and sPort_send_GPS_ALT().
int32_t vehicle_gps_position_s::alt_ellipsoid |
Definition at line 58 of file vehicle_gps_position.h.
Referenced by GPSDriverEmlidReach::handleErbSentence(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), Ekf2::Run(), GPS::run(), MavlinkStreamGPSRawInt::send(), and Sih::send_gps().
float vehicle_gps_position_s::c_variance_rad |
Definition at line 60 of file vehicle_gps_position.h.
Referenced by GPSDriverAshtech::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPS::run(), and MavlinkStreamGPSRawInt::send().
float vehicle_gps_position_s::cog_rad |
Definition at line 71 of file vehicle_gps_position.h.
Referenced by build_gps_response(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), CRSFTelemetry::send_gps(), and Sih::send_gps().
float vehicle_gps_position_s::eph |
Definition at line 61 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsCorrect(), BlockLocalPositionEstimator::gpsInit(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), and MavlinkStreamHighLatency2::update_gps().
float vehicle_gps_position_s::epv |
Definition at line 62 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsCorrect(), BlockLocalPositionEstimator::gpsInit(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), and MavlinkStreamHighLatency2::update_gps().
uint8_t vehicle_gps_position_s::fix_type |
Definition at line 75 of file vehicle_gps_position.h.
Referenced by build_gps_response(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), frsky_send_frame1(), px4::logger::util::get_log_time(), BlockLocalPositionEstimator::gpsInit(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), Sih::init_sensors(), TerrainEstimator::measurement_update(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), sPort_send_GPS_FIX(), and sPort_send_GPS_info().
float vehicle_gps_position_s::hdop |
Definition at line 63 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPS::run(), and MavlinkStreamGPSRawInt::send().
float vehicle_gps_position_s::heading |
Definition at line 73 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), GPS::GPS(), GPSSIM::GPSSIM(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverAshtech::handleMessage(), Sih::init_sensors(), GPS::publish(), and GPS::run().
float vehicle_gps_position_s::heading_offset |
Definition at line 74 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), GPS::GPS(), GPSSIM::GPSSIM(), MavlinkReceiver::handle_message_hil_gps(), Sih::init_sensors(), and GPS::run().
int32_t vehicle_gps_position_s::jamming_indicator |
Definition at line 66 of file vehicle_gps_position.h.
Referenced by GPSDriverUBX::payloadRxDone(), and GPSSIM::print_info().
int32_t vehicle_gps_position_s::lat |
Definition at line 55 of file vehicle_gps_position.h.
Referenced by build_gps_response(), Geofence::check(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsMeasure(), MavlinkReceiver::handle_message_hil_gps(), MavlinkReceiver::handle_message_hil_state_quaternion(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), CRSFTelemetry::send_gps(), Sih::send_gps(), and sPort_send_GPS_LAT().
int32_t vehicle_gps_position_s::lon |
Definition at line 56 of file vehicle_gps_position.h.
Referenced by build_gps_response(), Geofence::check(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsMeasure(), MavlinkReceiver::handle_message_hil_gps(), MavlinkReceiver::handle_message_hil_state_quaternion(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), CRSFTelemetry::send_gps(), Sih::send_gps(), and sPort_send_GPS_LON().
int32_t vehicle_gps_position_s::noise_per_ms |
Definition at line 65 of file vehicle_gps_position.h.
Referenced by GPSDriverUBX::payloadRxDone(), and GPSSIM::print_info().
float vehicle_gps_position_s::s_variance_m_s |
Definition at line 59 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsCorrect(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), and MavlinkStreamGPSRawInt::send().
uint8_t vehicle_gps_position_s::satellites_used |
Definition at line 77 of file vehicle_gps_position.h.
Referenced by build_gps_response(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), frsky_send_frame1(), BlockLocalPositionEstimator::gpsInit(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), CRSFTelemetry::send_gps(), sPort_send_GPS_FIX(), and sPort_send_GPS_info().
uint64_t vehicle_gps_position_s::time_utc_usec |
Definition at line 54 of file vehicle_gps_position.h.
Referenced by frsky_send_frame2(), frsky_send_frame3(), px4::logger::util::get_log_time(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), and sPort_send_GPS_TIME().
uint64_t vehicle_gps_position_s::timestamp |
Definition at line 53 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), frsky_send_frame2(), MavlinkReceiver::handle_message_hil_gps(), MavlinkReceiver::handle_message_hil_state_quaternion(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), TerrainEstimator::measurement_update(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::print_info(), GPS::print_status(), UavcanGnssBridge::process_fixx(), GPSSIM::receive(), Ekf2::Run(), GPS::run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), and Sih::send_gps().
int32_t vehicle_gps_position_s::timestamp_time_relative |
Definition at line 72 of file vehicle_gps_position.h.
Referenced by MavlinkReceiver::handle_message_hil_gps(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), and GPSDriverUBX::payloadRxDone().
float vehicle_gps_position_s::vdop |
Definition at line 64 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), Sih::init_sensors(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPS::run(), and MavlinkStreamGPSRawInt::send().
float vehicle_gps_position_s::vel_d_m_s |
Definition at line 70 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsMeasure(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), TerrainEstimator::measurement_update(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), CRSFTelemetry::send_gps(), and Sih::send_gps().
float vehicle_gps_position_s::vel_e_m_s |
Definition at line 69 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsMeasure(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), and Sih::send_gps().
float vehicle_gps_position_s::vel_m_s |
Definition at line 67 of file vehicle_gps_position.h.
Referenced by build_gps_response(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverMTK::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), px4::bst::BST::Run(), MavlinkStreamGPSRawInt::send(), MavlinkStreamGPS2Raw::send(), and Sih::send_gps().
float vehicle_gps_position_s::vel_n_m_s |
Definition at line 68 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), BlockLocalPositionEstimator::gpsMeasure(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPSSIM::receive(), GPS::run(), and Sih::send_gps().
bool vehicle_gps_position_s::vel_ned_valid |
Definition at line 76 of file vehicle_gps_position.h.
Referenced by Ekf2::fillGpsMsgWithVehicleGpsPosData(), MavlinkReceiver::handle_message_hil_gps(), GPSDriverEmlidReach::handleErbSentence(), GPSDriverAshtech::handleMessage(), GPSDriverSBF::payloadRxDone(), GPSDriverUBX::payloadRxDone(), GPS::run(), and Sih::send_gps().