Skip to content

RangingBeacon (UORB message)

Ranging beacon measurement data (e.g. LoRa, UWB).

TOPICS: ranging_beacon

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64ustime since system start
timestamp_sampleuint64usthe timestamp of the raw data
beacon_iduint8
rangefloat32mRange measurement
latfloat64degLatitude
lonfloat64degLongitude
altfloat32mBeacon altitude (frame defined in alt_type)
alt_typeuint8ALT_TYPEAltitude frame for alt field
haccfloat32mGroundbeacon horizontal accuracy
vaccfloat32mGroundbeacon vertical accuracy
sequence_nruint8
statusuint8
carrier_frequint16MHzCarrier frequency
range_accuracyfloat32mRange accuracy estimate

Enums

ALT_TYPE

NameTypeValueDescription
ALT_TYPE_WGS84uint80Altitude above WGS84 ellipsoid
ALT_TYPE_MSLuint81Altitude above Mean Sea Level (AMSL)

Source Message

Source file (GitHub)

Click here to see original file
c
# Ranging beacon measurement data (e.g. LoRa, UWB)

uint64 timestamp                # [us] time since system start
uint64 timestamp_sample         # [us] the timestamp of the raw data
uint8 beacon_id
float32 range                   # [m] Range measurement

float64 lat                     # [deg] Latitude
float64 lon                     # [deg] Longitude
float32 alt                     # [m] Beacon altitude (frame defined in alt_type)
uint8 alt_type                  # [@enum ALT_TYPE] Altitude frame for alt field
uint8 ALT_TYPE_WGS84 = 0        # Altitude above WGS84 ellipsoid
uint8 ALT_TYPE_MSL   = 1        # Altitude above Mean Sea Level (AMSL)

float32 hacc                    # [m] Groundbeacon horizontal accuracy
float32 vacc                    # [m] Groundbeacon vertical accuracy

uint8 sequence_nr
uint8 status
uint16 carrier_freq             # [MHz] Carrier frequency
float32 range_accuracy          # [m] Range accuracy estimate


# TOPICS ranging_beacon