Files
oscarpilot/notes
Your Name da6553c24d wip
2024-02-09 17:24:49 -06:00

35 lines
1.7 KiB
Plaintext

hyundai/interface ENABLE_BUTTONS = (Buttons.RES_ACCEL, Buttons.SET_DECEL, Buttons.CANCEL)
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
Pie in the sky:
- Roll up windows on power off (debug dump canbus)
OPKR features:
- Auto Resume at Stop
- Button Spam CC
- Accelerated Departure by Cruise Gap: Cruise gap automatically changed to step 1 for faster departure, sets back to orignal gap selection after few second.
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