I have created a URDF file that describes a vehicle with Ackermann steering (a Traxxas E-Maxx RC truck) and need to simulate the vehicle in Gazebo. To simulate Ackermann steering, I am considering writing a Gazebo controller plug-in like this:
ackermann_steering_controller:
leftJointName (string)
rightJointName (string)
track (float)
wheelbase (float)
The controller would subscribe to messages from joy_node, getting the steering angle from it, then would perform PID servo control on the left and right joints to keep them rotated to angles that satisfy the Ackermann equation. Is there a better way to do this? I've read the transmission tutorials, but haven't been able to figure out how to adapt the PR2 transmission system to a Gazebo simulation of Ackermann steering.
Originally posted by Jim Rothrock on ROS Answers with karma: 792 on 2011-03-19
Post score: 4
Original comments
Comment by joq on 2011-03-25:
I would like to use gazebo for an autonomous car with Ackermann steering. Please keep everyone posted on what you do.
Comment by mjcarroll on 2011-03-20:
I haven't done anything related to this, but you may be able to check out the Gazebo model for the ClodBuster. It's a 4-wheel Ackerman robot.