725e0665df 
								
							
								 
							
						 
						
							
							
								
								common: add new class OpenPilotPrefix ( #26753 )  
							
							... 
							
							
 
							
							* new class OpenPilotPrefix
* move random_string to util
* rename file
* style
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d8254e959 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								461206de1c 
								
							
								 
							
						 
						
							
							
								
								boardd: SPI support ( #26374 )  
							
							... 
							
							
 
							
							* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ba9a5107b 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								389558776e 
								
							
								 
							
						 
						
							
							
								
								params: remove all files if call clearAll with the ParamKeyType.ALL key. ( #26000 )  
							
							... 
							
							
 
							
							* remove all files in dir
* fix test case name
old-commit-hash: 8dbb25e683 
							
						 
						
							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 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								db68d73333 
								
							
								 
							
						 
						
							
							
								
								swaglog: delay creating zmq socket to first use - fix modeld crash in sim ( #24271 )  
							
							... 
							
							
 
							
							* Initialize zmq socket later with initialize method
* empty lines
* Add lock and move initialize function
* Check for initialized
old-commit-hash: 6ab7b2f325 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c69bba9c9c 
								
							
								 
							
						 
						
							
							
								
								Statlog in C ( #23596 )  
							
							... 
							
							
 
							
							* statlog in C
* fix swaglog and the test
* add missing files
* fix context initialization todo
* speed up test
old-commit-hash: 6366d1303f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4b0cd07836 
								
							
								 
							
						 
						
							
							
								
								boardd: panda_state_thread run closer to 2 Hz ( #23529 )  
							
							... 
							
							
 
							
							* boardd: panda_state_thread run closer to 2Hz
* make explicit
old-commit-hash: b75e410779 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dd7c226097 
								
							
								 
							
						 
						
							
							
								
								util: move all functions into util namespace ( #23203 )  
							
							... 
							
							
 
							
							old-commit-hash: 9decd3d8a2 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								669ed5ff2b 
								
							
								 
							
						 
						
							
							
								
								Put journal and nvme stats in bootlog ( #22849 )  
							
							... 
							
							
 
							
							* Run commands and put output in bootlog
* log nvme
* fix indent
* cereal without event
* use regular array
old-commit-hash: fa0cbe5d40 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6e027a8aa6 
								
							
								 
							
						 
						
							
							
								
								util.h: add unit conversion constants ( #22813 )  
							
							... 
							
							
 
							
							* Add unit conversion constants.
* move to common/util.h
old-commit-hash: e29cc1c2ee 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7ff2217c8b 
								
							
								 
							
						 
						
							
							
								
								util: remove function to_hex ( #22792 )  
							
							... 
							
							
 
							
							old-commit-hash: ff33ca3413 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								19deb98bc3 
								
							
								 
							
						 
						
							
							
								
								wshadow: fix comma three build  
							
							... 
							
							
 
							
							old-commit-hash: 45c506bb17 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a602b4a1a0 
								
							
								 
							
						 
						
							
							
								
								util:: remove unused funtion base_name ( #22759 )  
							
							... 
							
							
 
							
							old-commit-hash: 8da3cd3cdd 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ebffd5f3ad 
								
							
								 
							
						 
						
							
							
								
								util: add safe write functions ( #22160 )  
							
							... 
							
							
 
							
							* add safe write functions
* log error
* bzfile safe_fopen&safe_flush
* update test_case
* trigger ci
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 652c42da2c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0afe7d74bc 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: 1f39d8cee6 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								25cfa2b65a 
								
							
								 
							
						 
						
							
							
								
								tici: affine loggerd to efficiency cores ( #22581 )  
							
							... 
							
							
 
							
							old-commit-hash: 84de248fa7 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								60e7e09127 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: a93271a518 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								073898d8fd 
								
							
								 
							
						 
						
							
							
								
								retry ioctls while errno == EINTR ( #22054 )  
							
							... 
							
							
 
							
							old-commit-hash: 31230e5b60 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6f92abc815 
								
							
								 
							
						 
						
							
							
								
								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>
old-commit-hash: dddab597bc 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								93d6a8257b 
								
							
								 
							
						 
						
							
							
								
								remove unused function starts_with ( #21979 )  
							
							... 
							
							
 
							
							old-commit-hash: 5f1ec6339f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								94d534afea 
								
							
								 
							
						 
						
							
							
								
								hw.h: move Hardware-related paths to namespace Path ( #21826 )  
							
							... 
							
							
 
							
							* refactor getenv and path
* apply review
old-commit-hash: fefc70b4ca 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c40edd4b56 
								
							
								 
							
						 
						
							
							
								
								qt/util: new function getDongleId ( #21810 )  
							
							... 
							
							
 
							
							* new function getDongleId
* return std::optional
old-commit-hash: 073b96e5d1 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								31ea9413bb 
								
							
								 
							
						 
						
							
							
								
								util/read_files_in_dir: return map by value ( #21815 )  
							
							... 
							
							
 
							
							old-commit-hash: 11ffbc6936 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c042bbf09c 
								
							
								 
							
						 
						
							
							
								
								nav: various cleanup ( #21521 )  
							
							... 
							
							
 
							
							* nav: various cleanup
* eta resize instant
* show
old-commit-hash: 9ea913bcc8 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								196f96f057 
								
							
								 
							
						 
						
							
							
								
								UI: check if dongle id is valid before calling API ( #21275 )  
							
							... 
							
							
 
							
							old-commit-hash: e85fa7f1c9 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								51cf285c31 
								
							
								 
							
						 
						
							
							
								
								Passing arguments by reference ( #21205 )  
							
							... 
							
							
 
							
							old-commit-hash: ee46672d3c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								497472932a 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: 65e0b1e699 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								80ec32bcf3 
								
							
								 
							
						 
						
							
							
								
								loggerd: put signal in end of route sentinel ( #21025 )  
							
							... 
							
							
 
							
							old-commit-hash: 6e22f16ddb 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4d874a90ea 
								
							
								 
							
						 
						
							
							
								
								Store almanac on ublox poweroff ( #20967 )  
							
							... 
							
							
 
							
							* Store almanac on ublox poweroff
* send current UTC time
* move message building to ublox_msg.h
old-commit-hash: ea5141d909 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8b785f4744 
								
							
								 
							
						 
						
							
							
								
								store all files in /sys/fs/pstore in bootlog ( #20875 )  
							
							... 
							
							
 
							
							* store all files in /sys/fs/pstore in bootlog
* whitespace
* fix bootlog test
old-commit-hash: 4742f55749 
							
						 
						
							5 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  
				
					
						
							
							
								 
						
							
							
								7534abdd50 
								
							
								 
							
						 
						
							
							
								
								util.cc: reduce two read_file functions into one ( #20655 )  
							
							... 
							
							
 
							
							* no need to malloc one extra byte
* combine two read_file into a faster one
* cleanup #include
* use resize
* apply suggestions from review
* space
* rebase master
old-commit-hash: fe2f63849a 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ba58b382e2 
								
							
								 
							
						 
						
							
							
								
								util.h: remove unused macro ALIGN ( #20673 )  
							
							... 
							
							
 
							
							old-commit-hash: eb4666b38f 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7d5a53ccbe 
								
							
								 
							
						 
						
							
							
								
								Use std::size for element counts ( #20654 )  
							
							... 
							
							
 
							
							old-commit-hash: cf80675369 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								aa1474467e 
								
							
								 
							
						 
						
							
							
								
								Added new util class FirstOrderFilter ( #20303 )  
							
							... 
							
							
 
							
							* new class FirstOrderFilter
* flick face icon
* revert ui_draw_vision_face
* new function reset()
* reset after update
* use filter to update brightness
old-commit-hash: 6db31b9a33 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2298d8f8f9 
								
							
								 
							
						 
						
							
							
								
								Qt UI: scale volume with speed ( #20441 )  
							
							... 
							
							
 
							
							* Qt UI: scale volume with speed
* for all hw
* way too loud for tici
* set volume
* volume
* swap
old-commit-hash: f1da1f9cb2 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4d6c98aa6b 
								
							
								 
							
						 
						
							
							
								
								Add watchdog check to manager ( #20277 )  
							
							... 
							
							
 
							
							* this should work but doesnt
* Only offroad
* works
* make it work offorad
* reduce diff
* cleanup
* need util
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								a98a06c1f8 
								
							
								 
							
						 
						
							
							
								
								loggerd: clean exit on SIGPWR ( #20100 )  
							
							... 
							
							
 
							
							* loggerd: clean exit on SIGPRW
* no SIGPWR on macos
old-commit-hash: d3dfb47d0e 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9abfacf182 
								
							
								 
							
						 
						
							
							
								
								util.h: re-indent function string_format and use const std::string & for read_file ( #19931 )  
							
							... 
							
							
 
							
							old-commit-hash: 316f475544 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								6af18c1c7c 
								
							
								 
							
						 
						
							
							
								
								util.h: use const reference for std::string parameter ( #19885 )  
							
							... 
							
							
 
							
							old-commit-hash: c688461e11 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								57b1b4c456 
								
							
								 
							
						 
						
							
							
								
								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 18a587023d75b3a3a54f1ceaf9cb31a51640a067.
* add bootlog to .gitignore
* use s->has_qlog instead of true
* add blank lines & remove extern C
old-commit-hash: f973c56a36 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								651d4ce031 
								
							
								 
							
						 
						
							
							
								
								--std=c++17 ( #2330 )  
							
							... 
							
							
 
							
							* switch to c++17
* more 17
* 1z
* use std::clamp
* Fix types in clamp
* bump submodules
* bump laika
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 339d1967cb 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ef8b6d20fb 
								
							
								 
							
						 
						
							
							
								
								add function write_file() ( #2181 )  
							
							... 
							
							
 
							
							* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't  handle errno
old-commit-hash: 6476207009 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5d069eb8c3 
								
							
								 
							
						 
						
							
							
								
								Fixups for Mac, and a bunch for PC ( #1654 )  
							
							... 
							
							
 
							
							* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 344a9a3699 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ebed52527b 
								
							
								 
							
						 
						
							
							
								
								Reduce scheduler latency for realtime processes ( #1638 )  
							
							... 
							
							
 
							
							* WIP: reduce boardd and other lags
* Copypasta fault
* Silence spurious startup warning
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 68531b071c 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b846f88ade 
								
							
								 
							
						 
						
							
							
								
								Support scons build on Mac ( #1034 )  
							
							... 
							
							
 
							
							* fix clock and add Darwin sconstruct
* it builds, this changes should be simplifications too
* fix boardd build
* that's the real type of EGLClientBuffer
* remove extra lines
* ui needs opencl on phone
old-commit-hash: f72f78f2b9 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								189c815e8f 
								
							
								 
							
						 
						
							
							
								
								selfdrive/common  
							
							... 
							
							
 
							
							old-commit-hash: 368a956b96 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								81dd5a50cf 
								
							
								 
							
						 
						
							
							
								
								root commit  
							
							... 
							
							
 
							
							old-commit-hash: 6c33a5c1f3 
							
						 
						
							6 years ago