Files
clearpilot/openpilot/clearpilot_design.txt
Comma Device 1ff14d346f wip
2024-05-14 08:21:27 +00:00

85 lines
2.8 KiB
Plaintext
Executable File

Goals:
Tasks:
Buttons:
- Cruise: Standard
- Up: If below limit, set speed to limit, else std
- Stop / Res: Standard
- Down: If above limit, set speed to limit, else std
- Distance: Std
Primary:
- Vastly simplified and opinionated settings
- - force stock long
- Privledged mode for specifically enabled dongles
- - option for relaxed babysitter / no babysitter (privledged)
- - Light warning at 6 seconds / Loud at 12, relaxed model light 15 / Loud 25
- -
- - Override if hands on wheel
- change dash icon statuses to be more useful
- test canbus capture
- capture buttons, car inputs
- custom button press emulation
- custom experimental mode emulation
- disable all lane change stuff except pause lat on turn signal under 30
- disable all non alert sounds, force alert sounds on
- fix cruise control engage so it still activates always on lat even when breaking
- ideally it fakes the cruise hud as well, and activates cruise when brakes released
- System for abstracting out automation events so it can be ported to other car types
- On screen speed limit should show current virtual set speed
- Conditionally display speed limit when out of range of speed limit
- Speed green when set to speed limit
- Increase speed up to 2 mph w lead and set to speed limit
Canbus goals:
- Detect if HVAC on
- Set hvac auto
- Detect if sunroof open
- Set sunroof closed
- Button spam cruise
- Auto resume from stop
- Get dash speed limit
- Set drive mode to 'smart'
- Radar based distance to lead (compare value to vision)
Maybe not possible but nice to have:
- change dash info display to mph
Secondary:
- auto enable ssh
- stealth mode (screen off)
- Custom icon, overridable
- dash cam feature
- warn on red light
- warn on green light
- weather report on idle
- resume when lead car driving away on cruise
- capture hyundai speed limit correctly
- auto cruise control speed setting (press button to change speed, obvious indicator speed is wrong)
- UI changes - more obvious when engaged / always on lat / conditional / off for passengers
Stretch goals:
- port to GM
- Here maps API for location (cache location)
- Here maps API for traffic - warn if heavy traffic
- Auto set dash display to MPH
- Auto set smart drive mode
- Detect or ideally close sunroof on off
- Auto enter carplay on boot
- Weather report on steering star button
Release notes inre safety:
- Dont ever fully disengage openpilot but if the user hits termination threshold, force
user to use wheel with lots of bitching until they stop and restart
- Allow user to enter a url that can go to a dockerized instance of a clearpilot managment server.
The server allows for:
- Tracking of current location
- Tracking of route history
- Customize logo
- Reverse ssh
- Execute scripts on start (this is where people can hack the safety file)