-
Notifications
You must be signed in to change notification settings - Fork 295
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
Ackermann steering with steering angle and sub_topic. #1860
Ackermann steering with steering angle and sub_topic. #1860
Conversation
7f96ffc
to
c5da579
Compare
c5da579
to
bdd0d10
Compare
953de77
to
c041d57
Compare
c041d57
to
88d4dbf
Compare
Option to use <steering_only> to enable a mode that does not drive the wheels. It instead only controls the central steering angle phi in radians on a /model/{name_of_model}/steer_angle gz::msgs::Double. This is usefull for simulating the control of a real vehicle without direct cmd_vel capabilities. Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
88d4dbf
to
53d556f
Compare
Codecov Report
@@ Coverage Diff @@
## gz-sim7 #1860 +/- ##
===========================================
- Coverage 64.71% 64.68% -0.03%
===========================================
Files 343 343
Lines 27430 27495 +65
===========================================
+ Hits 17750 17785 +35
- Misses 9680 9710 +30
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Changes look good to me, but can you add some tests to cover this new functionality? |
Mmmmm, found one last interesting use that needs addressed. 4 wheel steer and multiple vehicles, guess I get to add sub_topics to it as well. |
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
e33cd2b
to
3f436f8
Compare
@ahcorde thanks for the reviews, just finished adding them all. |
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.
A few more nits
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
8eb207e
to
a8a327d
Compare
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com> Co-authored-by: Michael Carroll <carroll.michael@gmail.com>
a8a327d
to
4b053e8
Compare
@osrf-jenkins retest this please |
Only known CI issues remain on this one, so I think we are good. |
🎉 New feature
Closes #1863
Summary
Option to use <steering_only> to enable a mode that does not drive the wheels. It instead only controls the central steering angle phi in radians on a /model/{name_of_model}/steer_angle gz::msgs::Double. This is usefull for simulating the control of a real vehicle without direct cmd_vel capabilities.
Test it
Example:
UpdatedAckermannPlugin.mp4
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.