44f1d480f9 
								
							
								 
							
						 
						
							
							
								
								sensord: run as many sensors as possible ( #29564 )  
							
							... 
							
							
 
							
							old-commit-hash: d3fb75a972 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0ae2523a16 
								
							
								 
							
						 
						
							
							
								
								sensord: lower temperature sensor freq to 2Hz ( #29563 )  
							
							... 
							
							
 
							
							old-commit-hash: 42769345d5 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5c213d7a38 
								
							
								 
							
						 
						
							
							
								
								sensord: setup per-sensor threads ( #29558 )  
							
							... 
							
							
 
							
							* sensord: setup per-sensor threads
* revert cereal
* more cleanup
* bump cereal
* update test
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6a66b75556 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								29977caa45 
								
							
								 
							
						 
						
							
							
								
								sensord: rm light sensor ( #29503 )  
							
							... 
							
							
 
							
							old-commit-hash: f5071411cb 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								97631ec362 
								
							
								 
							
						 
						
							
							
								
								common: C++ RateKeeper ( #29374 )  
							
							... 
							
							
 
							
							* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
old-commit-hash: 3eef63af9b 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								47d30174d3 
								
							
								 
							
						 
						
							
							
								
								sensord: move to system/ ( #27531 )  
							
							... 
							
							
 
							
							* sensord: move to system/
* add gitignore to releaes files
old-commit-hash: 6f40f0d442 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f54d8b9f04 
								
							
								 
							
						 
						
							
							
								
								Sensord: remove unused pm_mutex ( #26705 )  
							
							... 
							
							
 
							
							remove unused mutex
old-commit-hash: f84b1f2d9f 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								eaca9b10b7 
								
							
								 
							
						 
						
							
							
								
								pin sensord and lsm interrupt to core 1, for better timing ( #25867 )  
							
							... 
							
							
 
							
							Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 755f24885a 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								29d15e1f3b 
								
							
								 
							
						 
						
							
							
								
								sensord: move sensors in lowest power mode on exit/kill ( #25787 )  
							
							... 
							
							
 
							
							* add low power modes
* add sleep to lsm gyro init
* bmx055 gyro has a 30ms wakeup time from deep suspend
* Sensord skip init values, first 500ms (#25775 )
* remove lsm gyro sleep, handled by general cut
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: bcf31aea07 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b750859d52 
								
							
								 
							
						 
						
							
							
								
								sensord: remove unnecessary brace pair ( #25816 )  
							
							... 
							
							
 
							
							Remove unnecessary brace pair
old-commit-hash: 1a7d6665de 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								f4675fc260 
								
							
								 
							
						 
						
							
							
								
								Merge common/ and selfdrive/common ( #24556 )  
							
							... 
							
							
 
							
							* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								efa265a720 
								
							
								 
							
						 
						
							
							
								
								Make BMX055 optional if MMC5603NJ present ( #22698 )  
							
							... 
							
							
 
							
							old-commit-hash: b078d8e425 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								caabc8cb0b 
								
							
								 
							
						 
						
							
							
								
								MMC5603NJ support ( #21564 )  
							
							... 
							
							
 
							
							* read chip id
* set source
* untested driver
* periodic set
* optional
old-commit-hash: 8eba02e119 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								147b355dde 
								
							
								 
							
						 
						
							
							
								
								add space after function name and if statement ( #21225 )  
							
							... 
							
							
 
							
							old-commit-hash: e4e669bb0f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e333e4f189 
								
							
								 
							
						 
						
							
							
								
								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>
old-commit-hash: 7222d0f20d 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								55a9ec8a93 
								
							
								 
							
						 
						
							
							
								
								set nice values for non RT processes ( #20812 )  
							
							... 
							
							
 
							
							* set nice values for non RT processes
* builds
* fix qcom build
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec414e2eb1 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								532d19427c 
								
							
								 
							
						 
						
							
							
								
								bump cereal  
							
							... 
							
							
 
							
							old-commit-hash: 8a280fbb8e 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9a827fea20 
								
							
								 
							
						 
						
							
							
								
								c++ cleanup: standardize file extensions to .cc and .h ( #20800 )  
							
							... 
							
							
 
							
							* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4c1919f41e 
								
							
								 
							
						 
						
							
							
								
								merge utilpp.h into util.h ( #19710 )  
							
							... 
							
							
 
							
							old-commit-hash: 595830135b 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5e557ed96d 
								
							
								 
							
						 
						
							
							
								
								common exit handler ( #19661 )  
							
							... 
							
							
 
							
							* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
old-commit-hash: 86fe2d1697 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5bbe4f3d52 
								
							
								 
							
						 
						
							
							
								
								manager tests + make all processes exit cleanly ( #19595 )  
							
							... 
							
							
 
							
							* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ffa7e0cbdb 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								03b2a6a137 
								
							
								 
							
						 
						
							
							
								
								LSM6DS3 ( #2268 )  
							
							... 
							
							
 
							
							* add initial lsm6ds3 setup
* accel works
* ignore lsm6ds3 in locationd
* add gyro
* add temp
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e51da619c1 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8ee4ac45fe 
								
							
								 
							
						 
						
							
							
								
								tici: BMX055 magnetometer& temperature sensor ( #2212 )  
							
							... 
							
							
 
							
							* BMX055 Magnetometer support
* add temp sensor
old-commit-hash: f55e79e46a 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7cee5aae63 
								
							
								 
							
						 
						
							
							
								
								more messagebuilder ( #2162 )  
							
							... 
							
							
 
							
							* more messagebuilder
* little more
* revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9fa56b4eab 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ac3422fc0f 
								
							
								 
							
						 
						
							
							
								
								message builder ( #2161 )  
							
							... 
							
							
 
							
							* use custom MessageBuilder from cereal
* use MesageBuilder.toBytes
* bump cereal
* unused
* another one
* fix ui msg
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 4d5733924a 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								23c8b41c67 
								
							
								 
							
						 
						
							
							
								
								Tici light sensor ( #2150 )  
							
							... 
							
							
 
							
							* more generic sensor base class
* add file sensor
* light sensor working
* correct sensor type
old-commit-hash: 7cc5710974 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								93926b0cd2 
								
							
								 
							
						 
						
							
							
								
								sensord: more precise 100 Hz, compensate for time spend measuring  
							
							... 
							
							
 
							
							old-commit-hash: 41b0cba0dd 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c09e7f04e7 
								
							
								 
							
						 
						
							
							
								
								Tici sensord ( #2072 )  
							
							... 
							
							
 
							
							* tici sensord: WIP
* add sensor constants
* rename files
* base class
* init sensors
* publish something
* dont leak memory
* try reading from accel
* Accel works
* add time and sensor source
* Update release files
* If we want low BW we want 125hz
* this should run gyro as well
* add filter on gyro
* also filter accel data
* Add i2c files
* cast makes macos unhappy
* Same outputs as android sensord
Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 622e42d504 
							
						 
						
							5 years ago