Motor Calibration

Because of assembly methods and other reasons, your motor may still need a calibration direction. Otherwise, when the car moves forward, it may turn left, turn right, or even go backwards. Please follow the following steps to complete the calibration.

How to do?

  1. Enter the examples folder.

cd /home/pi/picar-4wd/examples
  1. Run the . This is a very simple example, which will let the car go forward.

  1. Observe whether the wheels of the car are driving forward and marked the wrong motor.

  2. Open the configuration file.

sudo nano /home/pi/.picar-4wd/config
  1. Change the reverse FLAG of the error motor from False to True.

  1. Run again, if the car is driving correctly, the calibration is completed.