-
Notifications
You must be signed in to change notification settings - Fork 276
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
fixed thruster.cc undefined behavior #2316
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.
There are a number of places where .back()
is still being used without being checked.
ctrl+F
shows the following instancesFor:
gz-sim/test/integration/thruster.cc
Line 214 in 4dcb138
EXPECT_DOUBLE_EQ(0.0, modelPoses.back().Pos().X()); gz-sim/test/integration/thruster.cc
Line 214 in 4dcb138
EXPECT_DOUBLE_EQ(0.0, modelPoses.back().Pos().X());
I'm sorry, My bad. |
This is looking a lot better! Do you mind signing off via DCO. Instructions are here: |
668d178
to
fb343a8
Compare
Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Co-authored-by: Arjo Chakravarty <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
Co-authored-by: Arjo Chakravarty <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Until SystemManager has the ability to unload system plugins, plugins require an explicit check of the validity of the entities used in the Update methods. Such a check was missing in OdometryPublisher, which led to non-critical but annoying errors in the console. --------- Signed-off-by: Anton Bogdanov <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
…sim#2324) Signed-off-by: Gabriel Arjones <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
* Fix wget in maritime tutorials. Signed-off-by: Carlos Agüero <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Franco Cipollone <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Ian Chen <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Ian Chen <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
This is a fix to the error seen in Ackermann Steering's <steering_only> mode. The steps to reproduce this error are described in issue gazebosim#2314. Signed-off-by: Saurabh Kamat <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Saurabh Kamat <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
3199d38
to
d580c2d
Compare
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.
Lol. This happens to all of us. If your git-fu is not strong enough I recommend closeing this PR and opening a new one in a new branch of main. Just copy the new test/integraton/thruster.cc
over.
Co-authored-by: Arjo Chakravarty <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Thanks @arjo129 I was really unsure of what has happened, I wasn't able to find a reliable solution for it online. I will open a new pr : ) |
🦟 Bug fix
Fixes #2291
Summary
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)
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.