diff --git a/clearpilot_settings.txt b/clearpilot_settings.txt index 551d099..2726df0 100644 --- a/clearpilot_settings.txt +++ b/clearpilot_settings.txt @@ -62,10 +62,11 @@ Safety & Alerts: - Require Wheel - Always, At Night, Never - Wheel: Always on unrecognized driver - Lane Departure Warning -- Stop Warning +- Stoplight / Stopsign Warning - Go Warning - Lead Departure Warning - Over Speed Warning +- Slow Traffic Warning (set mph triggered, default 25 difference) - Weather alerts - Enable / Disable UI elements --- MPH diff --git a/selfdrive/clearpilot/theme/clearpilot/images/4ebeb319bd15e34483adfcbba50213a493a61550da39a3ee5e6b4b0d3255bfef95601890afd80709da39a3ee5e6b4b0d3255bfef95601890afd807096d3e666bf8181f70a8d4dd35c0ae985a.png b/selfdrive/clearpilot/theme/clearpilot/images/4ebeb319bd15e34483adfcbba50213a493a61550da39a3ee5e6b4b0d3255bfef95601890afd80709da39a3ee5e6b4b0d3255bfef95601890afd807096d3e666bf8181f70a8d4dd35c0ae985a.png new file mode 100644 index 0000000..e6b5b46 Binary files /dev/null and b/selfdrive/clearpilot/theme/clearpilot/images/4ebeb319bd15e34483adfcbba50213a493a61550da39a3ee5e6b4b0d3255bfef95601890afd80709da39a3ee5e6b4b0d3255bfef95601890afd807096d3e666bf8181f70a8d4dd35c0ae985a.png differ diff --git a/selfdrive/clearpilot/theme/clearpilot/images/4ebeb319bd15e34483adfcbba50213a493a61550da39a3ee5e6b4b0d3255bfef95601890afd80709da39a3ee5e6b4b0d3255bfef95601890afd807096d55f52e575de40683daee0976817dba.png b/selfdrive/clearpilot/theme/clearpilot/images/4ebeb319bd15e34483adfcbba50213a493a61550da39a3ee5e6b4b0d3255bfef95601890afd80709da39a3ee5e6b4b0d3255bfef95601890afd807096d55f52e575de40683daee0976817dba.png new file mode 100644 index 0000000..8f1bac9 Binary files /dev/null and b/selfdrive/clearpilot/theme/clearpilot/images/4ebeb319bd15e34483adfcbba50213a493a61550da39a3ee5e6b4b0d3255bfef95601890afd80709da39a3ee5e6b4b0d3255bfef95601890afd807096d55f52e575de40683daee0976817dba.png differ diff --git a/selfdrive/clearpilot/theme/clearpilot/images/hot.png b/selfdrive/clearpilot/theme/clearpilot/images/hot.png index 394db39..80dfa5c 100644 Binary files a/selfdrive/clearpilot/theme/clearpilot/images/hot.png and b/selfdrive/clearpilot/theme/clearpilot/images/hot.png differ diff --git a/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ b/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ index 0da094c..7f7b96d 100644 Binary files a/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ and b/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ differ diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 926f0ce..b129a0a 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -321,6 +321,9 @@ def thermald_thread(end_event, hw_queue) -> None: # if the temperature enters the danger zone, go offroad to cool down onroad_conditions["device_temp_good"] = thermal_status < ThermalStatus.danger + + onroad_conditions["device_temp_good"] = False + extra_text = f"{offroad_comp_temp:.1f}C" show_alert = (not onroad_conditions["device_temp_good"] or not startup_conditions["device_temp_engageable"]) and onroad_conditions["ignition"] set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text) diff --git a/selfdrive/ui/qt/ready.cc b/selfdrive/ui/qt/ready.cc index fdf5604..1bd194b 100644 --- a/selfdrive/ui/qt/ready.cc +++ b/selfdrive/ui/qt/ready.cc @@ -46,6 +46,14 @@ void ReadyWindow::paintEvent(QPaintEvent *event) { // Draw the pixmap at the calculated position. painter.drawPixmap(x, y, comma_img); + + // TODO: Referencw widgets/offroad_alert.cc + // std::string bytes = params.get(key); + // if params value Offroad_TemperatureTooHigh is set with bytes > 0, then + // temp is too high. show hot.png. Add current temp to the right of the logo. + // otherwise, if offroad_alert widget would otherwise display, then ditch the ready.cc + // screen and go to home.cc. + } void ReadyWindow::showEvent(QShowEvent *event) { diff --git a/system/clearpilot_about.txt b/system/clearpilot_about.txt new file mode 100644 index 0000000..c9d3e6c --- /dev/null +++ b/system/clearpilot_about.txt @@ -0,0 +1,23 @@ +ClearPilot + +Clearpilot is a fork of FrogPilot and OpenPilot, and aims to be a simplified and feature enhanced version of openpilot. The primary goal is to reduce some of automations of the driving assistance and focus primairly on lane keep assist and speed control, simplify the user interface, and add some quality of life features. + +Clearpilot features: +- Button spam speed control for cars where op long is not available or not prefered +- Automatically lower speed on curves +- Warn when approaching significantly reduced speed traffic +- Always on lateral +- Disengage lateral on lane change +- Dashcam recording +- Set speed to speed limit via cruise accel / decel buttons +- Multiple info screens including weather +- Custom function mapped to LKAS button +- Customizable UI elements / colors +- Optional Relaxed monitoring mode + - not available in europe, heavy traffic, night +- Optional Strict monitoring mode based on conditions (lower timeouts, require wheel) + - heavy traffic, guest user +- Disable all comma.ai telemetry +- Settings lockout via pin key + +Special thanks to frogpilot, clearpilot, and comma ai for their development of the underlying operating system and software which powers clearpilot. \ No newline at end of file