将原有 TOYOTA_WILDLANDER 车型标识重命名为 TOYOTA_WILDLANDER_PHEV, 并更新相关指纹、平台名称和测试路由配置。同时增加该车型的 SRS 和 Hybrid ECU 固件版本信息。 此外,修改 dmonitoringd.py 中的监控逻辑,使在 always_on 模式下也能执行 DM.run_step 流程。 还更新了 launch_openpilot.sh 中的 API 和 ATHENA 服务地址。
24 lines
557 B
Bash
Executable File
24 lines
557 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
# On any failure, run the fallback launcher
|
|
trap 'exec ./launch_chffrplus.sh' ERR
|
|
C3_LAUNCH_SH="./sunnypilot/system/hardware/c3/launch_chffrplus.sh"
|
|
|
|
MODEL="$(tr -d '\0' < "/sys/firmware/devicetree/base/model")"
|
|
export MODEL
|
|
|
|
if [ "$MODEL" = "comma tici" ]; then
|
|
# Force a failure if the launcher doesn't exist
|
|
[ -x "$C3_LAUNCH_SH" ] || false
|
|
|
|
# If it exists, run it
|
|
exec "$C3_LAUNCH_SH"
|
|
fi
|
|
|
|
export API_HOST=https://api.konik.ai
|
|
export ATHENA_HOST=wss://athena.konik.ai
|
|
|
|
exec ./launch_chffrplus.sh
|