-
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
Thruster plugin: add tests and velocity control #1190
Conversation
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo5 #1190 +/- ##
===============================================
+ Coverage 65.87% 66.00% +0.13%
===============================================
Files 254 255 +1
Lines 20026 20127 +101
===============================================
+ Hits 13192 13285 +93
- Misses 6834 6842 +8
Continue to review full report at Codecov.
|
Signed-off-by: Louise Poubel <louise@openrobotics.org>
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.
We should be OK to merge this as most of the issues are experienced at low velocities and I suspect due to issues with the hydrostatics. Appologies I've not yet tested this this review was for another PR.
I see that @chapulina added TODO to configure max and min thrust in the sdf. This means that it will be done in another PR? I think that would be a good addition. |
I wasn't planning on tackling it anytime soon, but I agree it would be a nice addition |
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 for doing this! The tests and up-streaming are looking good. I've run it on my computer and it works.
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
here's a pull request for this: #1318 |
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1 |
Summary
The
Thruster
plugin was added in #749 without tests. This PR adds tests, and while at it, I also:examples/worlds/auv_controls.sdf
Thruster.hh
/model/joint/...
- this can potentially break users that are currently leaving the namespace empty.cmd_pos
topic is very confusing for this plugin, because the commands are forces in Newtons. So I'm proposing changing the topic tocmd_thrust
. I didn't removecmd_pos
for backwards compatibility, but I think we should tick-tock it out.<joint><pose>
into accountJointVelocityCmd
makes the vehicle much more unstable than directly applying the wrench to the link. So there's a trade-off.Test it
Follow the instructions in
auv_controls.sdf
.Here are some handy commands to run the test worlds too:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸