- Add ACCEL_PERSONALITY_OPTIONS global variable
- Move accel_controller and dynamic_follow logic out of stock
- Add get_accel_clip(), get_cruise_min_accel(), get_t_follow() methods to LongitudinalPlannerSP
- Stock long_mpc.py now accepts optional a_cruise_min and t_follow
no lead dempaning
ref
Update acceleration and braking profiles
slight adjustments to decel
exponential and mv avg
tune
improve accel limits and lead dampening
bpvs
Refactor follow distance profiles and smoothing logic
Updated follow distance profiles and added smoothing factor for dynamic follow behavior.
Refactor acceleration profiles and smoothing logic
Updated acceleration and braking profiles for different personalities, added smoothing and rate limiting for acceleration adjustments.
reft
tun
adjust accel and braking profiles
Update accel_controller.py
slight adjustment
try lower and no expno
Revise follow distance profiles and smoothing parameters
Updated follow distance profiles and breakpoints for different personalities. Adjusted smoothing parameters for better performance.
Refactor acceleration and braking profiles
lower ki and no smoothing to last min call
try
Update dynamic_follow.py
new new
fff
Update accel_controller.py
try
what if
just try
df exponential smoothing
exponential smoothing
tt
Update custom.capnp
conflic
ff
ref
rebase fix
* Give this a try
* can codex debug?
* simpler
* Revert "simpler"
This reverts commit 572335008c1c719aa985d14bd740253ff94b94a9.
* better
* cleanup
* try again
* tie
* try this
* try this
* do tests fail without this?
* doesn't seem needed
* unused
* don't need duplicate
* passes CI?
* try this
* try this
* try this
* I don't understand this, so back to before
* keep that alignment
* set uv_height
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* Option Control
* Need this
* introducing ui_state_sp for py
* param to control stock vs sp ui
* better
* add ui_update callback
* better padding
* this
* listitem -> listitemsp
* Revert "add ui_update callback"
This reverts commit 4da32cc009.
* add show_description method
* remove padding from line separator.
like, WHY? 😩😩
* simplify
* I. SAID. SIMPLIFY.
* AAARGGGGGG.....
* init
* option control value fix
* add all controls
* hide all controls
* lint
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* optimizations
* Removed hide for now
* refresh controls
* ugh
* global brightness
* initialize
* inline everything again
* change name
* Onroad Brightness reimpl
* Custom Interactive Timeout reimpl
* Global Brightness Override reimpl
* keep stock
* ui: Custom Interactive Timeout
* rename
* ui: Customizable Onroad Brightness
* lint
* lint
* Revert "Global Brightness Override reimpl"
This reverts commit 53522da4f8.
* Revert "Custom Interactive Timeout reimpl"
This reverts commit 459863a9bb.
* Revert "Onroad Brightness reimpl"
This reverts commit 4092d23e57.
* fixes
* lint
* reset on show/hide
* reset on show/hide for mici
* only set if true
* wrong var
* try this out
* use clear
* starts cleanup
* wake for all visual alerts and handle timeouts
* fixup: wake for all visual alerts and handle timeouts
* handle always wake if there's an event properly
* some
* slightly more
* need this back
* Reapply "ui: Global Brightness Override (#1579)"
This reverts commit a0c10be1ff.
* do not touch light sensor logic
* override properly and clip to 30% minimum
* wrap
* lint
* update immediately
* read
* max global brightness
* rename
* gotta do it for mici too lol
* update metadata
* desc
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: DevTekVE <devtekve@gmail.com>
* ui: Customizable Onroad Brightness
* fixes
* lint
* reset on show/hide
* reset on show/hide for mici
* only set if true
* wrong var
* try this out
* use clear
* starts cleanup
* wake for all visual alerts and handle timeouts
* fixup: wake for all visual alerts and handle timeouts
* handle always wake if there's an event properly
* some
* slightly more
* need this back
* Reapply "ui: Global Brightness Override (#1579)"
This reverts commit a0c10be1ff.
* do not touch light sensor logic
* override properly and clip to 30% minimum
* wrap
* lint
* update immediately
* read
* max global brightness
* rename
* gotta do it for mici too lol
* revert
* Revert "revert"
This reverts commit 121a082de1.
* no more
* ui
* more
* intenum
* simplify ONROAD_BRIGHTNESS_TIMER_VALUES
* no more toggle
* 15 seconds countdown for auto dark regardless
* auto dark refinement
* only consume if expired
* immediately set
* rename
* update sl metadata
* no more
---------
Co-authored-by: nayan <nayan8teen@gmail.com>
Co-authored-by: DevTekVE <devtekve@gmail.com>
* Remove cython for transformations
* Add new test
* Switch back to program to fix mac builds
* Convert to Python instead
* Fix failing builds
* lint
* Implement conversion in pure python/numpy
* Add more tests
* Fix bugs in tests