-
Notifications
You must be signed in to change notification settings - Fork 281
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
Add Tf publishing to AckermannSteering system #1576
Conversation
d1500b9
to
7a74d52
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.
Linters are failing https://github.com/gazebosim/gz-sim/runs/7208392386?check_suite_focus=true
5945e46
to
8be4744
Compare
Signed-off-by: Andrew Ealovega <[email protected]>
Signed-off-by: Andrew Ealovega <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Andrew Ealovega <[email protected]>
Signed-off-by: Andrew Ealovega <[email protected]>
a1b0bda
to
afaf2d8
Compare
I've implemented the suggestions and delt with the linter and CI. The fix is still fully working so it should be all set. |
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.
can you add a test to check that the tf topic is generating data ?
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1576 +/- ##
============================================
Coverage 64.02% 64.03%
============================================
Files 317 317
Lines 25649 25666 +17
============================================
+ Hits 16422 16435 +13
- Misses 9227 9231 +4
Continue to review full report at Codecov.
|
Signed-off-by: Andrew Ealovega <[email protected]>
Test added and passed. |
Signed-off-by: Andrew Ealovega <[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.
Uhm, focal is not happy https://github.com/gazebosim/gz-sim/runs/7385398190?check_suite_focus=true
Focal ran fine, that's bionic failing there. It looks like the protobuf generated repeated_ptr_feild type doesn't have an operator[] on bionic, which seems odd to me. Does the bionic environment use a different protobuf version than focal? I would imagine gazebo has set dependencies but I cannot think of another cause for this compile error. Edit: looking at past CI runs, bionic passed before the last commit. None of the lines I changed should have any effect on the protobuf API, so it looks like this is likely a change in the CI between the two commits. Edit Edit: My bad for all the comments, it looks like bionic is using libprotobuf-dev 3.0.0, vs focals 3.6.1. The operator[] was added in 3.2, hence the build failures. It looks like it's just a wrapper around .get(index), so swapping the functions should solve the issue. I'll submit a fix later today |
Signed-off-by: Andrew Ealovega <[email protected]>
The test failing on CI also fails on ign-gazebo6 for me, and contains no refrence to the files changed in this PR, so it seems to be a seprerate issue. |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[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.
LGTM, thanks!
Signed-off-by: Andrew Ealovega <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Louise Poubel <[email protected]>
Signed-off-by: Andrew Ealovega <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Louise Poubel <[email protected]>
* Ackermann Steering Plugin (#618) Signed-off-by: Kevin <[email protected]> Co-authored-by: Kevin <[email protected]> Co-authored-by: Louise Poubel <[email protected]> * Using math::SpeedLimiter on the ackermann_steering controller. (#837) Signed-off-by: LolaSegura <[email protected]> * Add Tf publishing to AckermannSteering system (#1576) Signed-off-by: Andrew Ealovega <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Louise Poubel <[email protected]> Co-authored-by: knoedler <[email protected]> Co-authored-by: Kevin <[email protected]> Co-authored-by: LolaSegura <[email protected]> Co-authored-by: Andrew Ealovega <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
🎉 New feature
Closes #1573
Summary
Previously, the AckermannSteering system plugin did not publish tf alongside odometry, unlike the DiffDrive controller. This ment that when used with ROS, no odom->base_footprint was generated, preventing its use with SlamToolbox. This PR ports that DiffDrive tf publishing to the AckermannSteering controller, as well as the appropriate docs.
Here's ackermann in use with slam-toolbox post fix:
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.