Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synchronize_time: reset when clock is warped #42

Conversation

c-andy-martin
Copy link

If either the hardware clock or system clock warp, reset the EMA to
prevent incorrect clock values from being used. Detect the warp by
putting a limit on the absolute error between the synchronized clock
and the system clock. When a warp is detected, reset the EMA to force
the clocks to resynchronize. Use the system clock until the EMA has
stabalized again.

If either the hardware clock or system clock warp, reset the EMA to
prevent incorrect clock values from being used. Detect the warp by
putting a limit on the absolute error between the synchronized clock
and the system clock. When a warp is detected, reset the EMA to force
the clocks to resynchronize. Use the system clock until the EMA has
stabalized again.
@tonybaltovski
Copy link
Member

@c-andy-martin, I am so sorry, I totally missed this PR. Thanks for this!

@tonybaltovski tonybaltovski merged commit d2722c6 into ros-drivers:indigo-devel Jul 19, 2018
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.

None yet

2 participants