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.

25 lines
507 B

3 weeks ago
#!/usr/bin/env bash
3 weeks ago
cleanup() {
pkill -9 -f compressed_vipc.py
pkill -9 -f watch3
ssh comma@192.168.61.123 'pkill -f -9 bridge'
ssh comma@192.168.61.123 'pkill -f -9 encoderd'
ssh comma@192.168.61.123 'pkill -f -9 camerad'
pkill -9 -f '/data/cam.sh'
}
trap cleanup SIGINT
3 weeks ago
(
3 weeks ago
ssh comma@192.168.61.123 'nohup /data/cam.sh &' &
3 weeks ago
cd /home/batman/openpilot/tools/camerastream
./compressed_vipc.py 192.168.61.123 --cam $1 &
cd /home/batman/openpilot/selfdrive/ui
./watch3 $1 &
wait
);