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

Use ros::SteadyTime for calculating update period #29

Open
wants to merge 1 commit into
base: indigo-devel
Choose a base branch
from

Conversation

matthew-reynolds
Copy link

A monotonic time source should be used for calculating the update period passed into the controller manager. This ensures the period is always accurate, and isn't impacted by time smears or time jumps in the wall time. These irregularities in the wall time are not that uncommon, for example when the system time gets synchronized via NTP. ros::SteadyTime ensures these irregularities don't break the controller update calculations.

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.

1 participant