mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 14:03:52 +08:00
======================== * Based on latest openpilot 0.7.6.1 devel. * Optimized and integrated several dp services. (Settings have been renamed, please re-config all settings) * Completely disabled steer ratio learner. * Removed Accel Profile. * Added Honda Breeze Hybrid FPv1. (Thanks to @劉駿) * Added Taiwan Toyota Prius 4.5 FPv1. (Thanks to @jeekid)
10 lines
224 B
Bash
Executable File
10 lines
224 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
printf %s "1" > /data/params/d/dp_disable_relay
|
|
fi
|
|
if [ $1 -eq 0 ]; then
|
|
printf %s "0" > /data/params/d/dp_disable_relay
|
|
fi
|
|
|
|
rm -rf /data/openpilot/selfdrive/boardd/boardd && reboot |