29e55f99a5 
								
									
								
							
								 
							
						 
						
							
							
								
								Move personality to controlsState ( #31855 )  
							
							... 
							
							
 
							
							* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
* revert ui
* not here
* migrate controlsState
* Revert "migrate controlsState" - i see no reason we need to test with
any specific personality
This reverts commit 6063508f2df1a5623f113cda34dcd59a1f4b2ac9.
* Update ref_commit
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								fdab60cad7 
								
									
								
							
								 
							
						 
						
							
							
								
								longitudinal planner: start at personality param ( #31788 )  
							
							... 
							
							
 
							
							start at param 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d6cece756c 
								
									
								
							
								 
							
						 
						
							
							
								
								longplanner: expose dt ( #30941 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								35f819c823 
								
									
								
							
								 
							
						 
						
							
							
								
								swaglog.py goes in common/ ( #30631 )  
							
							... 
							
							
 
							
							* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								cad17b1255 
								
									
								
							
								 
							
						 
						
							
							
								
								modeld: parsing and publishing in python ( #30273 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a9626f95b6 
								
									
								
							
								 
							
						 
						
							
							
								
								add openpilot prefix to imports ( #29498 )  
							
							... 
							
							
 
							
							* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8ca7753c95 
								
									
								
							
								 
							
						 
						
							
							
								
								longitudinal_planner.py: cleaner variable assignment ( #29290 )  
							
							... 
							
							
 
							
							* cleaner variable assignment
* Update selfdrive/controls/lib/longitudinal_planner.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a61df2bdde 
								
									
								
							
								 
							
						 
						
							
							
								
								controls: use common car interface acceleration limits ( #29184 )  
							
							... 
							
							
 
							
							* Duplicate Accel param
using interfaces accel param
* revert brand accel value
* import error
* sort
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b5b431c12d 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "experimental mode: gate navigate on openpilot ( #28883 )" ( #29005 )  
							
							... 
							
							
 
							
							This reverts commit f973d605b2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f973d605b2 
								
									
								
							
								 
							
						 
						
							
							
								
								experimental mode: gate navigate on openpilot ( #28883 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								48b507c0b4 
								
									
								
							
								 
							
						 
						
							
							
								
								handle conversion exception for LongitudinalPersonality ( #28426 )  
							
							... 
							
							
 
							
							* handle type conversion exception
* catch multiple exception 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								205c900742 
								
									
								
							
								 
							
						 
						
							
							
								
								Driving Personality setting (also changes follow distance) ( #24742 )  
							
							... 
							
							
 
							
							* Skeleton
* Adjustable follow parameter
* fix rebase
* long planner
* typo
* Add ui toggle
* Fix icon
* Improve text
* Better toggle position
* Im a UX engineer now
* add param reader
* CHange jerk to have same crash test performance
* Try reading param
* Unused comment
* translate ui text
* std stoi
* Parametrized buttons
* Empty strings are ints
* Move to generic
* Update translations
* Fix translation diffs
* Release notes
* update refs
* tweaks
* Misc fixes
* No param is standard 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a599890fed 
								
									
								
							
								 
							
						 
						
							
							
								
								Lateral Planner: Calibrate model speed with vEgo ( #28049 )  
							
							... 
							
							
 
							
							* calibrate speed in the lateral planner
* make speed err helper fn
* check if trans has values
* clip the vel_err
* update refs 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3ab8645d3a 
								
									
								
							
								 
							
						 
						
							
							
								
								uiPlan: add planned acceleration field ( #27484 )  
							
							... 
							
							
 
							
							* add accel
* bump cereal
* Update ref_commit
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								eb8bdc0026 
								
									
								
							
								 
							
						 
						
							
							
								
								MPC path in UI ( #27380 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b45dda2d0a 
								
									
								
							
								 
							
						 
						
							
							
								
								Longitudinal tests: test forceDecel ( #26765 )  
							
							... 
							
							
 
							
							* 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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e6fcc2d6aa 
								
									
								
							
								 
							
						 
						
							
							
								
								planner: read experimental mode from controlsState ( #26553 )  
							
							... 
							
							
 
							
							read from controlsState 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9f80a97eee 
								
									
								
							
								 
							
						 
						
							
							
								
								longitudinal tests: add disabled maneuver ( #26470 )  
							
							... 
							
							
 
							
							* undeclared variable
* run first second disabled
* only test
* test disabled as a new maneuver
* bottom 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								98206fb92e 
								
									
								
							
								 
							
						 
						
							
							
								
								planner: fix undeclared variable ( #26468 )  
							
							... 
							
							
 
							
							* undeclared variable
* run first second disabled
* revert test
* rev 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f23296bc87 
								
									
								
							
								 
							
						 
						
							
							
								
								Add force decel to e2e long ( #26448 )  
							
							... 
							
							
 
							
							* add force decel to e2e
* Update longitudinal_planner.py 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9a3f468051 
								
									
								
							
								 
							
						 
						
							
							
								
								experimental mode ( #26416 )  
							
							... 
							
							
 
							
							* experimental mode
* rename param
* red lights 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f63f0de80a 
								
									
								
							
								 
							
						 
						
							
							
								
								E2e long model: calibrate model speed to wheel speed ( #26395 )  
							
							... 
							
							
 
							
							* calibrate!
* Fix test
* Fix proc replay
* check len
* get v_ego from model 8501d20-bb59-4193-aa82-82b2737dedd6/449 609d90f3-65e6-4617-a60c-d6d99eead408/700
* bump cereal
* initialize v_model_error
* typo
* better names
* cleanup
* bump cereal
* update model replay ref commit
* bump to cereal master
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								253e5d7f9d 
								
									
								
							
								 
							
						 
						
							
							
								
								FCW: less false positives ( #26366 )  
							
							... 
							
							
 
							
							* Less FP for FCW
* enable fcw for e2e long 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b80f2efdf2 
								
									
								
							
								 
							
						 
						
							
							
								
								No fcw when standstill ( #26252 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cb0b7375b7 
								
									
								
							
								 
							
						 
						
							
							
								
								Rocket Launcher Model ( #25963 )  
							
							... 
							
							
 
							
							* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300
* compute only 9 tokens: 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300
* tinygrad: cleanup gather
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/700
* empty commit for tests
* bump tinygrad
* dont use tinygrad matmul for now
* bump tinygrad
* 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* float16 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* increase steer rate cost
* Revert "increase steer rate cost"
This reverts commit 74ce9ab9be7ef17ecfec931f96851b12f37f2336.
* fork tinygrad
* empty commit for tests
* basics
* Kinda works
* new lat
* new tuning
* Move LATMPCN so scons compiles
* Update long weights
* Add tinygrad optim
* Update model ref
* update weights
* Update ref
* Try
* Error message for field ignore
* update model regf
* ref commit
* Fix onnx test
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e5d2c3ce7a 
								
									
								
							
								 
							
						 
						
							
							
								
								Planner cleanup ( #25969 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4bd146ee7a 
								
									
								
							
								 
							
						 
						
							
							
								
								Longitudinal planner: clip a_desired to cruise limits ( #25928 )  
							
							... 
							
							
 
							
							* Clip a_desired to cruise limits
* Update selfdrive/controls/lib/longitudinal_planner.py
* fix
* update refs
* explicit 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1007df874f 
								
									
								
							
								 
							
						 
						
							
							
								
								Minor ACC fixes ( #25911 )  
							
							... 
							
							
 
							
							* Change cruise accel limits
* Long tuning script looks good
* Cap cruise slowdown aggression in e2e mode
* Revert atau change
* Cleanup
* Update ref
* fix ref 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3ef37fe2e8 
								
									
								
							
								 
							
						 
						
							
							
								
								split out experimental long toggle ( #25698 )  
							
							... 
							
							
 
							
							* split out experimental long toggle
* clean up
* update translations 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8857e02dd4 
								
									
								
							
								 
							
						 
						
							
							
								
								Live e2e long toggling ( #25685 )  
							
							... 
							
							
 
							
							Live toggling 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7899fb79c1 
								
									
								
							
								 
							
						 
						
							
							
								
								More conservative lead policy in e2e long mode ( #25684 )  
							
							... 
							
							
 
							
							* Add params for lead and danger
* fix long params
* E2e passes simple maneuver tests
* Make tests run with e2e long mode
* Slightly more error allowed in e2e mode
* FCW back and populate long source field
* Fix planner name
* FCW still doesnt work
* Slightly less aggressive
* Doesn't need to simulate from stop 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								faff2b8950 
								
									
								
							
								 
							
						 
						
							
							
								
								Add e2e long toggle ( #25638 )  
							
							... 
							
							
 
							
							* Add toggle
* Misc fixes
* Update translations
* pre alpha not great 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e1b7a37a1f 
								
									
								
							
								 
							
						 
						
							
							
								
								Support e2e long in longitudinal planner ( #25636 )  
							
							... 
							
							
 
							
							* refactor
* Add planer modes to support offline, acc, and blended
* add acceleration
* Fix index
* Update model ref
* Read in model outputs
* Add model msg
* Add e2e logic
* Add source 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f797567ef8 
								
									
								
							
								 
							
						 
						
							
							
								
								long planner: run when using stock longitudinal ( #25017 )  
							
							... 
							
							
 
							
							* Squashed commit of the following:
commit e27a5b4e2bfeab4e6a47440b1d4eb180ee4acf49
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Jul 1 14:10:06 2022 -0700
    remove this test
    remove this test
commit c3c10af82222ea4641d94c53a3a07b486cca8452
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Jul 1 14:08:15 2022 -0700
    only planner changes
commit 50e0f1d8704c15acfce8987faf3515c99e8af4f4
Merge: e088fde67 fcc5b3d70c49f997be879a7c320d8bfe2f0095d8517a8 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0fce5d9045 
								
									
								
							
								 
							
						 
						
							
							
								
								Move a bunch of stuff to system/ part 3 ( #24829 )  
							
							... 
							
							
 
							
							* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								eaa5819211 
								
									
								
							
								 
							
						 
						
							
							
								
								commIssueAvgFreq: separate alert for avg freq check ( #24150 )  
							
							... 
							
							
 
							
							* commIssueAvgFreq: separate alert for avg freq check
* bump cereal
* bump cereal
* bump cereal
* freq_ok separate from alive
* bump cereal to master
* update_ref
* fix profiler 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f1f40c117a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add Disengage on Accelerator Toggle ( #23977 )  
							
							... 
							
							
 
							
							* Squashed commit of the following:
commit 953bcf0ecf8d03f0fec9ce0d5442cc660ae2347d
Merge: b4198608d 333257bad0b9790dd281862fce7d60c44e03⛽  ➡️  🔋 
    bump
commit d2b64b89cf8d7265bc90848b4e3a2276c9a4cb78
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Mar 24 16:19:34 2022 -0700
    these changes will be in border PR
    these changes will be border PR
commit bed31e63de2244c161729773978fef8a9246ddb5
Merge: 491417640 e91613bc6c88ced1f199c02bdd2db7b49c715fe00fb77d7c758d4b🔥 
commit 1885c9e2bacd9351c7e421b1436dcbfbde238436
Merge: 1f591736a 9c70e8bca7410160d03e915cf62 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5a8b4bbcaa 
								
									
								
							
								 
							
						 
						
							
							
								
								LongitudinaPlanner: add comment about lateral accel calculation ( #24096 )  
							
							... 
							
							
 
							
							* space
* if 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5c3f3e44bc 
								
									
								
							
								 
							
						 
						
							
							
								
								break up selfdrive.config ( #23959 )  
							
							... 
							
							
 
							
							* break up selfdrive.config
* add to release files
* fix import order 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ab371f888a 
								
									
								
							
								 
							
						 
						
							
							
								
								Longitudinal MPC set qp tolerance to 1e-3 ( #23899 )  
							
							... 
							
							
 
							
							* initialize solverExecutionTime longitudinal_planner
* test_onroad: improve timing evaluation
* longitudinal MPC: set qp_tol to 1e-3
* update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								428d412c1f 
								
									
								
							
								 
							
						 
						
							
							
								
								longitudinal planner: disable change cost when stopped. not engaged or gas pressed ( #23639 )  
							
							... 
							
							
 
							
							* disable change cost completely on standstill and gas press
* cleanup
* set accel to zero
* clean up logic around standstill
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f76328b426 
								
									
								
							
								 
							
						 
						
							
							
								
								Log MPC solver time ( #23566 )  
							
							... 
							
							
 
							
							* add solve time to plan output
* add to process replay ignore list
* print in CI 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								35ec6ac1cb 
								
									
								
							
								 
							
						 
						
							
							
								
								use ndarray.tolist  to convert numpy array to float ( #23485 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9f88ba188a 
								
									
								
							
								 
							
						 
						
							
							
								
								Longitudinal planner: make v_desired a FirstOrderFilter ( #23341 )  
							
							... 
							
							
 
							
							* make v_desired a FirstOrderFilter
* forgot one
* one more ref
* Add a new object for the filter
* fix
* fix tests
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								77a99e7d6d 
								
									
								
							
								 
							
						 
						
							
							
								
								long planner: no reset when starting ( #23149 )  
							
							... 
							
							
 
							
							* long planner: no reset when starting
* let go to 2m/s
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								68015f75ed 
								
									
								
							
								 
							
						 
						
							
							
								
								Set accel trajectory to a_ego when not engaged ( #23100 )  
							
							... 
							
							
 
							
							* Set accel trajectory to a_ego when not engaged
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								93fd662adf 
								
									
								
							
								 
							
						 
						
							
							
								
								Clean up planner files ( #23031 )  
							
							... 
							
							
 
							
							* clean up planner files
clean up planner files
* fix plant instance 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								04cf12cb00 
								
									
								
							
								 
							
						 
						
							
							
								
								ACADOS fix non-convergence when long_plan changes ( #22495 )  
							
							... 
							
							
 
							
							* debug commit
* cleanup
* some indexing bugs
* need more its
* BALANCE is way better it seems
* fix test
* this converges in 2000segs
* new ref
* less cpu 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9ab09f5ae9 
								
									
								
							
								 
							
						 
						
							
							
								
								Retune long mpc ( #22445 )  
							
							... 
							
							
 
							
							* first try
* looks decent
* finalize retune
* back to 3 its
* may need 4 still
* misc cleanup
* new ref
* SPEEEED
* new ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a8b4249ebc 
								
									
								
							
								 
							
						 
						
							
							
								
								Change radar-based FCW to model-based FCW ( #22379 )  
							
							... 
							
							
 
							
							* just use MPC for fcw checking
* thats already bad
* model FCW is always good
* better fcw
* should be good for now
* comment
* linting
* cleaner
* unused 
							
						 
						
							4 years ago