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:
Marco Hauswirth
2026-02-12 16:10:31 +01:00
parent ec278758ed
commit af9f9ee030
6 changed files with 29 additions and 6 deletions
+1
View File
@@ -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
+23
View File
@@ -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
-1
View File
@@ -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