Radio Time Observer

This section contains a description of the SkydelRadioTimeObserverInterface supported by Skydel.

Radio Time

During simulation initialization, Skydel will ask for a SkydelRuntimeRadioTimeObserver* from every plug-in via the createRuntimeRadioTimeObserver method. It is mandatory to give full ownership of the returned pointer to Skydel.

During simulation, Skydel will send an estimate of the radio time at 1000 Hz via the pushRadioTime method with the following data structure:

Helper Functions

getDeadline(int64_t elapsedMs, const RadioTimeEstimate& recentEstimate)

Returns an operating system time_point for when the RF corresponding to the given elapsedMsis expected to be broadcast from the radio.

This same deadline can be used in conjunction with the DelayedBroadcaster in the given example to broadcast a UDP packet at the same time as the RF.

microsecondsUntilRadioTransmission(int64_t elapsedMs, const RadioTimeEstimate& recentEstimate)

Returns an integer number of microseconds until RF corresponding to the given elapsedMs is expected to be broadcast from the radio.

Dynamic User Interface

Same as SkydelPositionObsereverInterface; see here for more detail.

Example

See the plug-in example radio_time_observer_plugin for more information. It covers:

  • Receiving the radio time data in real time

  • Updating the user interface

  • Synchronizing multiple types of real time data

  • Synchronizing real time data with RF transmission

Last updated