Installing openpilot in a MK7 7.5 Golf [no LKAS, with ACC] - commaai/openpilot GitHub Wiki
Materials Needed:
- 1 Comma 3X.
- 1 J533 Harness.
- 1 Car.
Steps
1. Prepare Your Car
- Ensure your car is compatible with OpenPilot.
2. Install the J533 Harness
- Open the panels under the steering wheel.
- Locate the J533 connector (it may be hard to reach).
- Connect your J533 harness to the OBD connector and the car.
- Do not reassemble the panels yet, as the OBD connector will be removed later.
3. Connect the Comma 3X
- Attach the Comma 3X to the J533 harness.
- Start the car and check for the LKAS error (expected).
4. Configure the Comma 3X
-
Ensure your Comma 3X is powered through the OBD port and harness.
-
Create a GitHub account (if you don’t have one) and generate an SSH key using the following steps (these steps will work for Linux/Mac - you may need to follow alternative tutorials for Windows):
- Go to https://github.com/ and create an account.
- Open a terminal on your computer.
- Run
ssh-keygen -t ed25519 -C "[email protected]"
. - Save the key to the default location and enter a passphrase (optional).
- Run
cat ~/.ssh/id_ed25519.pub
and copy the output. - Go to GitHub -> Settings -> SSH and GPG keys -> New SSH Key.
- Paste the copied key and save.
-
On the Comma 3X, go to Settings -> Developer -> Enable SSH.
- Add your GitHub username to install your newly-generated keys and allow SSH access.
-
SSH into the Comma 3X using the SSH key you generated earlier:
- Go to Settings -> Network -> Advanced on the Comma 3X to find its IP address.
- Use the standard SSH port (22).
ssh -i ~/.ssh/id_ed25519 comma@<COMMA_IP_ADDRESS>
-
Turn the ignition on (engine off).
-
Run the following commands:
# Terminates the active OpenPilot session, freeing up resources. tmux kill-session -t comma # Navigates to the directory containing the VW MQB configuration script. cd selfdrive/debug # Executes the configuration script for VW MQB models, enabling OpenPilot support. ./vw_mqb_config.py enable
-
Wait for the success message.
-
Reboot the Comma to restart OpenPilot
sudo reboot
- Turn off the ignition.
- Turn on the ignition again. The LKAS error should be gone.
5. Disconnect OBD Power
- If everything works, you can disconnect the Comma 3X power from the OBD port/harness.
- The J533 harness provides all necessary power for the Comma 3X, freeing up the OBD port.
- Now you can replace the panels under the dash.
6. Troubleshooting
- If you encounter issues, ensure your cables are working properly.
- Check if the Comma 3X is receiving CAN messages - the Comma device should show
Vehicle Online
. - Verify the status on Comma Dashboard.