Go to the documentation of this file.
5 #pragma warning(disable : 4996)
17 #include <boost/cstdint.hpp>
32 bool pushIntoFifo(
double curTimeStamp, uint32_t curtick);
37 bool getDemoFileData(std::string fileName, std::vector<uint32_t> &tickVec, std::vector<uint32_t> &secVec,
38 std::vector<uint32_t> &nanoSecVec);
78 bool updatePLL(uint32_t sec, uint32_t nanoSec, uint32_t curtick);
uint32_t extrapolationDivergenceCounter
class SoftwarePLL implements synchronisation between ticks and timestamp. See https://github....
double AllowedTimeDeviation() const
bool getDemoFileData(std::string fileName, std::vector< uint32_t > &tickVec, std::vector< uint32_t > &secVec, std::vector< uint32_t > &nanoSecVec)
bool updatePLL(uint32_t sec, uint32_t nanoSec, uint32_t curtick)
Updates PLL internale State should be called only with network send timestamps.
double extraPolateRelativeTimeStamp(uint32_t tick)
static SoftwarePLL & instance()
uint64_t FirstTick() const
bool getCorrectedTimeStamp(uint32_t &sec, uint32_t &nanoSec, uint32_t tick)
void AllowedTimeDeviation(double val)
double dClockDiffFeedBack
void InterpolationSlope(double val)
bool pushIntoFifo(double curTimeStamp, uint32_t curtick)
double mostRecentTimeStamp
void ExtrapolationDivergenceCounter(uint32_t val)
static const uint32_t MaxExtrapolationCounter
uint32_t mostRecentNanoSec
SoftwarePLL & operator=(const SoftwarePLL &)
void FirstTimeStamp(double val)
double lastValidTimeStamp
double allowedTimeDeviation
uint32_t ExtrapolationDivergenceCounter() const
uint32_t tickFifo[fifoSize]
double clockFifo[fifoSize]
double FirstTimeStamp() const
static const double MaxAllowedTimeDeviation
void FirstTick(uint64_t val)
bool nearSameTimeStamp(double relTimeStamp1, double relTimeStamp2)
bool IsInitialized() const
bool updateInterpolationSlope()
double interpolationSlope
int findDiffInFifo(double diff, double tol)
static const int fifoSize
void IsInitialized(bool val)
double InterpolationSlope() const
sick_scan
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19