dragonpilot - 基於 openpilot 的開源駕駛輔助系統
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.
 
 
 
 
 
 
iejMac c4031750f3
improving tools readme (#20305)
4 years ago
..
README.md improving tools readme (#20305) 4 years ago
__init__.py merge in tools 5 years ago
debug_controls.py cereal cleanup part 2 (#20092) 4 years ago
joystick_test.py enable flake8 E303: too many blank lines 5 years ago
joystickd.py enable E261 in flake8: two spaces before inline comment 5 years ago
steer.gif improving tools readme (#20305) 4 years ago

README.md

Debug car controls

Hardware needed: panda, giraffe, joystick

Use the panda's OBD-II port to connect with your car and a usb cable to connect the panda to your pc. Also, connect a joystick to your pc.

joystickd.py runs a deamon that reads inputs from a joystick and publishes them over zmq. boardd sends the CAN messages from your pc to the panda. debug_controls is a mocked version of controlsd.py and uses input from a joystick to send controls to your car.

Make sure the conditions are met in the panda to allow controls (e.g. cruise control engaged). You can also make a modification to the panda code to always allow controls.

Usage:

python carcontrols/joystickd.py

# In another terminal:
BASEDIR=$(pwd) selfdrive/boardd/boardd

# In another terminal:
python carcontrols/debug_controls.py

Imgur