42ad28875a 
								
							
								 
							
						 
						
							
							
								
								Tools: a basic auto fingerprinting tool ( #30117 )  
							
							... 
							
							
 
							
							* v1 auto fingerprint tool
* executable
* static analysis
* move to selfdrive/debug
* from any directory
* fix static analysis
old-commit-hash: 05f7c96327 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								eb986384c8 
								
							
								 
							
						 
						
							
							
								
								HKG: Enable radar tracks for 2021 K5 Hybrid ( #30113 )  
							
							... 
							
							
 
							
							old-commit-hash: 2fee341a90 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								586f6acdac 
								
							
								 
							
						 
						
							
							
								
								Update vw_mqb_config.py ( #30101 )  
							
							... 
							
							
 
							
							Added a message to tell the user to kill the comma process when running the script.
old-commit-hash: a5f2fd5b1a 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1b236c3b86 
								
							
								 
							
						 
						
							
							
								
								remove old profiling tool  
							
							... 
							
							
 
							
							old-commit-hash: 7ac659ade4 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								34aafb5b1c 
								
							
								 
							
						 
						
							
							
								
								debug: update alerts ( #30023 )  
							
							... 
							
							
 
							
							* remove vehicleModelInvalid
* add locationdTemporaryError
* add paramsdTemporaryError
old-commit-hash: f7f8b769ef 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								13381ed446 
								
							
								 
							
						 
						
							
							
								
								services: capitalize constant service list ( #30005 )  
							
							... 
							
							
 
							
							* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c4f322ce2d 
								
							
								 
							
						 
						
							
							
								
								Linter: remove pylint ( #29611 )  
							
							... 
							
							
 
							
							remove pylint
old-commit-hash: 1ee6ed4b16 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								16ec56398c 
								
							
								 
							
						 
						
							
							
								
								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 db5e13b991a9626f95b6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								51634f52dc 
								
							
								 
							
						 
						
							
							
								
								replace custom clock helpers with time module ( #29499 )  
							
							... 
							
							
 
							
							* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
old-commit-hash: d61f86d339 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7e716dbc87 
								
							
								 
							
						 
						
							
							
								
								CANParser: perf benchmark on route script ( #29324 )  
							
							... 
							
							
 
							
							* timing test
* test
* fix
* print
* loop
* clean up
* wider range
* Update selfdrive/car/tests/test_models.py
* Apply suggestions from code review
* run many times
* Update selfdrive/car/tests/test_models.py
* run for many its
* run with unittest and print as list
* Update .github/workflows/selfdrive_tests.yaml
* Update .github/workflows/selfdrive_tests.yaml
* total time is super inconsistent (body)
* Update selfdrive/car/tests/test_models.py
* clean up
* clean up
* clean up
* this works!
* draft
* test suite not as modular
* try something like this
* can do kb, but not too representative
* clean up
* remove kb? it depends on signals
* clean up
* more clean up
* rename
* just measure all CANParsers
* can do all this manually
* but this is way simpler
* comment
* fix mypy
* this is correct too
* 3 seconds instead of 1.5
old-commit-hash: e2910d0720 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f33b4de80b 
								
							
								 
							
						 
						
							
							
								
								Ruff: b905 (strict zip) ( #29336 )  
							
							... 
							
							
 
							
							* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d487c0501f 
								
							
								 
							
						 
						
							
							
								
								Ruff: enable most of bugbear ( #29320 )  
							
							... 
							
							
 
							
							* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								dd2d4decda 
								
							
								 
							
						 
						
							
							
								
								test_car_model: remove duplicate argument ( #29309 )  
							
							... 
							
							
 
							
							* only need to pass test_route
* unused
old-commit-hash: 6106876da7 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3ee0786de3 
								
							
								 
							
						 
						
							
							
								
								CI: Pylint to ruff ( #29294 )  
							
							... 
							
							
 
							
							* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
old-commit-hash: 7fdd9fc37c 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7b677910df 
								
							
								 
							
						 
						
							
							
								
								Linter: Fix >160 line length test ( #29287 )  
							
							... 
							
							
 
							
							* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								ff96892511 
								
							
								 
							
						 
						
							
							
								
								Revert "CI: pylint to ruff ( #29276 )" ( #29284 )  
							
							... 
							
							
 
							
							This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3278d3f557 
								
							
								 
							
						 
						
							
							
								
								test fw query: fix migration import ( #29283 )  
							
							... 
							
							
 
							
							huh this was just broken
old-commit-hash: b34341e7e5 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								99006365a3 
								
							
								 
							
						 
						
							
							
								
								CI: pylint to ruff ( #29276 )  
							
							... 
							
							
 
							
							* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c1b146cfe9 
								
							
								 
							
						 
						
							
							
								
								remove old debug scripts  
							
							... 
							
							
 
							
							old-commit-hash: 3da28d4df2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b0c3778aae 
								
							
								 
							
						 
						
							
							
								
								agnos 8 ( #28843 )  
							
							... 
							
							
 
							
							* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a271945c356c2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								33e6aad83b 
								
							
								 
							
						 
						
							
							
								
								Revert "Update pycapnp and Cython ( #29021 )"  
							
							... 
							
							
 
							
							This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.
old-commit-hash: 9c307f2550 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								6ba97408e9 
								
							
								 
							
						 
						
							
							
								
								Update pycapnp and Cython ( #29021 )  
							
							... 
							
							
 
							
							* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb0042176ef1b9b9f 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3ceb097818 
								
							
								 
							
						 
						
							
							
								
								Hyundai: enable radar tracks for 2019 Santa Fe ( #28623 )  
							
							... 
							
							
 
							
							Hyundai: Adding second radar FW version for 2019 Santa Fe
old-commit-hash: d8aab568c6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								2edd65ad4e 
								
							
								 
							
						 
						
							
							
								
								process_replay: helpers ( #28367 )  
							
							... 
							
							
 
							
							* process_replay helper
* Refactor
* refactor check_enabled uses
* fix __init__
* noqa in __init__ imports
* Move compare_logs outside of process_replay
* Move save_logs to tools.lib.helpers
* Remove save_log from compare_logs
* fix lint issues
old-commit-hash: 64377a88f9 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5258610d88 
								
							
								 
							
						 
						
							
							
								
								show ign off time in count events debug script  
							
							... 
							
							
 
							
							old-commit-hash: 43b0e51906 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0a94d175b0 
								
							
								 
							
						 
						
							
							
								
								count_events.py: show alerts  
							
							... 
							
							
 
							
							old-commit-hash: ec53fad3c4 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								71b94b8d91 
								
							
								 
							
						 
						
							
							
								
								VW MQB: Config tool update for new EPS ( #28056 )  
							
							... 
							
							
 
							
							old-commit-hash: a3070d0e35 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								85c7764c45 
								
							
								 
							
						 
						
							
							
								
								FW versions: import common variable ( #27905 )  
							
							... 
							
							
 
							
							* just import from fw_versions
* fix
* more fix
old-commit-hash: 1520716d42 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5200751eae 
								
							
								 
							
						 
						
							
							
								
								test_car_model: allow route or segment name ( #27866 )  
							
							... 
							
							
 
							
							* allow route or segment name
* fix
* fixes
* fixes
old-commit-hash: 50d382884d 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3d9dfbf2bd 
								
							
								 
							
						 
						
							
							
								
								tizi: affine IRQ by action instead of number ( #27811 )  
							
							... 
							
							
 
							
							* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 038d34aa7f 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d492198bff 
								
							
								 
							
						 
						
							
							
								
								Hyundai: add Sonata FW version to enable radar tracks ( #27463 )  
							
							... 
							
							
 
							
							old-commit-hash: f9c112e9b8 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4f560215ba 
								
							
								 
							
						 
						
							
							
								
								Improve OX frame timing jitter ( #27582 )  
							
							... 
							
							
 
							
							* frame timing script
* enable vsync output and improve fsin tracking
* increase measurement time
* fix python linting
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d26d8b3ba9 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								241cc7b622 
								
							
								 
							
						 
						
							
							
								
								test_fw_query_on_routes.py: don't print FW for logging  
							
							... 
							
							
 
							
							old-commit-hash: 7f10c736ab 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ab91420b6a 
								
							
								 
							
						 
						
							
							
								
								CAN fingerprint script improvements ( #27355 )  
							
							... 
							
							
 
							
							* match online logic
* 0 and 2 are different buses. on gm, same address has different lengths
* match fingerprint_from_route
old-commit-hash: 48b059d367 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6b3d88dc9c 
								
							
								 
							
						 
						
							
							
								
								Hyundai: Enable radar tracks for Santa Fe 2019 ( #27175 )  
							
							... 
							
							
 
							
							old-commit-hash: b740bdc99c 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5bb9a667b8 
								
							
								 
							
						 
						
							
							
								
								Fix fuzz_fw_fingerprint.py script  
							
							... 
							
							
 
							
							old-commit-hash: 7090a88419 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fd29973e28 
								
							
								 
							
						 
						
							
							
								
								VW MQB: Add diagnostic firewall note to config tool ( #26975 )  
							
							... 
							
							
 
							
							old-commit-hash: f6dc12a735 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d56edcf5f3 
								
							
								 
							
						 
						
							
							
								
								Fix car docs diff bot ( #26955 )  
							
							... 
							
							
 
							
							fix
old-commit-hash: 406d12b7c1 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0ceb423ccc 
								
							
								 
							
						 
						
							
							
								
								Car interface: require fingerprint and FW versions to get params ( #26932 )  
							
							... 
							
							
 
							
							* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦 
old-commit-hash: b00bc4f57e 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b67646e1ab 
								
							
								 
							
						 
						
							
							
								
								Revert "Car interface: require fingerprint and FW versions to get params ( #26766 )"  
							
							... 
							
							
 
							
							This reverts commit ff80ac0f7525916211da2cd0fce2c9c5f35ef89d.
old-commit-hash: f14deae475 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								28ceb52c33 
								
							
								 
							
						 
						
							
							
								
								Car interface: require fingerprint and FW versions to get params ( #26766 )  
							
							... 
							
							
 
							
							* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
old-commit-hash: b68dabb689 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7c96e7876a 
								
							
								 
							
						 
						
							
							
								
								cleanup panda types everywhere ( #26574 )  
							
							... 
							
							
 
							
							* cleanup panda types everywhere
* one more
old-commit-hash: 65fa87a969 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b63326c89a 
								
							
								 
							
						 
						
							
							
								
								Hyundai: common CAN-FD brake pressed signal ( #26170 )  
							
							... 
							
							
 
							
							* Hyundai: common CAN-FD brake pressed signal
* new name
* bump panda
* bump opendbc to master
* bump opendbc
* bump panda
* bump panda
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c35e2b8e30 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								60cb813af5 
								
							
								 
							
						 
						
							
							
								
								ui: publish draw times + add test ( #26119 )  
							
							... 
							
							
 
							
							* ui: publish draw times + add test
* add some checks
* adjust
* fix linter
* update max
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 15b8c7d1dc 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5812735bbe 
								
							
								 
							
						 
						
							
							
								
								VW MNB: Add EPS config script support ( #26007 )  
							
							... 
							
							
 
							
							old-commit-hash: 46e741c7cc 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fb06d2769f 
								
							
								 
							
						 
						
							
							
								
								Sensor events splitup ( #25714 )  
							
							... 
							
							
 
							
							* PoC of reading sensors via interrupts instead of polling
* add Gyro and draft for magn
* add more functionality to gpio.cc
* change LSM gyro to interrupt
* resolve rebase conflict
* update BMX accel interrupt impl
* add interrupt collector thread to fetch in parallel
* change get_event interface to return true on successful read
* update BMX gyro interrupt impl
* update gpio.h/.cc according to comments
* address comments, rename Edgetype enum
* Edgetype to EdgeType
* update sensor interrupt interface
* add error handling, and read fd on trigger
* avoid sending empty messages
* fix build
* use gpiochip
* less diff
* gpiochip on both edges, but skip falling edge if rising edge is detected
* init last_ts with 0
* update sensord testcases
* update sensord testsweet
* test for pipeline
* readd with_process
* add null check
* move tests update to seperate PR
* sensord: improve test coverage (#25683 )
* update sensord-interrupt testsweet
* address review comments
* inc stddev threshold
* fix format string
* add version 0 check again
* relax strictness after c3 with bmx tests
* relax strictness after tests
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
* address PR comments
* fix typo
* remove 4ms limit, and skip first 0.5sec of data
* revert disable_interuppt change to destructor
* fix and remove timing skip
* make gpiochip generic
* sensord port
* change from sensorEvents to separated events
* fix gyro usage
* add splitted sensor tests
* modify debug script sensor_data_to_hist.py
* refactor get_event interface to remove sensorEvent message type
* update locationd to non sensorEvent usage
* tmp commit
* fix replay
* fix accelerometer type
* fix sensor to hist debug script
* update sensord tests to split events
* remove rebase artifacts
* port test_sensord.py
* small clean up
* change cereal to sensorEvents-splitup branch
* upate sensorEvents in regen
* fix route generation for splitted sensor events
* regen cleanUp from sensorEvents change
* .
* remove light and temp from locationd
* add generic init delay per sensor
* .
* update routes
* move bmx gyro/accel to its own channel
* adopt sensor tests to bmx channel
* remove rebase artifacts
* fix sensord test
* handle bmx not present
* add bmx sockets to regen
* .
* .
* code cleanUp
* .
* address PR comments
* address PR comments
* address PR comments
* lsm clean up
* readd sensorEvents
* rever regen.py
* .
* update replay refs
* move channels
* fix artifact
* bump cereal
* update refs
* fix timing issue
Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29d3ed2ce6 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								23a4e66b17 
								
							
								 
							
						 
						
							
							
								
								configure mypy outside of pre-commit environment ( #25892 )  
							
							... 
							
							
 
							
							* add mypy config matching precommit
* use local mypy, add files to config
* excludes too
* fix config
* pylint is sad now... did it get updated?
* fix typing hints
* ignore
* this should be a regexp
* mypy doesn't like Deque despite inheriting MutableSequence
* more excludes
* Revert "pylint is sad now... did it get updated?"
This reverts commit 250c632f184e310b807f 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7451db46cf 
								
							
								 
							
						 
						
							
							
								
								sensord: use interrupts to improve LSM6DS3 timing accuracy ( #24525 )  
							
							... 
							
							
 
							
							* change LSM6DS3TR(-c) gyroscope  and accelerometer to interrupt
* add pthread for linking
* add interrupt collector thread to fetch in parallel to non interrupt based sensors
* change get_event interface to return true on successful read
* fetch sensor interrupts via gpiochip
* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)
* add verifier script to sensor interrupts (sensor_data_to_hist.py)
* add/update sensord testsweet (test_sensord.py)
* add poll timed out check
* unexport interrupt gpio pins
* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble
* add test to sensord to verify 100Hz interrupt frequency
* add sensor shutdown/low power mode functionality on sensord exit
* relax test, will be readded in the splitup PR
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 84a3c355e5 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								88d173a925 
								
							
								 
							
						 
						
							
							
								
								VW MQB: Added support for APA racks to EPS configuration tool ( #25556 )  
							
							... 
							
							
 
							
							* Added support for APA racks
APA steering racks use a different bit to represent whether the ECU should enable steering assist.
This change supports those APA steering racks.
* Static analysis fix
* Static analysis fix2
* Code cleanup
* Update selfdrive/debug/vw_mqb_config.py
* Apply suggestions from code review
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
old-commit-hash: fc3bdef891 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e4f9781c17 
								
							
								 
							
						 
						
							
							
								
								single longitudinal toggle for e2e and disable radar ( #25688 )  
							
							... 
							
							
 
							
							* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603 
							
						 
						
							3 years ago