18 lines
940 B
Plaintext
18 lines
940 B
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
|
|
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
|
|
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 |