Skip to content

TimesyncStatus (UORB message)

TOPICS: timesync_status

Fields

参数名类型Unit [Frame]Range/Enum描述
timestampuint64time since system start (microseconds)
source_protocoluint8timesync source
remote_timestampuint64remote system timestamp (microseconds)
observed_offsetint64raw time offset directly observed from this timesync packet (microseconds)
estimated_offsetint64smoothed time offset between companion system and PX4 (microseconds)
round_trip_timeuint32round trip time of this timesync packet (microseconds)

Constants

参数名类型描述
SOURCE_PROTOCOL_UNKNOWNuint80
SOURCE_PROTOCOL_MAVLINKuint81
SOURCE_PROTOCOL_DDSuint82

Source Message

Source file (GitHub)

Details

Click here to see original file

c
uint64 timestamp			# time since system start (microseconds)

uint8 SOURCE_PROTOCOL_UNKNOWN = 0
uint8 SOURCE_PROTOCOL_MAVLINK = 1
uint8 SOURCE_PROTOCOL_DDS     = 2
uint8 source_protocol			# timesync source

uint64 remote_timestamp			# remote system timestamp (microseconds)
int64 observed_offset			# raw time offset directly observed from this timesync packet (microseconds)
int64 estimated_offset			# smoothed time offset between companion system and PX4 (microseconds)
uint32 round_trip_time			# round trip time of this timesync packet (microseconds)