Add openpilot tools

This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent b39097a12d
commit a083b93479
156 changed files with 16482 additions and 0 deletions

21
tools/serial/README.md Normal file
View File

@@ -0,0 +1,21 @@
# comma serial
The comma serial gets you access to a low level serial console on your comma three, while providing a stable 12V to power the device.
The serial is available on the [comma shop](https://comma.ai/shop/products/comma-serial).
## setup
* Connect all three cables to the serial
* Connect the USB A to your computer
* Connect the USB-C to the OBD-C port on your comma three
## usage
```
sudo screen /dev/ttyUSB0 115200
```
or use `connect.sh` to run the previous command in a loop.
The username and password are both `comma`.

8
tools/serial/connect.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
while true; do
if ls /dev/serial/by-id/usb-FTDI_FT230X* 2> /dev/null; then
sudo screen /dev/serial/by-id/usb-FTDI_FT230X* 115200
fi
sleep 0.005
done