skip dashcam3 build for now

old-commit-hash: 449e60cb82
commatwo_master
Adeeb Shihadeh 4 years ago
parent 926c3d6fd7
commit 02788f3a0e
  1. 7
      release/build_release3.sh
  2. 2
      selfdrive/thermald/thermald.py

@ -97,10 +97,9 @@ if [ ! -z "$PUSH" ]; then
git push -f origin release3-staging
# Create dashcam
git rm selfdrive/car/*/carcontroller.py
git commit -m "create dashcam release from release"
git push -f origin release3-staging:dashcam3-staging
#git rm selfdrive/car/*/carcontroller.py
#git commit -m "create dashcam release from release"
#git push -f origin release3-staging:dashcam3-staging
fi
echo "[-] done T=$SECONDS"

@ -356,13 +356,13 @@ def thermald_thread():
# controls will warn with CPU above 95 or battery above 60
startup_conditions["device_temp_good"] = thermal_status < ThermalStatus.danger
set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", (not startup_conditions["device_temp_good"]))
should_start = all(startup_conditions.values())
startup_conditions["hardware_supported"] = health is not None and health.health.hwType not in [log.HealthData.HwType.whitePanda,
log.HealthData.HwType.greyPanda]
set_offroad_alert_if_changed("Offroad_HardwareUnsupported", health is not None and not startup_conditions["hardware_supported"])
# Handle offroad/onroad transition
should_start = all(startup_conditions.values())
if should_start:
if not should_start_prev:
params.delete("IsOffroad")

Loading…
Cancel
Save