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  
				
					
						
							
							
								 
						
							
							
								fefc70b4ca 
								
									
								
							
								 
							
						 
						
							
							
								
								hw.h: move Hardware-related paths to namespace Path ( #21826 )  
							
							... 
							
							
 
							
							* refactor getenv and path
* apply review 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8354cfc53c 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: implement DONT_LOG flag ( #21832 )  
							
							... 
							
							
 
							
							* implement DONT_LOG flag
* better typing 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d748b44f48 
								
							
								 
							
						 
						
							
							
								
								fix loggerd test failure when camerad is slow to start  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fecdf16f6b 
								
									
								
							
								 
							
						 
						
							
							
								
								logger.cc/logger_build_init_data(): reuse params_map ( #21811 )  
							
							... 
							
							
 
							
							* faster log params
* Update selfdrive/loggerd/logger.cc
* fix build
Co-authored-by: Willem Melching <willem.melching@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								11ffbc6936 
								
									
								
							
								 
							
						 
						
							
							
								
								util/read_files_in_dir: return map by value ( #21815 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								48652db706 
								
							
								 
							
						 
						
							
							
								
								debug msg for loggerd tests  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6b69032807 
								
									
								
							
								 
							
						 
						
							
							
								
								publish uploader state ( #21580 )  
							
							... 
							
							
 
							
							* uploader state
* add time
* bump
* populate whole packet
* bump cereal
* revert
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dd128f5916 
								
							
								 
							
						 
						
							
							
								
								loggerd: power failure print sync done  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d8411e7a62 
								
							
								 
							
						 
						
							
							
								
								fix qlog decimation calculation in loggerd tests  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d066b8f7e8 
								
									
								
							
								 
							
						 
						
							
							
								
								upload can only create ( #21513 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0bfd994f73 
								
									
								
							
								 
							
						 
						
							
							
								
								fast jenkins ( #21472 )  
							
							... 
							
							
 
							
							* speed up setup
* speedup onroad test
* .git doesn't like inplace
* tici2
* no inplace
* revert
* fix
* that one too 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								c76c30fa2d 
								
									
								
							
								 
							
						 
						
							
							
								
								disable uploading raw by default ( #21128 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								129c760e4f 
								
									
								
							
								 
							
						 
						
							
							
								
								deleter.py: delete boot and crash folders last ( #21028 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								65e0b1e699 
								
									
								
							
								 
							
						 
						
							
							
								
								Cleanup util.h ( #20849 )  
							
							... 
							
							
 
							
							* cleanup util.h
* fix build error:omx_encoder.cc:408: undefined reference to do_exit
* fix build error
* rebase master
* move helper functions back to util
* ExitHandleHelper->ExitHandlerHelper
* std::clamp
* struct ExitHandlerHelper to class
* rebase master
* cleanup
* restore ExitHandler
* prefer cassert 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6e22f16ddb 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: put signal in end of route sentinel ( #21025 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ec976b3b44 
								
									
								
							
								 
							
						 
						
							
							
								
								log OS version in initData ( #20979 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0495426535 
								
									
								
							
								 
							
						 
						
							
							
								
								Cleanup includes ( #20925 )  
							
							... 
							
							
 
							
							* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2bc9b97aba 
								
									
								
							
								 
							
						 
						
							
							
								
								bootlog: setup cloudlog on keywords ( #20898 )  
							
							... 
							
							
 
							
							* bootlog: setup cloudlog on keywords
* just log 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4742f55749 
								
									
								
							
								 
							
						 
						
							
							
								
								store all files in /sys/fs/pstore in bootlog ( #20875 )  
							
							... 
							
							
 
							
							* store all files in /sys/fs/pstore in bootlog
* whitespace
* fix bootlog test 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								27d3f820bf 
								
									
								
							
								 
							
						 
						
							
							
								
								Params: move keys from cython to cc ( #20814 )  
							
							... 
							
							
 
							
							* move keys from cython to cc
* consistency
* passes tests
* more consistency
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8a280fbb8e 
								
							
								 
							
						 
						
							
							
								
								bump cereal  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9813c0ddbd 
								
									
								
							
								 
							
						 
						
							
							
								
								log encodeIdx packets in qlog ( #20738 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1786d04239 
								
									
								
							
								 
							
						 
						
							
							
								
								handle unregistered devices ( #20728 )  
							
							... 
							
							
 
							
							* handle unregistered devices
* cleanup
* no uploader or athena
* clean up 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								36d8c89ebf 
								
									
								
							
								 
							
						 
						
							
							
								
								enable --as-needed linking ( #20619 )  
							
							... 
							
							
 
							
							* only link as needed
* a few more
* need to fix order
* everywhre
* fix mac
* update spinner + text
* fix c2 build
* another fix
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c4e2d374c9 
								
									
								
							
								 
							
						 
						
							
							
								
								More encoder test cleanup ( #20623 )  
							
							... 
							
							
 
							
							* more encode test cleanup
* fix check at end of function 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ec5465ffd5 
								
									
								
							
								 
							
						 
						
							
							
								
								check encodeIdx in loggerd test ( #20621 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ae094042ad 
								
									
								
							
								 
							
						 
						
							
							
								
								add putBool/getBool wrappers to cython params class ( #20611 )  
							
							... 
							
							
 
							
							* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								538df2596d 
								
							
								 
							
						 
						
							
							
								
								increase log level of NVME cloudlog  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								1e3f8b014e 
								
									
								
							
								 
							
						 
						
							
							
								
								logging cleanup ( #20502 )  
							
							... 
							
							
 
							
							* switch some uploader messages to debug log
* use allow_sleep
* log when not request or response
* test both with params and without params 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								33500bf23f 
								
									
								
							
								 
							
						 
						
							
							
								
								log when nvme isn't mounted ( #20428 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								e736029235 
								
									
								
							
								 
							
						 
						
							
							
								
								fix Fix problematic realloc ( #19812 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								51d46e289a 
								
									
								
							
								 
							
						 
						
							
							
								
								raw_logger: remove unneeded recursive_mutex ( #20274 )  
							
							... 
							
							
 
							
							* remove lock
* remove forword declared err
* cleanup include 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5a3b511306 
								
									
								
							
								 
							
						 
						
							
							
								
								Manager cleanup ( #20231 )  
							
							... 
							
							
 
							
							* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								511cb2680f 
								
							
								 
							
						 
						
							
							
								
								write params in initData as Data  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								6e26403cee 
								
							
								 
							
						 
						
							
							
								
								test loggerd: limit samples to number of services  
							
							
 
							
						 
						
							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