Skip to content

Comments

Use ros::SteadyTime for calculating update period#29

Open
matthew-reynolds wants to merge 1 commit intoRIVeR-Lab:indigo-develfrom
matthew-reynolds:use_steady_time
Open

Use ros::SteadyTime for calculating update period#29
matthew-reynolds wants to merge 1 commit intoRIVeR-Lab:indigo-develfrom
matthew-reynolds:use_steady_time

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