2d99521e75 
								
									
								
							
								 
							
						 
						
							
							
								
								cpplint:   `build/include_what_you_use` ( #29556 )  
							
							... 
							
							
 
							
							* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c933fbb074 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: misc cleanup ( #28969 )  
							
							... 
							
							
 
							
							* boardd cleanup
* no more front frame
* faster connect loop
* fix that on mac 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b9cffac29c 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: check fw version when connecting ( #28823 )  
							
							... 
							
							
 
							
							* Check fw version when connecting
* apply reviews
* mv to boardd
* don't keep looping
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								ede75c9e9b 
								
									
								
							
								 
							
						 
						
							
							
								
								fix typos  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								78df554217 
								
							
								 
							
						 
						
							
							
								
								boardd: only look for new usb pandas  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a93f74a846 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: more logging ( #28051 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2a981f5531 
								
									
								
							
								 
							
						 
						
							
							
								
								cabana: support direct streaming from panda over USB ( #27936 )  
							
							... 
							
							
 
							
							* refactor livestream into devicestream
* add panda stream
* unused
* whitespace
* move logging to base class
* add cmdline args
* Update selfdrive/boardd/boardd.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d9487ab901 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: fix uninitialized can_header ( #27685 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f17bca00ba 
								
									
								
							
								 
							
						 
						
							
							
								
								panda.cc: fix possible heap overflow on wrong checksum ( #27151 )  
							
							... 
							
							
 
							
							* panda.cc: fix possible heap overflow on wrong checksum
* off by one 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fdc4a7f84c 
								
									
								
							
								 
							
						 
						
							
							
								
								MacOS: build fixes ( #27143 )  
							
							... 
							
							
 
							
							* MacOS: exclude common/gpio.cc
* MacOS: no spi for boardd
* MacOS: loggerd: no v4l_encoder.cc
* MacOS: update libdbc path for cabana 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								66ff2de0a2 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: connect to SPI panda by UID ( #27035 )  
							
							... 
							
							
 
							
							* move list
* connect by serial
* cleanup hw serial
* little more
* rm excessive print
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b8ec32103a 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: include SPI panda in list ( #27018 )  
							
							... 
							
							
 
							
							* boardd: include SPI panda in list
* hexlify
* fix hexlify
* cleanup
* little more
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3136985b95 
								
									
								
							
								 
							
						 
						
							
							
								
								No more magic for the can chunks  ( #26861 )  
							
							... 
							
							
 
							
							* remove magic and add checksum
* add comms reset
* bump submodule 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9cc06e9ea6 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: misc spi fixes ( #26670 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fee6f2efac 
								
									
								
							
								 
							
						 
						
							
							
								
								Simple CAN chunks ( #25373 )  
							
							... 
							
							
 
							
							* simple chunks
* more sizeofs
* fix unit tests
* bump panda
* bump panda
* don't fail for too little data
* bump panda
* bump panda
* bump panda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c3e3047080 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: cleanup defs from panda ( #26628 )  
							
							... 
							
							
 
							
							* more stuff
* bump pnada 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e9dcabcef7 
								
							
								 
							
						 
						
							
							
								
								boardd: end peripheral panda discrimination  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8ba9a5107b 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: SPI support ( #26374 )  
							
							... 
							
							
 
							
							* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								06be96cae2 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: prep for SPI + factor out USB ( #26356 )  
							
							... 
							
							
 
							
							* merge origin/spi-panda
* just prep
* boardd: factor out USB comms
* fix those
* add to release files
* little more 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9a8c7f2453 
								
							
								 
							
						 
						
							
							
								
								boardd: remove canfd whitelist  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d5ef6f82e6 
								
									
								
							
								 
							
						 
						
							
							
								
								add CAN-FD non-ISO mode support ( #25947 )  
							
							... 
							
							
 
							
							CAN FD non-ISO support
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								53959082e7 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: add CAN health to pandaStates ( #25800 )  
							
							... 
							
							
 
							
							* init
* try this
* mistake
* fix
* bump cereal
* make obvious
* fixes
* remove comment
* one helath header
* ..
* preallocate vectors 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e6ff301864 
								
									
								
							
								 
							
						 
						
							
							
								
								RPv2: fix data length check ( #25819 )  
							
							... 
							
							
 
							
							fix 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								28cb1897cb 
								
									
								
							
								 
							
						 
						
							
							
								
								USB power mode cleanup ( #25619 )  
							
							... 
							
							
 
							
							* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cb8885cffb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge common/ and selfdrive/common ( #24556 )  
							
							... 
							
							
 
							
							* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4190d2608a 
								
									
								
							
								 
							
						 
						
							
							
								
								Change safetyParam to uint16_t ( #24376 )  
							
							... 
							
							
 
							
							* bump panda & cereal
* bump panda
* rest of references
* regen TOYOTA with safety param 578, TOYOTA2 with 329
* regen rest of routes
* update ref
* bump cereal 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								66dd8f934c 
								
									
								
							
								 
							
						 
						
							
							
								
								safety param: make uint16_t ( #24362 )  
							
							... 
							
							
 
							
							* only use half of the available bytes
* move to set_safety_model
* regen and update refs
* last two
* bump to master 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6e62df65d7 
								
									
								
							
								 
							
						 
						
							
							
								
								Make safetyParam unsigned ( #24160 )  
							
							... 
							
							
 
							
							* bump panda & cereal
* make unsigned in boardd
* update health packet version
bump panda
* fix definition
* bump
* regen TOYOTA2 route
* upload route
* oh, ndog param wasn't being set
* regenerate routes with non-zero safety params
* update refs
* regen routes and update refs
* bump panda
* update refs
* update refs
* bump submodules to master 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								f2eb84eef0 
								
									
								
							
								 
							
						 
						
							
							
								
								handle usb error in reading panda state ( #23686 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								703efb9275 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda: check libusb_open status ( #23622 )  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								04e1a25881 
								
									
								
							
								 
							
						 
						
							
							
								
								panda.cc: add functions to set can and data speed ( #22920 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5ffb3e4347 
								
							
								 
							
						 
						
							
							
								
								boardd: apply bus offset in can recv  
							
							
 
							
						 
						
							4 years ago