openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Vehicle Researcher 9f1a1919bc openpilot v0.9.9 release 1 day ago
..
boards openpilot v0.9.9 release 1 day ago
scripts openpilot v0.9.8 release 2 months ago
stm32f4 openpilot v0.9.7 release 11 months ago
stm32h7 openpilot v0.9.5 release 1 year ago
README.md openpilot v0.9.8 release 2 months ago
SConscript openpilot v0.9.5 release 1 year ago
__init__.py openpilot v0.9.7 release 11 months ago
flash.py openpilot v0.9.8 release 2 months ago
jungle_health.h openpilot v0.9.5 release 1 year ago
main.c openpilot v0.9.9 release 1 day ago
main_comms.h openpilot v0.9.8 release 2 months ago
recover.py openpilot v0.9.8 release 2 months ago

README.md

Welcome to the jungle

Firmware for the Panda Jungle testing board. Available for purchase at the comma shop.

udev rules

To make the jungle usable without root permissions, you might need to setup udev rules for it. On ubuntu, this should do the trick:

sudo tee /etc/udev/rules.d/12-panda_jungle.rules <<EOF
SUBSYSTEM=="usb", ATTRS{idVendor}=="3801", ATTRS{idProduct}=="ddcf", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="3801", ATTRS{idProduct}=="ddef", MODE="0666"
EOF
sudo udevadm control --reload-rules && sudo udevadm trigger

updating the firmware

Updating the firmware is easy! In the board/jungle/ folder, run:

./flash.py

If you somehow bricked your jungle, you'll need a comma key to put the microcontroller in DFU mode for the V1. For V2, the onboard button serves this purpose. When powered on while holding the button to put it in DFU mode, running ./recover.sh in board/ should unbrick it.