Public Member Functions | |
FrameTimeFilter (double frame_rate=1., double late_locked_threshold=1e-3, double early_locked_threshold=3e-3, int early_recovery_frames=5, int max_recovery_frames=10, double max_skew=1.001, double max_skipped_frames=100) | |
void | reset_filter () |
double | run (double in_time, int frame_number) |
Private Attributes | |
double | anticipated_time_ |
double | early_locked_threshold_ |
int | early_recovery_frames_ |
double | frame_period_ |
int | last_frame_number_ |
double | late_locked_threshold_ |
int | max_recovery_frames_ |
int | max_skipped_frames_ |
double | relock_time_ |
int | unlocked_count_ |
Definition at line 152 of file wge100_camera_node.cpp.
FrameTimeFilter::FrameTimeFilter | ( | double | frame_rate = 1. , |
|
double | late_locked_threshold = 1e-3 , |
|||
double | early_locked_threshold = 3e-3 , |
|||
int | early_recovery_frames = 5 , |
|||
int | max_recovery_frames = 10 , |
|||
double | max_skew = 1.001 , |
|||
double | max_skipped_frames = 100 | |||
) | [inline] |
Definition at line 155 of file wge100_camera_node.cpp.
void FrameTimeFilter::reset_filter | ( | ) | [inline] |
Definition at line 167 of file wge100_camera_node.cpp.
double FrameTimeFilter::run | ( | double | in_time, | |
int | frame_number | |||
) | [inline] |
Definition at line 173 of file wge100_camera_node.cpp.
double FrameTimeFilter::anticipated_time_ [private] |
Definition at line 231 of file wge100_camera_node.cpp.
double FrameTimeFilter::early_locked_threshold_ [private] |
Definition at line 229 of file wge100_camera_node.cpp.
int FrameTimeFilter::early_recovery_frames_ [private] |
Definition at line 228 of file wge100_camera_node.cpp.
double FrameTimeFilter::frame_period_ [private] |
Definition at line 233 of file wge100_camera_node.cpp.
int FrameTimeFilter::last_frame_number_ [private] |
Definition at line 226 of file wge100_camera_node.cpp.
double FrameTimeFilter::late_locked_threshold_ [private] |
Definition at line 230 of file wge100_camera_node.cpp.
int FrameTimeFilter::max_recovery_frames_ [private] |
Definition at line 224 of file wge100_camera_node.cpp.
int FrameTimeFilter::max_skipped_frames_ [private] |
Definition at line 227 of file wge100_camera_node.cpp.
double FrameTimeFilter::relock_time_ [private] |
Definition at line 232 of file wge100_camera_node.cpp.
int FrameTimeFilter::unlocked_count_ [private] |
Definition at line 225 of file wge100_camera_node.cpp.