First OpenPilot Drive

From comma wiki
Jump to: navigation, search

You will want to record your first OpenPilot drive in passive mode to ensure that everything is working properly.

  1. Make sure that the DIP switches for Giraffe are in the correct position for passive monitoring ("stock adas on") in this diagram before turning on your car.
  2. Make sure the EON is mounted properly and connected to the Panda by following Installing EON
  3. Make sure the EON has Internet access (either your wifi at home or a SIM card). Connect to a mobile hotspot if you don't have a SIM card; OpenPilot will not boot without network access!
    1. Reboot your EON before turning your car on for good measure
  4. Turn your car on and verify that the Panda LEDs are pulsing red/blue/purple. If they are green, your panda is not flashed, see flashing instructions here Panda Flashing.
    1. For Grey Panda and Toyota vehicles with dip switches in 1001 (stock ADAS ON), no power is flowing through the giraffe to power the Panda. You will not see any lights on Panda, but EON will record your drive.
  5. Drive such that you can test your stock adaptive cruise control and lane-keep assist (ACC and LKAS). The purpose of this test is to ensure that Giraffe & Panda are not interfering with your vehicle's normal operation in any way.
  6. OpenPilot should switch to "drive mode" and show the camera view with green lane markers and blue steering indicator.
    1. In a recent test (May 16, 2018) with Grey Panda & Giraffe in Toyota vehicle, OpenPilot only shifted to "drive mode" once dip switches were set to 0010 (power was flowing to the Giraffe & Panda combo). Prior to the dip switch change, Open Pilot did not show "drive mode" as described.
  7. Make sure that your EON is connected to the Internet or Calibration will not start
  8. Try turning your wheel. If the blue turning marker moves, your car has probably been detected properly by OpenPilot. If not, your car was not recognized.


IF YOUR CAR IS RECOGNIZED:

  1. Congratulations, this will be easy. You should record and upload a drive with the Giraffe in "stock adas on" mode and inspect it with Cabana to ensure that the CAN signals match the DBC file.
  2. Calibration will increment at above 45mph. It will take 20-30 minutes to fully calibrate. If you move the mount, you will need to delete calibration data from the menu and recalibrate.
  3. When driving, activate your stock LKAS and ACC systems. If possible, safely make voice notes (through a voice recorder) of what you are doing and when.
  4. When you get home, the drive should upload to Cabana. This will be your "reference stock ADAS" drive to perform any debugging of OpenPIlot against.
  5. Now you can Enable OpenPilot Control

IF YOUR CAR IS NOT RECOGNIZED

  1. You will have to port your car or update an existing port.
  2. Safely begin your drive. Calibration will remain at 0%, that's OK, it is still recording video and vital information necessary to get your car working.
  3. When driving, activate your stock LKAS and ACC systems. If possible, safely make voice notes (through a voice recorder) of what you are doing and when.
  4. When you get home, the drive should upload to Cabana. Go check it out (instructions TBD)
  5. You will need to work with the Slack community to port to your car. Check out the forums and Slack at #openpilot on comma.slack.com.