Skip to content

Conversation

@peci1
Copy link

@peci1 peci1 commented Aug 1, 2022

Fixes #164. Currently, the PR only supports resetting on jumps back. Default behavior is the same as tf2_listener: Reset whenever ros::Time::now() is lower than the previous recorded one. Parameter ~time_jump_threshold can be used to specify that jumps smaller than the threshold do not result in resetting the filter (e.g. when running in real time and system clock jumps because of a time sync event). To disable the resetting behavior, set the threshold to DURATION_MAX.

@peci1
Copy link
Author

peci1 commented Aug 1, 2022

I'm not sure if ABI compatibility is an issue for this package or not. If it is, the PR will need a few changes to retain ABI compatibility.

@mintar mintar merged commit 3fba584 into CCNYRoboticsLab:noetic Aug 19, 2022
@mintar
Copy link
Collaborator

mintar commented Aug 19, 2022

Beautiful, thank you! Breaking ABI should be okay for this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reset the filter on ROS time jumping back

2 participants