333257badf 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd/safety_setter_thread: use check_all_connected ( #24102 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8af20af66d 
								
									
								
							
								 
							
						 
						
							
							
								
								pylint: enforce indentation (W0311) ( #24039 )  
							
							... 
							
							
 
							
							* pylint: enforce indentation (W0311)
* few more 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e91613bc62 
								
									
								
							
								 
							
						 
						
							
							
								
								update unsafeMode to alternativeExperience ( #23995 )  
							
							... 
							
							
 
							
							* update unsafeMode to alternativeExperience
* fix
* fix
* bump submodules
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fc2f84759d 
								
							
								 
							
						 
						
							
							
								
								set MANAGER_DAEMON for boardd  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8ac30fea24 
								
									
								
							
								 
							
						 
						
							
							
								
								move pandad to boardd/ ( #23958 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								723560c20f 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove void argument ( #23928 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0b64ddb678 
								
									
								
							
								 
							
						 
						
							
							
								
								panda.cc: add panda deep sleep mode( #23911 )  
							
							... 
							
							
 
							
							* needed for panda deepsleep mode
* add set_deepsleep to panda.cc
* rename to enable_deepsleep
* remove void
* fix value
* bump panda 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								767bc1aa3b 
								
							
								 
							
						 
						
							
							
								
								boardd: handle missing pandas  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								719801845b 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: connect to all pandas if none specified ( #23805 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f2eb84eef0 
								
									
								
							
								 
							
						 
						
							
							
								
								handle usb error in reading panda state ( #23686 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9dca040ed9 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: get health struct from panda ( #23648 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								43c6ea8e73 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: add blocked msg cnt ( #23647 )  
							
							... 
							
							
 
							
							* boardd: add blocked msg cnt
* bump panda
* bump panda 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								703efb9275 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda: check libusb_open status ( #23622 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								31d147dca2 
								
									
								
							
								 
							
						 
						
							
							
								
								controlsd: verify unsafe mode consistency ( #23563 )  
							
							... 
							
							
 
							
							* add unsafe mode check to controlsd
bump submodules
forgot to add to health_t struct
bump
ahh forgot to set it!
bump
bump
clean up
clean up
bump
* fix ordering
* move to end
* unsigned
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								498d54be9c 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: move main() to main.cc for test cases ( #23564 )  
							
							... 
							
							
 
							
							* move main() to main.cc
* move includes back 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b75e410779 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: panda_state_thread run closer to 2 Hz ( #23529 )  
							
							... 
							
							
 
							
							* boardd: panda_state_thread run closer to 2Hz
* make explicit 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								79577e4dca 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: remove ublox timestamp logging ( #23498 )  
							
							... 
							
							
 
							
							* boardd: remove ublox timestamp logging
* more cleanup
* add cmath 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								842ba8e5e6 
								
									
								
							
								 
							
						 
						
							
							
								
								C2 detection ( #23439 )  
							
							... 
							
							
 
							
							* two detection
* fix CI
* catch all
* gotta catch em all 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								332f568a82 
								
									
								
							
								 
							
						 
						
							
							
								
								Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )  
							
							... 
							
							
 
							
							Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								285addeef2 
								
							
								 
							
						 
						
							
							
								
								Revert "boardd: new class USBDevice ( #23015 )"  
							
							... 
							
							
 
							
							This reverts commit 4061f50da3 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4061f50da3 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: new class USBDevice ( #23015 )  
							
							... 
							
							
 
							
							* USBDevice
* merge master
* rebase master
* add to fiels_common
* inline functions
* namespace
* init err
* remove nested if
* cleanup
* bump panda for branch
* change includes
* bump panda branch
* change name
* bump master panda
Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
Co-authored-by: Igor Biletskyy <bs@privacy.im> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a793b949be 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: add controls heartbeat ( #23185 )  
							
							... 
							
							
 
							
							* boardd: add controls heartbeat
* bump panda
* bump again
* bump panda 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4aa291c406 
								
									
								
							
								 
							
						 
						
							
							
								
								Use std::unique_ptr to manage memory ( #23168 )  
							
							... 
							
							
 
							
							* use unique_ptr
* trigger ci
* move down loggerdstate 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9decd3d8a2 
								
									
								
							
								 
							
						 
						
							
							
								
								util: move all functions into util namespace ( #23203 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bb7208f4c3 
								
									
								
							
								 
							
						 
						
							
							
								
								add check for restoring almanac, and clear like suggested in the datasheet ( #23153 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								827fae8faa 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: refactor can_send ( #22981 )  
							
							... 
							
							
 
							
							* refactor
* merge master
* fix
* move  down
* space
* merge master
* remove struct PacketWriter, use function
* Update selfdrive/boardd/panda.cc
less violations
* Update selfdrive/boardd/panda.cc
comment
* Update selfdrive/boardd/panda.cc
add comment to counter
Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e294e1620e 
								
									
								
							
								 
							
						 
						
							
							
								
								len_to_dlc make static ( #23120 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								599c07e027 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: refactor can_recv ( #22977 )  
							
							... 
							
							
 
							
							* refactor
* use macro
* rebase master
* fix incorrect chunk_len
* cleanup
* type fix
* lines
* while
Co-authored-by: Igor Biletksyy <bs@privacy.im> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								65ca9be82a 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: split usbprotocol unittest and fix paren order in data length assert ( #23065 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								35c0319f6c 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: new function sync_time ( #23033 )  
							
							... 
							
							
 
							
							* sync_time
* add direction
* Update selfdrive/boardd/boardd.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* enum class
* rename
* caps
* lambda get_time_str
* Revert "lambda get_time_str"
This reverts commit 5eb6e19c51 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b2a018643f 
								
									
								
							
								 
							
						 
						
							
							
								
								Extra check for tail_size length ( #23047 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c6f62ebc4f 
								
							
								 
							
						 
						
							
							
								
								Revert "boardd: be careful with paren order in assert"  
							
							... 
							
							
 
							
							This reverts commit 50cd8588a2 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								50cd8588a2 
								
							
								 
							
						 
						
							
							
								
								boardd: be careful with paren order in assert  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ab9c7a11a9 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: const reference pandaStates to avoid copy ( #23030 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c77354009c 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: add unit tests for usb protocol (pack/unpack) ( #22955 )  
							
							... 
							
							
 
							
							* prepare for unit tests
* add to selfdrive_tests.yaml
* test header
* test chunk count
* rename test function
* continue
* don't check chunks count
* test recv_can
* continue
* small cleanup
* merge master
* cleanup
* rename functions
* test different packet size
* fix operator precedence problem
* refactor unpack_can_buffer
* cleanup test
* cleanup unpack_can_buffer
* add test for multiple pandas
* rename to test_panda
* restore test_boardd
* rename to test_boardd_usbprotocol
* fix typo
* bus_offset = [0,4]
* change src
* use USBPACKET_MAX_SIZE 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d482b2d0a2 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: small cleanup ( #23005 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a405fc5d43 
								
							
								 
							
						 
						
							
							
								
								boardd: add note about slow disconnected panda check  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fb32381a88 
								
							
								 
							
						 
						
							
							
								
								boardd: set thread names  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								944fa5fa08 
								
							
								 
							
						 
						
							
							
								
								boardd: resolve TODO, still need that for USB errors  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e13630dfee 
								
									
								
							
								 
							
						 
						
							
							
								
								faster jenkins ( #22973 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								edaf7d7604 
								
									
								
							
								 
							
						 
						
							
							
								
								fix chunk buffer size ( #22969 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								57db99700c 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: fix len_to_dlc always return 1 if len > 24 ( #22964 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0716635808 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: fix a panda may be connected by multiple panda instance ( #22932 )  
							
							... 
							
							
 
							
							* fix bugs in main
* no auto 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								841fb93def 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd/can_recv_thread: improve caching for can_frame ( #22944 )  
							
							... 
							
							
 
							
							* better cache
* use emplace to remove copy&realloc
* rebase master 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								47d0d717eb 
								
									
								
							
								 
							
						 
						
							
							
								
								panda.cc: struct for CAN header, counter complexity, cleanup for readability ( #22956 )  
							
							... 
							
							
 
							
							* try struct
* can_send refactor
* cleanups
* Resize vector only when it is needed
* ...
* more cleanup 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								10bca095c2 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd/usb_connect: remove unused variable params ( #22931 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								04e1a25881 
								
									
								
							
								 
							
						 
						
							
							
								
								panda.cc: add functions to set can and data speed ( #22920 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8e12b9ca76 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: fix segfault when SIGINT with no pandas ( #22914 )  
							
							... 
							
							
 
							
							* boardd: fix segfault when SIGINT with no pandas
* remove if block
Co-authored-by: Robbe Derks <robbe.derks@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e8598f7455 
								
									
								
							
								 
							
						 
						
							
							
								
								add multipanda to loopback tests ( #22900 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5ffb3e4347 
								
							
								 
							
						 
						
							
							
								
								boardd: apply bus offset in can recv  
							
							
 
							
						 
						
							4 years ago