mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 01:03:34 +08:00
uorb: add AuxGlobalPosition message
Add dedicated message type for auxiliary global position sources. Separates aux_global_position from VehicleGlobalPosition topic. Includes source field for identifying position source type.
This commit is contained in:
@@ -248,6 +248,7 @@ set(msg_files
|
||||
versioned/AirspeedValidated.msg
|
||||
versioned/ArmingCheckReply.msg
|
||||
versioned/ArmingCheckRequest.msg
|
||||
versioned/AuxGlobalPosition.msg
|
||||
versioned/BatteryStatus.msg
|
||||
versioned/ConfigOverrides.msg
|
||||
versioned/FixedWingLateralSetpoint.msg
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# Auxiliary global position
|
||||
|
||||
# This message provides global position data from an external source such as
|
||||
# pseudolites, viusal navigation, or other positioning system.
|
||||
|
||||
uint32 MESSAGE_VERSION = 0
|
||||
|
||||
uint64 timestamp # [us] Time since system start
|
||||
uint64 timestamp_sample # [us] Timestamp of the raw data
|
||||
|
||||
uint8 id # Unique identifier for the AGP source
|
||||
uint8 source # 0: Unkown, 1: GNSS, 2: Vision, 3: Pseudolites, 4: Terrain, 5: Magnetic, 6: Estimator
|
||||
|
||||
float64 lat # [deg] Latitude in WGS84
|
||||
float64 lon # [deg] Longitude in WGS84
|
||||
float32 alt # [m] Altitude above mean sea level (AMSL)
|
||||
|
||||
float32 eph # [m] Standard deviation of horizontal position error
|
||||
float32 epv # [m] Standard deviation of vertical position error
|
||||
|
||||
uint8 lat_lon_reset_counter # Counter for reset events on horizontal position coordinates
|
||||
|
||||
# TOPICS aux_global_position
|
||||
@@ -34,4 +34,3 @@ bool dead_reckoning # True if this position is estimated through dead-reckoning
|
||||
|
||||
# TOPICS vehicle_global_position vehicle_global_position_groundtruth external_ins_global_position
|
||||
# TOPICS estimator_global_position
|
||||
# TOPICS aux_global_position
|
||||
|
||||
Reference in New Issue
Block a user