Files
oscarpilot/notes
Your Name a5adf74b23 wip
2024-02-15 21:16:05 -06:00

102 lines
4.8 KiB
Plaintext

hyundai/interface ENABLE_BUTTONS = (Buttons.RES_ACCEL, Buttons.SET_DECEL, Buttons.CANCEL)
- The speedometer icons are at:
- void AnnotatedCameraWidget::updateState(const UIState &s) {
- Test: no more wheel or record icons
- test: 5 minute timeout settings screen
- SSH reverse proxy if it is my personal dongle ID
- Read all car variables:
- Dash speed
- Experimental desired speed
- engagement
- UI updates:
- Turn HDA2 icon off if in experimental mode
- Show "AUTO" in green if in auto speed mode via wheel icon
- Simulated button presses
- Down / Up / Resume
- CAN data:
- Windows down
- Lead car distance while in stocklong
- Lead car is getting away
- Disable all telemetry to comma
- Conditional telemetry to me
- More than one wifi network - specify set wifi network for dashcam / route uploads and one for basic coms
- Implement stocklong on GM cars
- settings screen updates
- store / restore OP settings on my server
- cleanup code / reorganize fork
- Info button interception
- Set speedometer as main display on car start
- Set hvac to standard when car started w/ key (openpilot on)
- Store settings on device and on server when possible by dongle id. restore settings on boot.
- Bring up wifi before compile. If automatic updates are enabled and a update is available, fetch it and compile.
- disable lat turn signal below hwy speeds
- setting: disable lane change assist alltogether
- setting: auto passive dash cam recorder / uploader
- new home screen - weather, radar, location, car status, other fun things
- car location tracker automatic upload / api of car location
- can i get the cabin temprature from the comma??? display on home screen?
- review "BBOTCRASH" - rewrite the crash handler
https://github.com/pfeiferj/pfeifer-pilot-patches/tree/pfeifer-openpilot-patches/speed-limit-control
https://github.com/pfeiferj/pfeifer-pilot-patches/tree/pfeifer-openpilot-patches/disable-dcam-upload
https://github.com/pfeiferj/pfeifer-pilot-patches/tree/pfeifer-openpilot-patches/disable-registration
https://github.com/pfeiferj/pfeifer-pilot-patches/blob/pfeifer-openpilot-patches/notes/bus%20numbers.md
- It should do practically everything that opkr fork does
- MOST NOTABLY SteerActuatorDelay
Weather:
Ideally we intercept the info buttons on the wheel to control this.
UI: https://github.com/jclarke0000/MMM-OpenWeatherForecast/blob/master/README.md
Radar: https://github.com/jojoduquartier/MMM-RAIN-RADAR
Embed possibility: https://cefview.github.io/QCefView/docs/intros/buiding
Openpilot implementation example: https://github.com/twilsonco/openpilot
Get modem tempratures:
gdbus call --system --dest org.freedesktop.ModemManager1 --object-path /org/freedesktop/ModemManager1/Modem/1 --method org.freedesktop.ModemManager1.Modem.Command "AT+QTEMP" 50
Goals:
1 - get current dash speed via calculate_speed_limit_canfd
2 - issue set decel button via LFA button (proof of concept)
3 - chirp when speed limit changes
4 - Use LFA button to set speed of cruise to desired speed - 0-36 speed limit +3, 36-59 + 5, >= 60 +7
5 - On experimental mode engage, adjust cruise speed to experimental model speed
- Verify pause lateral under 30 is enabled
Wishlist:
- When car reports seeing lanes, turn lane keep over to car, resume when car can't see lanes or turn signal is activated
- Get hyundai speed limit reader merged into frogpilot
- Get stock experimental mode controller merged into frogpilot
- send canbus messages for current nav instruction / song playing - add my own notices
- start car on speedometer display
- signal windows are rolled down when turning off car
- Setup sentry
Pie in the sky:
- Roll up windows on power off (debug dump canbus)
OPKR features:
- Auto Resume at Stop
- Button Spam CC
- auto select speedometer on boot
- Accelerated Departure by Cruise Gap: Cruise gap automatically changed to step 1 for faster departure, sets back to orignal gap selection after few second.
- Weather radar screen (accessible by wheel)
- weather forecast screen (also by wheel)
- auto consent to carplay on car start
- auto hvac to comfortable on drve mode
ret.cruiseState.standstill cp_scc.vl["SCC11"]["SCCInfoDisplay"] == 4.
Interesting can messages
SG_ C_SunRoofOpenState
CR_Datc_DrTempDispF
2-9 test notes
- Only the icon with the lane lines is showing after recent lkas mods - can we show amber?
- pressing lkas distance does in fact cancel cruise, if only for a second. that means that it response to the cancel button - and possibly resume too?
- test: set cluster speed directly
- test: simulate down button on wheel
- we should put a splash screen of the pacman ghost over the main startup display, and only reveal the interface when we tap on it
- Fix: read speed limit from car computer, flicker LKAS button when it is out of range