65fca83abe 
								
									
								
							
								 
							
						 
						
							
							
								
								Latency logging 2 ( #24058 )  
							
							... 
							
							
 
							
							* msg_order and gantt
* frameId in long/lat planner
* track frame id
* controls frame id
* graph tracked events
* graph json
* cloudlog timestamp
* c++ cloudlog
* add frame id
* bug fixes
* bug fixes
* frame id visionicp
* bug fixes and debug level
* timestamp log placement
* print timestamps in table
* translate events
* more logging
* bug fixes
* daemon boardd
* print logs with boardd
* more timestamp logs
* cleanup
* remove publish logs
* bug fix
* timestamp received
* timestamp received
* bug fixes
* use json lib
* ignore driver camera
* prep for new timestamp pipeline
* bug fix
* read new pipeline unfinnished
* read new pipeline
* bug fix
* add frame to controlsstate
* remove controlsstate
* print
* cleanup
* more cleanup + bug fix
* clock build issue
* remove unused imports
* format durations
* increase speed
* pr comments fixes
* conflicts
* set MANAGER_DAEMON for boardd
* clean script code
* bug fix + argparse
* remove rcv time
* bug fixes
* print without tabulate
* fix pre-commits
* plot gnatt
* color bug fix
* read without timestampextra
* bump panda
* mono time instead of frame id
* finnish script
* clean unused
* clean unused logging
* monotonic + json fixes
* del test
* remove whilelines
* bump laika
* cleanup
* remove deps
* logs nicer strings
* remove plotting from scirpt
* reset pipfile
* reset pipfile
* nicer strings
* bug fix
* bug fix
* pr comments cleaning
* remove plotting
* bug fix
* new demo route
* bump opendbc and panda
* cereal master
* cereal master
* script less komplex
* assertions
* matplotlib
* readme
* Update README.md
* graph html
* design fixes
* more code design
* Update common/logging_extra.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update tools/latency_logger/latency_logger.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pr comments
* bug fix
* readme + env once
* clean swaglog
* bug fix
* Update tools/latencylogger/README.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert
* revert
* clean swaglog with error
* remove typo file
* revert graph
* cereal
* submodules
* whitespaces
* update refs
Co-authored-by: Bruce Wayne <batman@workstation-openpilot2.internal>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							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 e91613bc6c88ced1f199c02bdd2db7b49c71820b198945fe00fb77820b19894991763f9ffd7c758d4b91763f9ff4🔥 
commit 1885c9e2ba1f591736a9c70e8bca1f591736a2465811f0b7410160d0465811f0b40344363a53700efcb3f3e915cf62700efcb3f4220ce272fed273bb78ac1a85afd60ce3be32afc2f27203af3a04c0ad1a5499cf13caeb2230254ca787475e02cb 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8031a68e55 
								
							
								 
							
						 
						
							
							
								
								alerts: Don't use Malfunction twice  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a4353303d4 
								
							
								 
							
						 
						
							
							
								
								update refs  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ca3171c0f9 
								
							
								 
							
						 
						
							
							
								
								bump cereal  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a9bac5acf8 
								
									
								
							
								 
							
						 
						
							
							
								
								longitudinal MPC: use reset() function instead of recreating the solver in  ( #24091 )  
							
							... 
							
							
 
							
							* scons: add acados_template as dependency for lat and long mpc
* long MPC: use acados reset instead of recreating the solver
* long MPC: print timings and reset commented
* update acados x86_64
* update acados include folder
* update acados Python interface
* update acados reference commit to latest acados/master
* update x86 libs
* update comma two
* update acados again with commit 8ea8827fafb1b23b4c7da1c4cf650de1cbd73584
* update comma two
* update comma three
* update x86
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5a8b4bbcaa 
								
									
								
							
								 
							
						 
						
							
							
								
								LongitudinaPlanner: add comment about lateral accel calculation ( #24096 )  
							
							... 
							
							
 
							
							* space
* if 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f1719aab84 
								
									
								
							
								 
							
						 
						
							
							
								
								Contact Support -> Hardware Malfunction ( #24076 )  
							
							... 
							
							
 
							
							* Contact Support -> Hardware Malfunction
* missed that one 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								adf34c3414 
								
									
								
							
								 
							
						 
						
							
							
								
								CarParams: remove max steer ( #24044 )  
							
							... 
							
							
 
							
							* Remove max steer
* Update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4a8fffd0f4 
								
									
								
							
								 
							
						 
						
							
							
								
								Apply EU guideline lateral limits ( #23974 )  
							
							... 
							
							
 
							
							* Apply EU limits
* Lower bound v_ego
* Add curvature limit comment
* Remove comment
* Update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a6d4bb5d01 
								
									
								
							
								 
							
						 
						
							
							
								
								Add warning for unsupported NVME ( #23972 )  
							
							... 
							
							
 
							
							* Add warning for unsupported NVME
* fix it up
* fix typo
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								08c2d066cf 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve style in drive_helpers ( #23962 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f1aab78d08 
								
									
								
							
								 
							
						 
						
							
							
								
								longitudinal MPC: add MAX_T in T_IDXS_LST ( #23960 )  
							
							... 
							
							
 
							
							* longitudinal MPC: add MAX_T in T_IDXS_LST
* update refs
Co-authored-by: KexianShen <shenkexian@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5c3f3e44bc 
								
									
								
							
								 
							
						 
						
							
							
								
								break up selfdrive.config ( #23959 )  
							
							... 
							
							
 
							
							* break up selfdrive.config
* add to release files
* fix import order 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d653dd843a 
								
									
								
							
								 
							
						 
						
							
							
								
								Upstreamed and update acados ( #23927 )  
							
							... 
							
							
 
							
							* change acados version to finalized PR https://github.com/acados/acados/pull/791 
* acados: update include and x86_64 build
* acados: update pyextra
* adapt mpc files to updated acados
* acados buid: clear acados_template and include dir before updating
* update acados again
* acados MPC: only generate solver, building is done via scons
* update acados to latest acados/master
* c3 libs
* c2 libs
* acados scons files: add acados build script as a dependency
* acados scons files: add libacados.so and ocp_nlp_interface.h, build script not in files_common
* update acados
* adapts long & lat MPC file
* update acados reference commit to acados/master
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7254db3906 
								
									
								
							
								 
							
						 
						
							
							
								
								LongControl: fix control state oscillation ( #23333 )  
							
							... 
							
							
 
							
							* check if plan is to accelerate or not
* remove comment
* needed to see it
needed to see it
* test logic with Toyota TSS2
* hackily log conditions
* Revert "hackily log conditions"
This reverts commit 7a6b5691e2b982c7a1e3911d980fb7530647affd.
Revert "test logic with Toyota TSS2"
This reverts commit e583d6e3caaa5f5b896165cd7949dfc1caabfd9a.
order
* revert
* fix 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								1801baba68 
								
									
								
							
								 
							
						 
						
							
							
								
								remove trivial terminal constraint and associated CasADi generated functions ( #23898 )  
							
							... 
							
							
 
							
							* remove trivial terminal constraint and associated CasADi generated functions
* Update refs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d09dffb7cd 
								
									
								
							
								 
							
						 
						
							
							
								
								Cython acados and minor ( #23835 )  
							
							... 
							
							
 
							
							* acados_ocp_solver_pyx.pyx: implement get_stats for timings and ints
* long_mpc: use acados timers
* acados_ocp_solver_pyx.pyx: fix dynamics_get
* acados_ocp_solver_pyx.pyx: get statistics
* use acados_ocp_solver_pyx.pyx from commaai/cython2 branch
* acados_ocp_solver_pyx.pyx: implement store_iterate
* acados_ocp_solver_pyx.pyx: implement get_residuals
* acados_ocp_solver_pyx.pyx: fix set() for empty fields
* acados_ocp_solver_pyx.pyx: load_iterate
* cython acados: add print_statistics
* test_following_distance: fix typo
* test_longitudinal: unique names for test maneuvers
* longitudinal MPC: comments for evaluation
* longitudinal MPC: add comments to eval acados residuals
* long_mpc: use qp_solver_cond_N = 1
* long MPC: comments, simplify set_cur_state
* update acados version in build script
* longitudinal mpc: weigh a_change in 1 place only
* update ref
* Update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								160a8cfd58 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove unused MPC_COST_LONG class ( #23843 )  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								f0b3593682 
								
									
								
							
								 
							
						 
						
							
							
								
								cleanup import chaining of T_IDXS ( #23806 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								85efde269d 
								
									
								
							
								 
							
						 
						
							
							
								
								bigmodel ( #23684 )  
							
							... 
							
							
 
							
							* Added wide cam vipc client and bigmodel transform logic
* Added wide_frame to ModelState, should still work normally
* Refactored image input into addImage method, should still work normally
* Updated thneed/compile.cc
* Bigmodel, untested: 44f83118-b375-4d4c-ae12-2017124f0cf4/200
* Have to initialize extra buffer in SNPEModel
* Default paramater value in the wrong place I think
* Move USE_EXTRA to SConscript
* New model: 6c34d59a-acc3-4877-84bd-904c10745ba6/250
* move use extra check to runtime, not on C2
* this is always true
* more C2 checks
* log if frames are out of sync
* more logging on no frame
* store in pointer
* print sof
* add sync logic
* log based on sof difference as well
* keep both models
* less assumptions
* define above thneed
* typo
* simplify
* no need for second client is main is already wide
* more comments update
* no optional reference
* more logging to debug lags
* add to release files
* both defines
* New model: 6831a77f-2574-4bfb-8077-79b0972a2771/950
* Path offset no longer relevant
* Remove duplicate execute
* Moved bigmodel back to big_supercombo.dlc
* add wide vipc stream
* Tici must be tici
* Needs state too
* add wide cam support to model replay
* handle syncing better
* ugh, c2
* print that
* handle ecam lag
* skip first one
* so close
* update refs
Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2c7845fce0 
								
									
								
							
								 
							
						 
						
							
							
								
								Longitudinal control: interpolate longitudinal plan ( #23787 )  
							
							... 
							
							
 
							
							* interpolate longitudinal actuator delay
rename
* formatting
* interpolate v_target most importantly!
* fix interpolation and rename
* nicer setup
* left in from testing
* update refs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								14260c01c6 
								
									
								
							
								 
							
						 
						
							
							
								
								process replay: fix branch name alert ( #23783 )  
							
							... 
							
							
 
							
							* env is modified after start
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f59adbeaaa 
								
							
								 
							
						 
						
							
							
								
								keep the new alert consistent for process replay  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ff965c772b 
								
									
								
							
								 
							
						 
						
							
							
								
								add branch name to startup master alert ( #23782 )  
							
							... 
							
							
 
							
							* add branch name to startup master alert
* still orange
* update refs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9535dc606d 
								
									
								
							
								 
							
						 
						
							
							
								
								Longitudinal: add Kf to carParams ( #23752 )  
							
							... 
							
							
 
							
							* sane_kf
* long_kf + cereal
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8effa2d878 
								
									
								
							
								 
							
						 
						
							
							
								
								hide localizerMalfunction alert ( #23730 )  
							
							... 
							
							
 
							
							* hide localizerMalfunction alert
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e6d8a84578 
								
							
								 
							
						 
						
							
							
								
								for those who want to live in the moment  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1c31c9b7a3 
								
									
								
							
								 
							
						 
						
							
							
								
								Mazda: alert when LKAS is disabled ( #23288 )  
							
							... 
							
							
 
							
							* Mazda: alert when LKAS is disabled
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* update refs
* revert that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ee71fd2fcc 
								
									
								
							
								 
							
						 
						
							
							
								
								clip steer saturation counter to steerLimitTimer ( #23638 )  
							
							... 
							
							
 
							
							* clip steer saturation counter to steerLimitTimer
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								cf9eee4272 
								
									
								
							
								 
							
						 
						
							
							
								
								INDI: replace internal rate limit by actuatorsOutput ( #23243 )  
							
							... 
							
							
 
							
							* INDI: replace internal rate limit by actuatorsOutput
* update ref 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9de8f8cd8c 
								
									
								
							
								 
							
						 
						
							
							
								
								base LatControl class ( #21967 )  
							
							... 
							
							
 
							
							* base LatControl class, move sat check out of pid.py
clean up
clean up
* fix
* global variable for min control speed
* nicer name
* unify latcontrol class init arguments
* add to release files
* saturated if close to limit
* move angle mode saturation checks into class
* check_saturation function takes in current saturated status
undo
* apply latcontrol_angle's active checking to all controllers
* clean up
* move those back
* make abstract baseclass
* add test for saturation
* keep clip
* update ref
* fix static analysis
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6be70a063d 
								
									
								
							
								 
							
						 
						
							
							
								
								LateralPlanner: Move lane change logic to another class ( #23476 )  
							
							... 
							
							
 
							
							* should work
* Revert "should work"
This reverts commit dabc2ea17a072a6c835e4bd1c75a2c1e2d10623d.
* move lane change logic to DesireHelper class
* clean up desires
clean up desires
* comments
* Revert "clean up desires"
This reverts commit 7301c921e305fcbd4746b19040631d935d50dfd9.
* Update selfdrive/controls/lib/desire_helper.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add to files_common
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3e9cb7fa12 
								
									
								
							
								 
							
						 
						
							
							
								
								remove community features toggle ( #23214 )  
							
							... 
							
							
 
							
							* remove community features toggle
* bump cereal
* little more
* update refs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0681474840 
								
									
								
							
								 
							
						 
						
							
							
								
								work on acados lateral MPC ( #23558 )  
							
							... 
							
							
 
							
							* lat_mpc: make v_ego, rotation_radius parameters instead of states
* lat_mpc: remove rotation_radius argument, since it is part of the parameters
* lat_mpc: use qp_solver_cond_N = 1
slightly faster and in line with case study in Fig. 2/ 3 in Frison2016 - https://cdn.syscop.de/publications/Frison2016.pdf 
An Efficient Implementation of Partial Condensing for Nonlinear Model Predictive Control
* adapt test_lateral_mpc to formulation with parameters
* lat_mpc: set parameters in reset() and copy values
* acados_ocp_solver_pyx: make options_set useable
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								59894a6666 
								
									
								
							
								 
							
						 
						
							
							
								
								clear no entry alerts if engaged ( #23559 )  
							
							... 
							
							
 
							
							* clear no entry alerts if engaged
* fix test 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dbae5e7601 
								
									
								
							
								 
							
						 
						
							
							
								
								lateral_planner: use nympy.isnan().any() ( #23500 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a186bcc9f1 
								
									
								
							
								 
							
						 
						
							
							
								
								cleanup iterate keys in dictionaries ( #23497 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								678732d0ce 
								
									
								
							
								 
							
						 
						
							
							
								
								AlertManager: cleanup add_many ( #23438 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								35ec6ac1cb 
								
									
								
							
								 
							
						 
						
							
							
								
								use ndarray.tolist  to convert numpy array to float ( #23485 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								233a6e4a62 
								
									
								
							
								 
							
						 
						
							
							
								
								LanePlanner: offsets cleanup ( #23459 )  
							
							... 
							
							
 
							
							* update comments
* model y axis was flipped so flip the offsets as well
* fix 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4208fe018e 
								
									
								
							
								 
							
						 
						
							
							
								
								LongControl: remove redundant check on active ( #23481 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a653461dec 
								
									
								
							
								 
							
						 
						
							
							
								
								check in tuple instead of list ( #23477 )  
							
							... 
							
							
 
							
							* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8eec818ae6 
								
									
								
							
								 
							
						 
						
							
							
								
								events: cleanup function any ( #23479 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b2beb5e6ba 
								
									
								
							
								 
							
						 
						
							
							
								
								controls: check contents in tuple instead of list ( #23463 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								09a835916b 
								
									
								
							
								 
							
						 
						
							
							
								
								optimize alertmanager ( #23433 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a2e762e0b9 
								
									
								
							
								 
							
						 
						
							
							
								
								longcontrol: check if speeds is empty ( #23410 )  
							
							... 
							
							
 
							
							* check if speeds is empty
* move into existing check
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago