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

fix: Don't divide time by zero if single stepping. #3352

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

jmachowinski
Copy link
Contributor

Summary

When stepping, the console always showed a warning "[gzserver-6] [Err] [Time.cc:684] Time divide by zero".
This commit fixes the warning, caused by a check on a wrong variable.

Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
@jmachowinski
Copy link
Contributor Author

Can we merge this ?

@traversaro
Copy link
Collaborator

@ahcorde as the original author of the code, would you like to double check this fix? Thanks!

@scpeters scpeters merged commit 7ccef40 into gazebosim:gazebo11 Nov 8, 2023
7 checks passed
@scpeters
Copy link
Member

scpeters commented Nov 8, 2023

thanks for the fix!

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.

4 participants