mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 22:53:55 +08:00
* Max Time Offroad * Refactor & Fix param * Error Handling * rename SP variable * Update selfdrive/ui/sunnypilot/qt/widgets/controls.h Co-authored-by: DevTekVE <devtekve@gmail.com> * Update selfdrive/ui/sunnypilot/qt/widgets/controls.h Co-authored-by: DevTekVE <devtekve@gmail.com> * Update selfdrive/ui/sunnypilot/qt/widgets/controls.h Co-authored-by: DevTekVE <devtekve@gmail.com> * Update selfdrive/ui/sunnypilot/qt/widgets/controls.h Co-authored-by: DevTekVE <devtekve@gmail.com> * Update selfdrive/ui/sunnypilot/qt/widgets/controls.cc Co-authored-by: DevTekVE <devtekve@gmail.com> * Update selfdrive/ui/sunnypilot/qt/offroad/settings/lateral/max_time_offroad.h Co-authored-by: DevTekVE <devtekve@gmail.com> * Update selfdrive/ui/sunnypilot/qt/offroad/settings/lateral/max_time_offroad.cc Co-authored-by: DevTekVE <devtekve@gmail.com> * UI layout changes for better alignment selector is not big enough -> make it bigger ;) OptionControlSP now includes a QMap argument to allow actual values to be set in param directly * Rebase & resolve reviews * change default to be closer to OP default * me dumb * MaxTimeOffroad: Add support for 30h limit and improve label formatting * power_monitoring: Refactor MaxTimeOffroad parameter handling for clarity * test: Add unit tests for MaxTimeOffroad parameter handling * power_monitoring: Update MaxTimeOffroad handling to use seconds and improve shutdown logic * power_monitoring: Improve exception handling and remove redundant shutdown check for MaxTimeOffroad --------- Co-authored-by: DevTekVE <devtekve@gmail.com> Co-authored-by: Jason Wen <haibin.wen3@gmail.com>