gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
686 stars 263 forks source link

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

Closed sauk2 closed 6 months ago

sauk2 commented 7 months ago

Environment

Description

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

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>
  2. Build and source the workspace
  3. Launch using the following command
    gz sim ackermann_steering.sdf
  4. 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