SatCat5
satcat5::ptp::TrackingCoarse Class Reference

Detailed Description

Bang-bang alternative to TrackingController.

Crude controller for coarse time adjustments, making no attempt at fine-tuned rate adjustment. This block is not suitable for precise timing, but it is substantially simpler than other alternatives.

See also
ptp_tracking.h TrackingController

Definition at line 201 of file ptp_tracking.h.

#include <ptp_tracking.h>

Inheritance diagram for satcat5::ptp::TrackingCoarse:
[legend]
Collaboration diagram for satcat5::ptp::TrackingCoarse:
[legend]

Public Member Functions

 TrackingCoarse (satcat5::ptp::TrackingClock *clk, satcat5::ptp::Source *source)
 Constructor links to a specific TrackingClock target.
 
void ptp_ready (const satcat5::ptp::Measurement &data) override
 Event handler for ptp::Callback.
 

Protected Attributes

satcat5::ptp::TrackingClockm_clock
 
satcat5::ptp::Source *const m_source
 

Private Attributes

satcat5::ptp::Callbackm_next
 

The documentation for this class was generated from the following files: