Skip to content
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 plugin's steering only mode shows opposite behaviour than expected #2314

Closed
sauk2 opened this issue Feb 15, 2024 · 0 comments · Fixed by #2342
Closed

Ackermann Steering plugin's steering only mode shows opposite behaviour than expected #2314

sauk2 opened this issue Feb 15, 2024 · 0 comments · Fixed by #2342
Labels
bug Something isn't working

Comments

@sauk2
Copy link
Contributor

sauk2 commented Feb 15, 2024

Environment

  • OS Version: Ubuntu 22.04
  • Source build of gz-sim8

Description

Issue pertains to Ackermann Steering plugin's steering_only mode specifically these lines.

  • Expected behavior: The inner wheel should turn more than the outer wheel during turning
  • Actual behavior: The opposite takes place. (Here I have commented out the chassis visual in the SDF for better visibility)

Screenshot from 2024-02-15 14-27-11

Steps to reproduce

  1. Add the following tag in the example SDF file of Ackermann Steering plugin.
  <steering_only>True</steering_only>
  1. Build and source the workspace
  2. Launch using the following command
  gz sim ackermann_steering.sdf
  1. Publish the following
  gz topic -t "/model/vehicle_blue/steer_angle" -m gz.msgs.Double -p "data: 0.4"

Additionally comment out chassis visual for better visibility

Solution

Changing signs in these equations should suffice.

P.S. Raising a PR regarding the same

@sauk2 sauk2 added the bug Something isn't working label Feb 15, 2024
bperseghetti pushed a commit that referenced this issue Mar 27, 2024
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 #2314.

Signed-off-by: Saurabh Kamat <saurabh.kamat@accelerationrobotics.com>
GauravKumar9920 pushed a commit to GauravKumar9920/gz-sim that referenced this issue Mar 30, 2024
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 <saurabh.kamat@accelerationrobotics.com>
Signed-off-by: Gaurav Kumar <gaurav.og.9920@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant