Go to the documentation of this file.
6 #pragma warning(disable : 4996)
33 bool pushIntoFifo(
double curTimeStamp, uint64_t curtick);
42 bool getDemoFileData(std::string fileName, std::vector<uint32_t> &tickVec, std::vector<uint32_t> &secVec,
43 std::vector<uint32_t> &nanoSecVec);
96 bool updatePLL(uint32_t
sec, uint32_t nanoSec, uint32_t curtick);
97 bool updatePLL(uint32_t
sec, uint32_t nanoSec, uint64_t curtick);
144 bool nearSameTimeStamp(
double relTimeStamp1,
double relTimeStamp2,
double& delta_time_abs);
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)
double max_abs_delta_time
static SoftwarePLL & instance()
uint64_t FirstTick() const
TICKS_TO_TIMESTAMP_MODE ticksToTimestampMode
void setTicksToTimestampMode(int val)
bool convSystemtimeToLidarTimestamp(uint32_t systemtime_sec, uint32_t systemtime_nanosec, uint32_t &tick)
bool getCorrectedTimeStamp(uint32_t &sec, uint32_t &nanoSec, uint32_t tick)
void AllowedTimeDeviation(double val)
double dClockDiffFeedBack
void InterpolationSlope(double val)
double mostRecentTimeStamp
void ExtrapolationDivergenceCounter(uint32_t val)
uint32_t offsetTimestampFirstSystemMicroSec
static const uint32_t MaxExtrapolationCounter
uint32_t mostRecentNanoSec
uint32_t offsetTimestampFirstSystemSec
SoftwarePLL & operator=(const SoftwarePLL &)
void FirstTimeStamp(double val)
double lastValidTimeStamp
double allowedTimeDeviation
uint32_t ExtrapolationDivergenceCounter() const
uint32_t sec(const rosTime &time)
@ TICKS_TO_MICROSEC_OFFSET_TIMESTAMP
double clockFifo[fifoSize]
@ TICKS_TO_SYSTEM_TIMESTAMP
bool nearSameTimeStamp(double relTimeStamp1, double relTimeStamp2, double &delta_time_abs)
uint64_t offsetTimestampFirstLidarTick
double FirstTimeStamp() const
double extraPolateRelativeTimeStamp(uint64_t tick)
static const double MaxAllowedTimeDeviation
uint64_t tickFifo[fifoSize]
void FirstTick(uint64_t val)
@ TICKS_TO_LIDAR_TIMESTAMP
bool IsInitialized() const
bool updateInterpolationSlope()
double interpolationSlope
bool pushIntoFifo(double curTimeStamp, uint64_t curtick)
int findDiffInFifo(double diff, double tol)
static const int fifoSize
void IsInitialized(bool val)
double InterpolationSlope() const
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:12