Motor and Servo Connections¶
Two steering/throttle methods are supported and each requires slightly different wiring and configuration as described below.
Separate Steering and Throttle¶
Most RC cars are like full sized cars in that they have separate steering and throttle controls. For these rovers, the steering servo (which normally turns the front wheels) should be connected to the autopilot’s RC Output 1. The motor’s ESC (which normally controls the speed of the back wheels) should be connected to RC Output 3.
For this setup these parameters values should be set (they should actually be set by default). More details can be found on the Motor and Servo Configuration page.
SERVO1_FUNCTION = 26 (Ground Steering)
SERVO3_FUNCTION = 70 (Throttle)
Skid Steering¶
“Skid steering” vehicles (like R2D2) control their direction and forward/reverse motions by varying the speed of two (or more) independent wheels. For these style rovers the left wheel should be connected to RC Output 1 and the right wheel should be connected to RC Output 3.
For this setup these parameters values will need to be set. More details can be found on the Motor and Servo Configuration page.
SERVO1_FUNCTION = 73 (Throttle Left)
SERVO3_FUNCTION = 74 (Throttle Right)
Omni Vehicles¶
Omni vehicles can move laterally (i.e. left and right) without changing their heading with the help of omni wheels (like these from RobotShop) or thrusters. ArduPilot supports three configurations X, Plus and “3”. The autopilot motor outputs that should be connected to each motor are shown below.
Another style of wheel is Mecanum (like these from RobotShop). For these wheels, the autopilot motor outputs that should be connected to each motor are shown below.
For this setup these parameters values will need to be set
FRAME_TYPE = 1 (Omni3), 2 (OmniX), 3 (OmniPlus) or 4 (Omni3Mecanum)
SERVO1_FUNCTION = 33 (motor1)
SERVO2_FUNCTION = 34 (motor2)
SERVO3_FUNCTION = 35 (motor3)
SERVO4_FUNCTION = 36 (motor4)
Wheel Encoders¶
Up to two wheel encoders can be connected to the autopilot as described on the Optional Hardware / Wheel Encoders page.