This is a page about robot __steering__. There are both steering mechanisms and steering modes. There's also a [Steering Calculation] page describing some Python code for calculating the wheel angle for inner and outer wheels when turning using independent four or six wheel steering. ! Goals The goals of most robot steering include: * skid-free (apart from skid/tank style steering where this is the norm) * simultaneous driving and steering * bounded acceleration * bounded velocity * bounded steering angles * and maybe something like no tipping over, or a minimum margin of stability or footprint (thanks to Calle on [Personal Robotics] for this list) ! Steering Mechanism [{Image src='attach/Steering/SteeringServo.png' link='attach/Steering/SteeringServo.pngg' width='300' caption='A steering servo mechanism (click to enlarge)' align='right' class='imgFloatRight'}] A __Steering Mechanism__ is the mechanical means by which steering is accomplished. Many robots and other vehicles have a steering mode that is the same as (i.e., is limited to) its steering mechanism. A normal automobile steers using what's called Ackermann steering. That's both its mechanism as well as its mode, since that's the only way a car can steer. For a four or six wheel robot with independent steering on each wheel, it's possible to mimic Ackermann steering, but also other styles, even "retrograde" styles such as Skid steering, e.g., to ignore the steering servos, lock each wheel at perpendicular/90° to the robot's centerline, and just use the different in port and starboard wheel velocity to change direction. * __Ackermann steering__: The angle of the rear wheels are fixed in place, with the front wheels able to pivot on a steering axis. * __Differential Steering__: where all wheels' angles are fixed, with the difference in port-starboard wheel velocity determining the steering angle (which we'll call ''theta'', more on that below…). Because there's only two wheels there's no skidding. A 2 wheel differential drive robot (with a caster, or self-balancing) has just this one mechanism and mode of steering. * __Skid Steering__: this is like Differential Steering but because as the robot turns each of its wheels is going a different velocity in relation to the robot's velocity, it causes ''wheel scrub'', skidding or sliding like a tank. If your robot has 4-6 wheels but only two motor controllers, i.e., all motors on each side operate at the same speed, this is its mechanism and mode. * __Independent Steering__: this is where every wheel assembly has its own independent steering mechanism. Clearly, the angles need to be carefully coordinated, as there are only certain angles where skidding is minimised or eliminated, and some angles where the robot could not move at all. See the [Steering Calculation] page for details. There's also __Mecanum__ and __Omni__ wheels, which provide alternative mechanisms for movement/steering. For a Mars rover style robot, each wheel armature is mounted on an independent steering mechanism, using a servo. ! Steering Modes A __Steering Mode__ is the ''manner'' in which steering is done. Lets enumerate some of the steering modes for a 4-6 wheel Mars rover style robot: * __Ackermann__: rear locked at 90° to center line of robot, front synchronised steering only * __AFRS__: front synchronised, rear synchronised steering * __Omnidirectional__: all steering axles pointing along the same axis * __Sideways__: (AKA Crab or Strafing) all steering axles parallel (0°) with center line of robot. Sideways is a specialisation of Omnidirectional. * __Skid__: (AKA Tank) all steering at 90° to center line * __Rotate__: (AKA Spin or Center Pivot) all motors' axles point at the center of the robot (this would be 45°/-45° only if the robot is either square or circular). A 6 wheeler would have middle steering set at 90° * __Forward Pivot__: front wheels at angles matching radius of turn, rear at 90° * __Aft Pivot__: front wheels at 90°, rear at angles matching radius of turn "Sideways" is obviously descriptive but doesn't sound quite right... but it's at least obvious what it means. ! Steering via Velocity and Theta When programming movement of a robot it's possible to set each motor's velocity to Skid-steer the robot. So you might set the port (left) side velocity at 80% and the starboard (right) side velocity at 20%, causing the robot to turn to starboard. When you add the availability of steering servos, things get more complicated. And this points out a better way of approaching the design of a robot's navigation, using two variables: ''velocity'' and ''theta'' (turning angle). More on this later… (BTW, the easy way to remember port and starboard is that "port" and "left" both have four letters.)