You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Isn't this an issue that your update rates don't have a common integer divider? The controller_manager update is only triggered with the update rate of gz
@tonynajjar I believe the max step should be a common divisor factor higher than the CM loop rate to be able to have proper simulation. For instance, a CM update rate of 100 Hz might need a step time of 0.005 or lower by the possible common factor. If not, you might observe some loop skipping.
Describe the bug
The controller manager update_rate seems to be wrongly limited by gazebo's simulation rate
To Reproduce
Steps to reproduce the behavior:
I have a world with 60Hz update_rate and RTF 1.0 which is reached:
My controller_manager has an update_rate of 50 Hz:
Expected behavior
I expect the controller manager to run at 50Hz, however the diagnostics complain that only 30Hz is reached.
If I change
max_step_size
to 0.01 (100Hz) then the CM is able to reach the 50HzScreenshots
Environment (please complete the following information):
Additional context
Add any other context about the problem here, especially include any modifications to ros2_control that relate to this issue.
The text was updated successfully, but these errors were encountered: