* WIP try modeld all in python
* fix plan
* add lane lines stds
* fix lane lines prob
* add lead prob
* add meta
* simplify plan parsing
* add hard brake pred
* add confidence
* fix desire state and desire pred
* check this file for now
* rm prints
* rm debug
* add todos
* add plan_t_idxs
* same as cpp
* removed cython
* add wfd width - rm cpp code
* add new files rm old files
* get metadata at compile time
* forgot this file
* now uses more CPU
* not used
* update readme
* lint
* copy this too
* simplify disengage probs
* update model replay ref commit
* update again
* confidence: remove if statemens
* use publish_state.enqueue
* Revert "use publish_state.enqueue"
This reverts commit d8807c8348338a1f773a8de00fd796abb8181404.
* confidence: better shape defs
* use ModelConstants class
* fix confidence
* Parser
* slightly more power too
* no inline ifs :(
* confidence: just use if statements
* Dynamic End to End Longitudinal
* Revert "Dynamic End to End Longitudinal"
This reverts commit cec0fa8ad23b8473b27c58f6d20ba6d4d58e726e.
* Dynamic Longitudinal Controller
* Update CHANGELOGS.md
* add to builds
* Name change
* Toggle at wrong place :p
* oops take this out for now
* ZeroDivisionError
* add mpc mode to cereal
* add mpc mode to cereal
* Add UI button, replace MEMORY with DLC status in dev UI
* small change
* Higher stop counts
* add blinker logic
* initial set normally if DLC is on
* Update CHANGELOGS.md
* Fix
* fixes
* add dlc to Feature Status
* catch AttributeError
* fix
* add btn
* Dynamic Longitudinal Control (DLC) -> Dynamic Experimental Control (DEC)
* Capitalization on ACC and Blended
* add here
* sync
* sync
* Update CHANGELOGS.md
* cleanup
* more cleanup
* ui: only allow single speed limit type to display
* Use unit conversion to set speed limit style if not nav
* Remove Speed Limit Style override options
* unused
* unused
* first draft copy, needs updates
* gate behind exp mode
* can be one line
* this is no longer true
* toggle isn't just e2e long now, rename
* don't enable/disable
* kinda works!
* remove old giant qstring
* comment clean up
* similar breakpoint
* more clean up
* fixup onroad
* preserve planner behavior, and we don't need to look at confirmed param if we're onroad
* update translations
* vanish translations
* use scene for op long
* lowercase!
* updated copy
* need to check longitudinal here now too
* clean up!
* here is better
* used
* no nav emoji
* don't check param if not valid
* revert this
revert this
* ed
* 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
* 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
* 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>
* Gap Adjust Cruise (GAC): init
* cs: add longitudinal supported cars
* disable for Toyota for now
* send to car cluster
* more
* KrKeegan: More Aggresive Start from Standstill
* fix
* set prev button after
* init bool
* wrong var
* use common update param function
* bruh no wonder why
* lock to default distance when using exp mode
* make vw match other makes
* implement ui button
* gate ui button
* log desired_TF
* move button
* only show when cruise state available
* only allow press when cruise state available
* Revert "KrKeegan: More Aggresive Start from Standstill"
This reverts commit 20bdff34c83d5a0c248d6996155c995c8a99810f.
* unnecessary
* nothing else
* pass it through
* add toyota support
* fixup! add toyota support
* oops, necessary
* don't show ui button when using e2e long
* different signal to use
* Forgot to update
* Clean it up?
* this?
* ugh
* force int!!
* convert then round
* hide when in exp mode
* toyota: log button
* Revert "different signal to use"
This reverts commit edc64d31af527af842aabe2934e5720f73bf75cc.
* toyota flippy flippy
* wrong signal for vw
* oops
* 10s lat
* Full length MPC
* redfine N
* Leave controls the same for now
* Updates
* use long plan in lat plan
* interp plan
* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/
* expand to 10s
* revert this
* fix linter
* vizualize
* fix long test
* typo
* cleanup
* compiles
* unused
* unused
* bump cereal
* bump cereal
* use model if no uiplanm
* update replay
* update ref commit
* bump cereal to master
* test with forceDecel
* test all combos
* fix
* fix
* fix
* ...
* remove print
* clean up
* just set cruise to 0
* update ref commit
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>