* make it callable
* ui: disable longitudinal personality when GAC is enabled
* different profiles between stock and gac
* not this class
* update profiles in stock
* only checks once on init
* Match GAC names
* update description
* Auto Lane Change: Delay execution if lane change was blocked by BSM
* add toggle
* add changelogs
* flipped
* show/hide toggles with param updates
* fix docs
* 1 second instead
* Use whatever stream is available as main, if there's only one
* Move logw somewhere else
* Add wideRoadCameraState to ignore_alive if its not available
* Custom Stock Longitudinal Control - base
* HKG
* simpler
* expose toggle
* allow events and engagements
* gate hysteresis for now
* screen tap SLC logic
* Honda
* update with submaster
* Revert "simpler"
This reverts commit 61b9a02faec721d4460c50c6e3f81b7d459d506b.
* send to cereal
* handle new pcm cruise engagement on HKG
* small cleanup
* define vehicle-specific lowest set speed
* not fitting
* new logic to help with weird rapid spam
* comment
* gaspressed don't override
* slow down button send when 2 values away
* less complex
* round them up
* Revert "less complex"
This reverts commit d850c404cccca5940f4e861c5df0317a38a4ab6b.
* gotta convert
* only slow down for slc and normal
* gaspress allow override
* no delay
* gate behind custom stock long
* add hysteresis to curve speed button sends
* remove limiting for Honda
* Revert "remove limiting for Honda"
This reverts commit b50f6199508e313fa1a30e1ab74970c507d89d78.
* 20/4 hz
* 25 times, just like old times
* god damn slow it down
* faster
* a tad bit faster
* slower at the end
* Volkswagen
* more checks
* log vw customs stock long
* change it up
* change it up for vw checks
* oops
* make sure it sends 10 times before changing to another button sets
* unnecessary
* use different count
* better logic
* bring back speed_diff
* vw: faster
* chrysler support
* mazda support
* fixup! chrysler support
* bump panda
* bump panda
* fix upstream merge
* Enable for Mazda
* initial and lowest set speed for all supported brands
* use buttonEvents from carstate for FCA and Mazda
* gate this behind non PCM only
* lower calls
* fix counter in button send
* log FCA and Mazda
* format
* just send one copy
* FCA: make SET+ set instead of resume
* Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71
* Updated model_replay_ref_commit
(cherry picked from commit 328b5d9d47)
* Revert "FCA: make SET+ set instead of resume"
This reverts commit 523a0537b728e8243e9cecb47169799d519aac3f.
* try this out
* try to match jvepilot's logic
* send with extra incrementing counts
* Revert "Revert "FCA: make SET+ set instead of resume""
This reverts commit f414a51e784b040d0f04881adcfc78d7faacda2a.
* have to block it
* lower send at 4 Hz
* can't be int
* 10 Hz max, 1 copy
* mazda send at 10 Hz
* chrysler at 10 hz
* send at 10 Hz
* remove this check for vw for now
* hkg can-fd go back to 4Hz, 1 copy
* hkg can-fd go back to 5Hz, 1 copy
* vw: different send freq logic
* Set cruise button every frame for FCA and HKG
* Set cruise button every frame for Mazda
* Revert "Set cruise button every frame for HKG"
* can't use brackets
* FCA: only send if counter has changed
* HKG CAN-FD: only send if counter has changed
* only up button frame if needed
* Revert "Set cruise button every frame for FCA"
* HKG CAN-FD: fix name
* FCA: handle resume button press engage cruisestate enabled
* FCA: separate RAM and non-RAM
* bump panda (test CAN Bus Disconnected bad commit)
* bump panda
* bump panda
* Revert "Nicki Minaj Model (#28218)"
This reverts commit 348f68b68c0bd2fcb6fdd6269e911d63ada968b4.
* gate behind customStockLong
---------
Co-authored-by: Mitchell Goff <mitchellgoffpc@gmail.com>
* GAC: Harald's method
* unused
* match harald's
* Revert "match harald's"
This reverts commit f2015eb2d8ffe80f8e02ffb92bd1d244dbfdb38c.
* try this
* Revert "try this"
This reverts commit 993adce26f594c5d2da1752657fe3af21c17cd27.
* do this instead
* fix
* cleanup
* align with harald's method
* fix init at 0
* use cereal
* unused
* maniac, aggro, stock
* unused
* fake lead when no lead
* print desired following distance from lead_0
* default at 3
* update carstate obj
* clip this
* use actual profiles
* cleanup
* scale maniac text smaller
* should be 1
* refactor radard
* Revert "refactor radard"
This reverts commit 4b3507ff58e753334969b6ba2c2f6b1b35a200cc.
* May work
* No radar for test
* check length
* no accel for now
* First accel
* Cleaner way
* Re-enable radar
* update proc replay
* This might cause oscillation
* Update ref commit
* don't initialize lane change if road edge detected
* add event
* use frog's method
* sync name
* unused
* Only block during preLaneChange
* change it up
* UI: Display E2E Longitudinal status icon
* don't forget init
* take these out
* and this
* can't leave this
* spam the event
* publish here instead
* try this now
* expose the toggle
* Spam all the time!!!
* Spam all the time with this!
* see if this works
* new way to trigger
* fix
* another one
* more to it
* more of that
* move to car controls instead
* no longer needed
* 20 hz
* unnecessary
* send like this pls
* move to long planner
* let's see what it looks like first
* don't alert yet lol
* re-enable and try out prompt!
* move chime event to longitudinal_planner
* AlertStatus to userPrompt
* Add more reset conditions
* less conditions to test first
* louder sound
* permanent alert
* LOUDER SON!
* use stock prompt
* Revert "less conditions to test first"
This reverts commit b24a096e65e80f303f7d92072cdf273a30dd37e2.
* remove lead car take off alert (in separate PR)
* cleanup
* longer
* Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71
* Updated model_replay_ref_commit
(cherry picked from commit 328b5d9d47)
* use the event
* move logic to c++
* cleanup
* no prompt border
* use brake light from car state
* lead car take off event
* lead car take off event
* always reset last distance
* show border when prompted
* remove lead car take off alert (in separate PR)
* don't prompt when lead car detected
* Revert "Nicki Minaj Model (#28218)"
This reverts commit b25e96c9d8fe0ac3a93c97eec2e91064c12a5649.
* bad sounds
* simpler
---------
Co-authored-by: Mitchell Goff <mitchellgoffpc@gmail.com>
* replay_process_with_fake_sockets implementation
* add missing polled_pubs to configs
* drained_pubs field
* updated cereal
* Remove python/native variations of process replay. Replace with universal one using cereal fake sockets
* Replace old py FakeSocket with DummySocket
* Invalidate and deregister fake sockets after replay is done
* Remove unused import
* Set up new prefix for each replay
* Fixes for radard
* Refactor ReplayContext and ProcessConfig
* Minor fixes
* Reimplement controlsd fingerprinting callback
* time.sleep for sockets to safely reconnect
* Fix fingerprinting for controlsd
* Fixes for regen to work
* Fix replay loop to respect submaster frames
* Fix profiler to use new ProcessConfig fields
* Remove tqdm
* Refactor tests to use new ProcessConfig
* Add FrequencyBasedRcvCallback
* Make tolerance None by default
* Update cereal
* Add get_process_config utility func
* Update cereal. Simplify sync procedure
* Chain context managers
* New sub-socket reconnection procedure
* Fix linter issues
* Revert chaining of context managers
* Init controlsState only when replaying controlsd. Update cereal
* Update cereal
* Update process_replay to use new cereal API
* Update cereal
* Update cereal
* Update cereal
* Simplify radard recv callback
* Update release/files_common