Adeeb Shihadeh
3e2f436d4c
auto-detect pigeon or quectel ( #25991 )
...
* auto-detect pigeon or quectel
* persistent
* fix sim
* fix process replay
* fix locationd unit tests
* fix that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01d05f66fe
3 years ago
Dean Lee
dc0ad229cd
Params: add new method to get all keys ( #25779 )
...
* allKeys
* cleanup and test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 85b433760a
3 years ago
Adeeb Shihadeh
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
Lukas Petersson
622b4b9d9e
params: support OPENPILOT_PREFIX ( #24495 )
...
* prefix params
* set env
* prefix in manager
* filesystem except
* dont delete manager folder
* Update selfdrive/common/params.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* debug same path
* remove cleanup + same default
* dont use filesystem lib
* param symlink path
* path
* spelling
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c28735358e
3 years ago
Willem Melching
6346a84060
thermald: remove panda disconnect logic ( #23526 )
...
* thermald: remove panda disconnect logic
* keep that
old-commit-hash: ed23177898
3 years ago
Dean Lee
40b2bb9f65
params: code cleanup ( #22744 )
...
* cleanup params
* apply review
* continue
* use c_str
* cleanup filelock
* don't check return code of close()
* remove call_once
* cleanup params_pyx
* cleanup comment
old-commit-hash: 2773ff5ace
4 years ago
dlsp
1779243675
params: include `optional` header ( #22553 )
...
old-commit-hash: c6b210da02
4 years ago
Adeeb Shihadeh
706542a7b2
nav: add button to clear current route ( #22167 )
...
* nav: add button to clear current route
* fix scroll
* retab
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d5475ba946
4 years ago
Dean Lee
8869697c49
Params: faster atomic clearAll ( #21973 )
...
* faster clearAll
* use unlink
* fsync_dir if removed > 0
* remove macro ERR_NO_VALUE
* always fsync
* keep call to unlink
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 383ff35790
4 years ago
Dean Lee
496c0af226
Params: set ParamKeyType: ALL to 0xFFFFFFFF ( #21978 )
...
old-commit-hash: 4bbbbe5175
4 years ago
Dean Lee
29ec7b83bf
params: remove persistent params ( #21975 )
...
* cleanup constructors
* remove persistent_param
* remove test_persist_params_put_and_get
old-commit-hash: 3b752a307f
4 years ago
George Hotz
17867a1122
loggerd: implement DONT_LOG flag ( #21832 )
...
* implement DONT_LOG flag
* better typing
old-commit-hash: 8354cfc53c
4 years ago
Dean Lee
31ea9413bb
util/read_files_in_dir: return map by value ( #21815 )
...
old-commit-hash: 11ffbc6936
4 years ago
Dean Lee
f70a79b838
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
old-commit-hash: c53cb5d570
4 years ago
ShaneSmiskol
ddff72ccea
Add CLEAR_ON_IGNITION_OFF param type ( #21121 )
...
old-commit-hash: 36beaf0d68
4 years ago
Willem Melching
8c3d2ed644
Update UI fixes/improvements ( #21089 )
...
* Show latest update time
* utc
* make work more than once
* cleanup
* whitespace
* only while offroad
old-commit-hash: e66bbec52b
4 years ago
Dean Lee
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
4 years ago
Adeeb Shihadeh
88434dc9e4
add CLEAR_ON_IGNITION param type ( #20810 )
...
old-commit-hash: b4447993c1
4 years ago
Dean Lee
b12a444bdd
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>
old-commit-hash: 27d3f820bf
4 years ago
Willem Melching
8f4a445171
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
old-commit-hash: ae094042ad
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Adeeb Shihadeh
cbafcbcc3c
remove unused params function
...
old-commit-hash: 94991d9319
5 years ago
Adeeb Shihadeh
d06d1d76dc
fix params permissions for offroad ( #2356 )
...
* fix params permissions
* don't need that one
old-commit-hash: 20a6ca83c9
5 years ago
Willem Melching
498ecbdf3c
Params refactor, simplified ( #2300 )
...
* always c++
* Create C++ params class
* get works
* tests hang now
* passes tests
* cleanup string formatting
* handle interrupt in blocking read
* fix memory leak
* remove unused constructor
* Use delete_db_value directly
* Rename put -> write_db_value
* filename cleanup
* no semicolons in cython
* Update common/SConscript
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add std::string version of delete_db_value
* This is handled
* cleanup encoding
* Add clear method to clear all
* add persistent params
* fix android build
* Should be called clear_all
* only import params when needed
* set params path on manager import
* recusrively create directories
* Fix function order
* cleanup mkdirp
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e182e5c57
5 years ago
Adeeb Shihadeh
91ac4efab2
driver monitoring cleanup ( #2101 )
...
* read rhd from param
* don't need that anymore
* fix build
* bump cereal
* read param from camerad too
* add read_db_bool helper
* bump model replay ref commit, IsRHD wasn't set
old-commit-hash: 349040d958
5 years ago
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74d
5 years ago
robbederks
5a12fc32e7
Ambient light calibration parameters on persist partition ( #1429 )
...
* WIP: light sensor persistent params
* fix params writing
* Persistent params argument in C params lib. Fixed symlink flow
* Removed debug prints
* fix boardd
* fix ui
* remove debug print
old-commit-hash: 71bebc4fca
5 years ago
George Hotz
189c815e8f
selfdrive/common
...
old-commit-hash: 368a956b96
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
e07d32c790
openpilot v0.5.3 release
...
old-commit-hash: 285c52eb69
7 years ago
Vehicle Researcher
2c0cc6103a
openpilot v0.3.7 release
...
old-commit-hash: daf54ad54d
8 years ago
Vehicle Researcher
ee8459a55f
openpilot v0.3.6 release
...
old-commit-hash: 99cb610b12
8 years ago
Vehicle Researcher
5de48a7668
openpilot v0.3.0-devel release
...
old-commit-hash: 4653a9aef0
8 years ago