652ef27a72 
								
							
								 
							
						 
						
							
							
								
								loggerd: less error logging  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								5f36b48199 
								
							
								 
							
						 
						
							
							
								
								loggerd: fix delayed exit from main thread  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f71a03f967 
								
							
								 
							
						 
						
							
							
								
								increase loggerd per-cycle service limit to 200  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								baf1a77ca2 
								
							
								 
							
						 
						
							
							
								
								loggerd: don't let a single service clog up the main thread  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a2f32fd3e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Clear loggerd locks once on boot ( #23060 )  
							
							... 
							
							
 
							
							* add test for clear_locks
* move to bootlog
* simplify test 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1d323e0fd6 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: add test case for trigger_rotate ( #23038 )  
							
							... 
							
							
 
							
							* test rotate
* remove global LoggerdState 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								75dd0d6296 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: split loggerd.cc into three files  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ea761cbbd5 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: trigger rotate on frame id instead of frame count ( #22848 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5246f0231e 
								
									
								
							
								 
							
						 
						
							
							
								
								enable wshadow ( #22756 )  
							
							... 
							
							
 
							
							* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								18caf3535b 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: fix concurrency issues in sync encoders  ( #22590 )  
							
							... 
							
							
 
							
							* sync_encoders
* add variable camera_synced
* cleanup 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5b331fd6f5 
								
									
								
							
								 
							
						 
						
							
							
								
								don't set core affinity on PC ( #22706 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								89f311714c 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: set encodeIdx.valid if frame id is correct ( #22634 )  
							
							... 
							
							
 
							
							* loggerd: set encodeIdx.valid if frame id is correct
* check valid flag in test
* test cleanup
* bump cereal 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								76bd932cf5 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: always run encoders ( #22649 )  
							
							... 
							
							
 
							
							* loggerd: always run encoders
* fix raw logger
* bump loggerd cpu usage 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								84de248fa7 
								
									
								
							
								 
							
						 
						
							
							
								
								tici: affine loggerd to efficiency cores ( #22581 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								377fe84948 
								
							
								 
							
						 
						
							
							
								
								remove loggerd todo about encodeIdx decimation  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								48035e9535 
								
									
								
							
								 
							
						 
						
							
							
								
								Disable encoder sync logic if only one rotate camera present ( #22107 )  
							
							... 
							
							
 
							
							* disable sync logic if only one rotate camera
* consistent brackets 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a93271a518 
								
									
								
							
								 
							
						 
						
							
							
								
								Ensure that first segment starts with all cameras on the same frameId ( #22096 )  
							
							... 
							
							
 
							
							* test that segment starts with the same frame id
* improve test
* add sync logic
* atomic max
* review comments 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d9baaf7eb9 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: create encoder threads from cameras_logged ( #21875 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								54a4eeb0fc 
								
							
								 
							
						 
						
							
							
								
								Revert "tici: give loggerd rt priority ( #21503 )"  
							
							... 
							
							
 
							
							This reverts commit 7e2752c878 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7e2752c878 
								
									
								
							
								 
							
						 
						
							
							
								
								tici: give loggerd rt priority ( #21503 )  
							
							... 
							
							
 
							
							* give loggerd rt priority
* assert
* little more
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a39873872d 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor loggerd: trigger rotate in encoder thread ( #21860 )  
							
							... 
							
							
 
							
							* trigger rotate in eoncode thread
* rotate in time
* lgtm
* dcam trigger rotate on C3
* check trigger rotate field
* Use >=
* add rotator thread
* set cnt to 0
* test encodeIdx is increasing across segments
* test both segmentId and encodeId
* fix encodeIdx
* no thread needed
* add log for failed to encode
* stricter C3 test, dont check start encodeId on C2 dcam
* only update last_camera_seen_tms when considered for rotate
Co-authored-by: deanlee <deanlee3@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dd128f5916 
								
							
								 
							
						 
						
							
							
								
								loggerd: power failure print sync done  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4a1aec27ef 
								
									
								
							
								 
							
						 
						
							
							
								
								segment regen ( #21148 )  
							
							... 
							
							
 
							
							* start seg regen
* send vipc
* fix up some paths
* set fp
* fix no entries
* engages
* seperate camera procs
* send real frames
* regen test routes
* nice argparser
* fix valgrind test
* move that
* fix that 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e4e669bb0f 
								
									
								
							
								 
							
						 
						
							
							
								
								add space after function name and if statement ( #21225 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c53cb5d570 
								
									
								
							
								 
							
						 
						
							
							
								
								Use C++ header files instead of C header files. ( #21192 )  
							
							... 
							
							
 
							
							* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6e22f16ddb 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: put signal in end of route sentinel ( #21025 )  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								ab319d4f54 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace ifdef with hw abstraction layer ( #20843 )  
							
							... 
							
							
 
							
							* Replace ifdefs with hardware abstraction layer (#20801 )
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3a95d3ccaa 
								
							
								 
							
						 
						
							
							
								
								Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"  
							
							... 
							
							
 
							
							This reverts commit 757d2923d2 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								757d2923d2 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace ifdefs with hardware abstraction layer ( #20801 )  
							
							... 
							
							
 
							
							* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ec414e2eb1 
								
									
								
							
								 
							
						 
						
							
							
								
								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> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8a280fbb8e 
								
							
								 
							
						 
						
							
							
								
								bump cereal  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9813c0ddbd 
								
									
								
							
								 
							
						 
						
							
							
								
								log encodeIdx packets in qlog ( #20738 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								98e55996f6 
								
									
								
							
								 
							
						 
						
							
							
								
								Params: python-like interface ( #20506 )  
							
							... 
							
							
 
							
							* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled) 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0a88304e8d 
								
									
								
							
								 
							
						 
						
							
							
								
								use class AlignedBuffer ( #20388 )  
							
							... 
							
							
 
							
							* use class AlignedBuffer from cereal (#20343 )
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
* use AlignedBuffer
Co-authored-by: Dean Lee <deanlee3@gmail.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e3ad952902 
								
							
								 
							
						 
						
							
							
								
								Revert "use class AlignedBuffer from cereal ( #20343 )"  
							
							... 
							
							
 
							
							This reverts commit 7aa379e123 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7aa379e123 
								
									
								
							
								 
							
						 
						
							
							
								
								use class AlignedBuffer from cereal ( #20343 )  
							
							... 
							
							
 
							
							* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *) 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e2044ca5a2 
								
									
								
							
								 
							
						 
						
							
							
								
								up tici hevc bitrate ( #20093 )  
							
							... 
							
							
 
							
							* 2x tici bitrate
* update test
* clean up 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d3dfb47d0e 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: clean exit on SIGPWR ( #20100 )  
							
							... 
							
							
 
							
							* loggerd: clean exit on SIGPRW
* no SIGPWR on macos 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								312b681a46 
								
									
								
							
								 
							
						 
						
							
							
								
								cereal cleanup part 2 ( #20092 )  
							
							... 
							
							
 
							
							* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1cd9105e96 
								
									
								
							
								 
							
						 
						
							
							
								
								adjust qcamera quality ( #20066 )  
							
							... 
							
							
 
							
							* better ts
* fix test 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1fad5216ea 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: remove the segment variable from encoders ( #20034 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								16e259cadf 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: small cleanup ( #19864 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e6783f4d9f 
								
									
								
							
								 
							
						 
						
							
							
								
								remove cqueue, use class SafeQueue ( #19774 )  
							
							... 
							
							
 
							
							* class SafeQueue
* cleanup includes
* space
* add timeout
use try_poll
* add function empty() & size()
* class SafeQueue
* add timeout
use try_poll
* add function empty() & size()
* rebase master
* rebase master
* for loop
* fix bug 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								79e05965c4 
								
									
								
							
								 
							
						 
						
							
							
								
								bootlog: fix dangling pointer problem in logger_build_boot ( #19942 )  
							
							... 
							
							
 
							
							* fix  dangling pointer problem
* logger_build_init_data() has same problem
* return kj::Array<capnp::byte>
* Revert "return kj::Array<capnp::byte>"
This reverts commit 4df4685bfcaba0c5400e2690440a74c32ff75afa.
* Empty commit,trigger Build
* fix each segment in a route having a different initial logMonoTime 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1ed77847fe 
								
							
								 
							
						 
						
							
							
								
								loggerd: remove vipc arg from encode frame  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d4489fbf91 
								
									
								
							
								 
							
						 
						
							
							
								
								OMX encoder stability ( #19758 )  
							
							... 
							
							
 
							
							* cleanup test first
* wait for other encoder threads
* fixes initial crash
* no print
* unused
* fix up tests
* need that
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2e64049ea4 
								
									
								
							
								 
							
						 
						
							
							
								
								fix loggerd after bootlog split ( #19840 )  
							
							... 
							
							
 
							
							* fix loggerd after bootlog split
* logger handles that
* unused
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago