-
Notifications
You must be signed in to change notification settings - Fork 773
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
[ROS 2] Fix how wheel properties are retrieved in Ackermann Plugin #1427
base: ros2
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,22 @@ class GazeboRosAckermannDrivePrivate; | |
|
||
<update_rate>100.0</update_rate> | ||
|
||
<!-- Ackermann geometry and kinematic parameters--> | ||
|
||
<!-- By default this plugin will attempt to infer the wheel radius, | ||
wheelbase and track width from the geometry and poses of the links defined | ||
as front and rear wheels. This only works when the collision meshes are | ||
cylinder or sphere primitives. If the collision mesh for the model | ||
needs to be more complex, you must set this param to false and specific | ||
the values of the wheel params below. --> | ||
<wheel_params_from_collision_mesh>true</wheel_params_from_collision_mesh> | ||
<!-- The radius of the wheel in meters. Used when wheel_params_from_collision_mesh is false. --> | ||
<wheel_radius>0.3</front_left_joint> | ||
<!-- The distance between the front and rear sets of wheels in meters. Used when wheel_params_from_collision_mesh is false --> | ||
<wheel_base>2.0</wheel_base> | ||
<!-- The separate distance between the two steered wheels in meters. Used when wheel_params_from_collision_mesh is false --> | ||
<track_width>1.2</track_width> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we please include a comment to indicate that this means "wheel_seperation" in ackermann language? Should help people to understand what really is just from reading. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done 7410afe |
||
|
||
<!-- wheels --> | ||
<front_left_joint>front_left_wheel_joint</front_left_joint> | ||
<front_right_joint>front_right_wheel_joint</front_right_joint> | ||
|
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 should be