mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-08 17:13:45 +08:00
Controls - Device Management - Increase Thermal Safety Limit
Allow the device to run at a temperature above comma's recommended thermal limits.
This commit is contained in:
@@ -309,7 +309,7 @@ def hardware_thread(end_event, hw_queue, frogpilot_toggles) -> None:
|
||||
startup_conditions["not_taking_snapshot"] = not params.get_bool("IsTakingSnapshot")
|
||||
|
||||
# must be at an engageable thermal band to go onroad
|
||||
startup_conditions["device_temp_engageable"] = thermal_status < ThermalStatus.red
|
||||
startup_conditions["device_temp_engageable"] = thermal_status < (ThermalStatus.danger if frogpilot_toggles.increase_thermal_limits else ThermalStatus.red)
|
||||
|
||||
# ensure device is fully booted
|
||||
startup_conditions["device_booted"] = startup_conditions.get("device_booted", False) or HARDWARE.booted()
|
||||
|
||||
Reference in New Issue
Block a user