Public Member Functions | Protected Attributes
smoothtime Class Reference

List of all members.

Public Member Functions

void set_error_threshold (double err_threshold)
 Between 0 and 1, threshold on jitter acceptability, higher accepts more jitter before discarding.
void set_smoothing_factor (double smoothing_factor)
 Between 0 and 1, bigger is smoother.
ros::Time smooth_timestamp (ros::Time recv_timestamp, ros::Duration expctd_dur)
 smoothtime ()

Protected Attributes

double error_threshold
ros::Time smoothed_timestamp
ros::Time smoothtime_prev
double time_smoothing_factor

Detailed Description

Definition at line 60 of file sickld.cpp.


Constructor & Destructor Documentation

smoothtime::smoothtime ( ) [inline]

slowly skew the clocks into sync

50% jitter is acceptable for , discard data otherwise.

Definition at line 67 of file sickld.cpp.


Member Function Documentation

void smoothtime::set_error_threshold ( double  err_threshold) [inline]

Between 0 and 1, threshold on jitter acceptability, higher accepts more jitter before discarding.

Definition at line 76 of file sickld.cpp.

void smoothtime::set_smoothing_factor ( double  smoothing_factor) [inline]

Between 0 and 1, bigger is smoother.

Definition at line 72 of file sickld.cpp.

ros::Time smoothtime::smooth_timestamp ( ros::Time  recv_timestamp,
ros::Duration  expctd_dur 
) [inline]

Definition at line 79 of file sickld.cpp.


Member Data Documentation

double smoothtime::error_threshold [protected]

Definition at line 64 of file sickld.cpp.

Definition at line 62 of file sickld.cpp.

Definition at line 62 of file sickld.cpp.

Definition at line 63 of file sickld.cpp.


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


sicktoolbox_wrapper
Author(s): Morgan Quigley
autogenerated on Thu Jan 2 2014 11:23:55