6590fb2b93 
								
									
								
							
								 
							
						 
						
							
							
								
								pre-commit: add codespell ( #25571 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								aa32ea0f64 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: log all disk space usage in initData ( #25455 )  
							
							... 
							
							
 
							
							* bootlog: log all disk space usage
* not just agnos
* move to initData
* cleanup 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								461f747247 
								
									
								
							
								 
							
						 
						
							
							
								
								logger.cc: remove unused function append_property ( #24966 )  
							
							... 
							
							
 
							
							remove append_property 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f49a9c9fd2 
								
									
								
							
								 
							
						 
						
							
							
								
								less TICI when not needed ( #24698 )  
							
							... 
							
							
 
							
							* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cb8885cffb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge common/ and selfdrive/common ( #24556 )  
							
							... 
							
							
 
							
							* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								77a6f3d034 
								
									
								
							
								 
							
						 
						
							
							
								
								delay bz2 compression from logging to uploading ( #24392 )  
							
							... 
							
							
 
							
							* remove log_name
* log without compression
* fix tests
* remove extension for bootlog
* another test fix
* uploader compresses
* also compress in athena
* only compress qlog
* more generic check in do_upload
* fix bootlog compression
* lower loggerd cpu usage
* dont link against bz2
* set core affinity to little cluster
* handle old files 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5c48e7bc86 
								
									
								
							
								 
							
						 
						
							
							
								
								remove comma two support ( #24248 )  
							
							... 
							
							
 
							
							* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3243d1a81e 
								
									
								
							
								 
							
						 
						
							
							
								
								move lock clearing to uploader ( #23826 )  
							
							... 
							
							
 
							
							* move lock clearing to uploader
* test case 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a2f32fd3e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Clear loggerd locks once on boot ( #23060 )  
							
							... 
							
							
 
							
							* add test for clear_locks
* move to bootlog
* simplify test 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1f39d8cee6 
								
									
								
							
								 
							
						 
						
							
							
								
								util: add new function create_directories with unit tests ( #21871 )  
							
							... 
							
							
 
							
							* util::create_directories
* check bool ret
* don't assume mask
* rename with_umask to no_umask
* remove umask
* rebase master
* rebase master
* 0755 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								935cbd3139 
								
									
								
							
								 
							
						 
						
							
							
								
								LoggerState: test cases ( #21855 )  
							
							... 
							
							
 
							
							* test multiple threads writing to log
* fix typo
* use util::getenv
* check INIT_DATA and SENTINEL
* test END_OF_SEGMENT
* add comment
* test multiple threads logging and rotation
* cleanup
* update
* LoggerHandle:quick fix
* cleanup
* revert test_loggerd.py
* refactor test case
* check lock file
* check refcnt after close
* test_runner.cc
d
* int eixt_signal 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dddab597bc 
								
									
								
							
								 
							
						 
						
							
							
								
								Less open file permissions ( #21922 )  
							
							... 
							
							
 
							
							* Less open file permissions
* add test back
* remove params test for permissions
* remove umask
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c6a34dd9f7 
								
									
								
							
								 
							
						 
						
							
							
								
								capnp:Text::Reader: use implicit conversion from string ( #21980 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8354cfc53c 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: implement DONT_LOG flag ( #21832 )  
							
							... 
							
							
 
							
							* implement DONT_LOG flag
* better typing 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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 )  
							
							
 
							
						 
						
							4 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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								1786d04239 
								
									
								
							
								 
							
						 
						
							
							
								
								handle unregistered devices ( #20728 )  
							
							... 
							
							
 
							
							* handle unregistered devices
* cleanup
* no uploader or athena
* clean up 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								511cb2680f 
								
							
								 
							
						 
						
							
							
								
								write params in initData as Data  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1588a6f0ac 
								
									
								
							
								 
							
						 
						
							
							
								
								Logger: added function logger_get_route_name ( #19995 )  
							
							... 
							
							
 
							
							* added function logger_get_route_name
* remove empty line 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								678c149246 
								
									
								
							
								 
							
						 
						
							
							
								
								mv logger_build_boot to bootlog.cc ( #19996 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ef6d1aeaaa 
								
									
								
							
								 
							
						 
						
							
							
								
								Logger: new class BZFile ( #19959 )  
							
							... 
							
							
 
							
							* add class BZFile
* inline
* cleanup includes
* stack bzfile
* log first error
* remove assert
* rename log_err to err_logged
* assert in destructor
* LOGE
* don't assert statement
* assert error of fclose 
							
						 
						
							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 4df4685bfc 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								87119aebe2 
								
									
								
							
								 
							
						 
						
							
							
								
								Put bootlog in own folder ( #19939 )  
							
							... 
							
							
 
							
							* put bootlog in own folder
* fix uploader
* remove print statements
* update test
* remove comment
* also write initddata
* remove sentinels from test 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								f973c56a36 
								
									
								
							
								 
							
						 
						
							
							
								
								loggerd: split bootlog to a separate program ( #19831 )  
							
							... 
							
							
 
							
							* bootlog
* blank lines
* move file_exists to util.h
* src = ['loggerd.cc']
* log_init_data
* Revert "src = ['loggerd.cc']"
This reverts commit 18a587023d 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4d5733924a 
								
									
								
							
								 
							
						 
						
							
							
								
								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> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								434a2b0658 
								
									
								
							
								 
							
						 
						
							
							
								
								improve loggerd error handling ( #1332 )  
							
							... 
							
							
 
							
							* call BZ2_bzWriteClose after fail
* set closed file handles to NULL
* move fclose after BZ2_bzWriteClose 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								2f2b85581c 
								
									
								
							
								 
							
						 
						
							
							
								
								Add sentinels to logs and qlogs ( #1205 )  
							
							... 
							
							
 
							
							* sentinel WIP
* logger is now a cc, not a c
* simpler code doesn't touch loggerd.cc
* oops, double lock. and logreader is nicer 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								da079d47d7 
								
							
								 
							
						 
						
							
							
								
								logcatd, loggerd, mapd, modeld, proclogd  
							
							
 
							
						 
						
							6 years ago