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  
				
					
						
							
							
								 
						
							
							
								e293ccf016 
								
									
								
							
								 
							
						 
						
							
							
								
								New usb protocol for panda ( #22752 )  
							
							... 
							
							
 
							
							* first try
* move dlc_to_len
* panda switch to mailbox branch
* add bitstruct to pipfile
* bump panda and remove bitstruct
* few cleanups and fixes
* sanity check data.size == dlc_to_len
* check problem with test
* Revert "check problem with test"
This reverts commit b4855b7c12188d36d5d510e729344dab2cf21be9.
* clean
* revert Pipfile.lock
* that was an issue???
* fix crash
* ...
* include dlc_to_len from panda
* alph
* define macros for returned and rejected
* cleanup
* bump panda to current master 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								585c16cd2a 
								
									
								
							
								 
							
						 
						
							
							
								
								Multipanda support ( #22402 )  
							
							... 
							
							
 
							
							* squash all PR commits for easy rebase
* merged all panda rx can into one message
* fix buffers in can_send
* more cleanup and minor fixes
* fix even more stuff
* fix non-allocated send buffer
* make connecting more robust
* fix bus offset
* fix controls_mismatch?
* simplify mismatch check
* C++ style struct
* fix connect loop
* update ref
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2f1ab63920 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: reduce unnecessary allocations ( #22494 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								43d9478740 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: fix context leak in init_usb_ctx ( #22472 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f4e2537b12 
								
									
								
							
								 
							
						 
						
							
							
								
								Split pandaState into peripheralState and pandaState ( #22385 )  
							
							... 
							
							
 
							
							* publish peripheralState from boardd
* refactor consumers
* rename thread
* peripheralState has panda type too
* add to process replay
* fix device build
* properly remove hardware unsupported alert
* latest peripheralState
* remove pandaState from thermal_monitor
* put that back
* add back harness check
* fix cloudlog
* needs pandaState
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* dont conflate
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pigeon is peripheral
* cleanup
* less global
* comment
* move rtc to peripheral_control_thread
* better diff?
* whitespace
* get msg
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a077b8a566 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: call libusb_free_device_list before libusb_exit ( #22162 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c61e7c7898 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda::list: remove call to libusb_release_interface ( #22157 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								83cd67ddb5 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: fix dev_list may be freed twice on failure ( #22161 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0e3462e051 
								
									
								
							
								 
							
						 
						
							
							
								
								fix boardd reconnect loop ( #22081 )  
							
							... 
							
							
 
							
							* fix boardd reconnect loop
* add that back 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								603ad435be 
								
									
								
							
								 
							
						 
						
							
							
								
								add function to list connected pandas to panda.cc ( #21989 )  
							
							... 
							
							
 
							
							* add list() to panda.cc
* std:size instead of sizeof
* refactor usb init
* change serial length to 26 to get null terminated
* safer char to string
* forgot variable
* initialize descriptor array
* ...
* move init usb out of class
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fc56ae70ee 
								
									
								
							
								 
							
						 
						
							
							
								
								Add argument to Panda to connect by serial number ( #21905 )  
							
							... 
							
							
 
							
							* Add list() to panda.cc
* add default
* change var names
* comments
* advices
* revert
* ...
* ..
* connect by serial
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e4e669bb0f 
								
									
								
							
								 
							
						 
						
							
							
								
								add space after function name and if statement ( #21225 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0495426535 
								
									
								
							
								 
							
						 
						
							
							
								
								Cleanup includes ( #20925 )  
							
							... 
							
							
 
							
							* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e694f0b4d6 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd: set can and pandaState valid flags ( #20899 )  
							
							... 
							
							
 
							
							* boardd: set can and pandaState valid flags
* add event
* bump cereal
* consistency 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7222d0f20d 
								
									
								
							
								 
							
						 
						
							
							
								
								Cleanup selfdrive/ includes ( #20822 )  
							
							... 
							
							
 
							
							* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8a280fbb8e 
								
							
								 
							
						 
						
							
							
								
								bump cereal  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								34328ba305 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove panda set power functions ( #20712 )  
							
							... 
							
							
 
							
							* remove panda set power functions
* removed 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								dd74f09eab 
								
									
								
							
								 
							
						 
						
							
							
								
								turn pigeon off when going offroad ( #20296 )  
							
							... 
							
							
 
							
							* cleanup
* power off pigeon
* comment
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								312b681a46 
								
									
								
							
								 
							
						 
						
							
							
								
								cereal cleanup part 2 ( #20092 )  
							
							... 
							
							
 
							
							* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								000bd226aa 
								
									
								
							
								 
							
						 
						
							
							
								
								Cereal cleanup ( #20003 )  
							
							... 
							
							
 
							
							* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								edc2b3f67c 
								
									
								
							
								 
							
						 
						
							
							
								
								fix panda: remove uninitialized err and check after ( #19974 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c723bbd6be 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda: add check for connected in usb_read ( #19957 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c4215d8476 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda: refactor get_firmware_version, return std::optional<std::vector> ( #19896 )  
							
							... 
							
							
 
							
							Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								96cc633d91 
								
									
								
							
								 
							
						 
						
							
							
								
								panda: refactor get_serial, return std::optional<std::string> ( #19895 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8c31ab3cee 
								
									
								
							
								 
							
						 
						
							
							
								
								remove legacy reset line support ( #19770 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								511bad6a9f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix indentation ( #19925 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5c58a2618e 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda: add can_send buffer caching ( #19910 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b0c0de5b66 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix panda:  dangling pointer problem in can_receive ( #19892 )  
							
							... 
							
							
 
							
							* refactor can_receive
* still send empty msg 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5594b8f3cb 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda: replace pthread_mutex with std::mutex ( #19909 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								595830135b 
								
									
								
							
								 
							
						 
						
							
							
								
								merge utilpp.h into util.h ( #19710 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c1cf0882bd 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace usleep with util::sleep_for ( #19643 )  
							
							... 
							
							
 
							
							* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								57cd8c38b7 
								
									
								
							
								 
							
						 
						
							
							
								
								add legacy reset line support ( #2625 )  
							
							... 
							
							
 
							
							* add legacy reset line support
* clean up names
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5eea86cbf4 
								
									
								
							
								 
							
						 
						
							
							
								
								Abstract set_unsafe_mode function to Panda ( #2431 )  
							
							... 
							
							
 
							
							* Abstract set_unsafe_mode function to panda.cc
* whoops
* use uint16_t 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								94991d9319 
								
							
								 
							
						 
						
							
							
								
								remove unused params function  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cfd16faad2 
								
									
								
							
								 
							
						 
						
							
							
								
								boardd always send can packet ( #2307 )  
							
							... 
							
							
 
							
							* boardd always send message
* Only log missed cycles when ignition is on
* Just clip, no completely different code paths 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								855f52c3e0 
								
									
								
							
								 
							
						 
						
							
							
								
								hub is handled by systemd gpio service ( #2172 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e03044530c 
								
							
								 
							
						 
						
							
							
								
								boardd: return early from usb functions if not connected  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								502cc665e0 
								
									
								
							
								 
							
						 
						
							
							
								
								Pigeon abstraction layer ( #1977 )  
							
							... 
							
							
 
							
							* pigeon abstraction layer
* Fix string literals
* more generic pigeon class
* add TTYpigon
* nicer tty error handling
* close tty fd on pigeon delete
* pigeon receive return std::string
* use sizeof
* max receive size to prevent infinite loop
* remove namespace
* add unistd include for usleep
* fix is pigeon
* Handle tty error in opening
* fix printing binary strings with dump.py
* fix pigeon build on macos
* Handle errors seperately
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4f0c75291b 
								
									
								
							
								 
							
						 
						
							
							
								
								fix for PC: detach panda kernel driver if active ( #1950 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								80acb32825 
								
									
								
							
								 
							
						 
						
							
							
								
								Panda abstraction layer in boardd ( #1919 )  
							
							... 
							
							
 
							
							* start on panda abstraction layer
* handle bulk transfer in library
* Safety model abstraction
* Abstract hw type into library
* Handle disconnect
* RTC stuff
* Fan control
* Health
* Panda fw version
* Read serial
* Power saving
* Power mode
* Cleanup pigeon thread init
* Rename safety setter variable name
* Remove comment
* Unused global cleanup
* malloc -> new
* whitespace
* Use std::thread
* Use std::thread for safety setter
* Cleanup igntion_last global
* Heartbeat
* logd
* More global cleanup
* Put back sleep
* ir pwr
* Always broadcast health
* init struct with zeroes
* Fix eon build
* fix race condition
* fix Adeebs comments
* abstract can send and receive 
							
						 
						
							5 years ago