-
Notifications
You must be signed in to change notification settings - Fork 481
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
Apply initial sim time also after a reset. #3340
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Ok for me, as long as the ABI checker is happy (it should be, but better double check).
Thanks for the quick action! I just hope the other times present in |
Signed-off-by: Martin Pecka <[email protected]>
7a6c8de
to
97df15c
Compare
Probably we can expand the setting description in gazebo-classic/gazebo/Server.cc Line 202 in af7d327
|
Signed-off-by: Martin Pecka <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me, thanks! Technically (per Hyrum's Law) this may be a behaviour breaking change, but I think it make sense. Probably to be sure it is best to also wait for an approval of @scpeters .
Technically, you're right. Practically, if anyone had tried the reset from e.g. current UNIX timestamp to 0, he'd face lots of problems with downstream code (e.g. ROS nodes). So my assumption is nobody tried that. The only potentially problematic use-case could be if the user specified a low init time like 1 or 10... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes sense to me
thanks!
🦟 Bug fix
Fixes #3294 (comment)
Summary
Initial sim time should also be respected after a reset.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.