Dean Lee
6f500ee98a
fsync_dir: remove goto ( #2498 )
...
old-commit-hash: 1bd1c961efccfa99936dd7e096356af3fa5243ed
2020-11-09 01:21:48 -08:00
Adeeb Shihadeh
cbafcbcc3c
remove unused params function
...
old-commit-hash: 94991d9319bb96dd5b481a68afb3dffc1f1bc4f5
2020-10-22 17:05:52 -07:00
Willem Melching
9ecc0d362e
store params in ~/.comma on PC ( #2369 )
...
old-commit-hash: c0d92516ccf4dcb8a09c972815a6e08326b59105
2020-10-20 13:18:21 +02:00
Willem Melching
8cc1d9f855
fix typo in params path on PC
...
old-commit-hash: d28f488ea56c78c4f70fd3c8c16114ffa48ba38a
2020-10-19 14:25:45 +02:00
Comma Device
b43b1ac567
need that one too
...
old-commit-hash: e4d2174a4efaf324f2e32c11a569bc7f069a4a30
2020-10-17 17:44:10 -07:00
Adeeb Shihadeh
d06d1d76dc
fix params permissions for offroad ( #2356 )
...
* fix params permissions
* don't need that one
old-commit-hash: 20a6ca83c9194025bb6f2edf2c3992b7b6c9001a
2020-10-17 17:07:40 -07:00
Adeeb Shihadeh
f92c30b164
fix build warnings ( #2355 )
...
* fix build warnings
* cython fixes
* cleanup transformations build
* little more
old-commit-hash: 96b637737bd42b334bffb188d278766bd0abe6c6
2020-10-17 12:40:01 -07:00
Willem Melching
789d5176cb
Params path only in one place ( #2344 )
...
* fix params paths
* Qcom & qcom2
* This env variable is not used anywhere
* params path in only one place
* fix other PARAMS_PATH references
* absolute path is probably better
old-commit-hash: 3dd944898183be0ecf985f389d462e53c3feb8e5
2020-10-15 13:15:22 +02:00
Adeeb Shihadeh
31ea16e7fa
fix params on PC and when reading path from env ( #2340 )
...
* fix params when reading path from env
* fix pc
old-commit-hash: 707a670f42dc87c322c6d27eb147ba260b149e23
2020-10-14 13:45:24 -07:00
Adeeb Shihadeh
13a5f5737b
fix params permissions after refactor
...
old-commit-hash: 6f307ea4c560070f1eb7e02218f9de17adc3ab86
2020-10-13 19:14:51 -07:00
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: 2e182e5c574ea1468678b5fd8d0597e34ed5898d
2020-10-13 16:23:23 +02:00
Dean Lee
63c8162fd3
close lock_fd if flock failed ( #2231 )
...
old-commit-hash: 9983389ffebe3383736111b0b4ad762aa9ef580b
2020-09-28 11:47:38 +02:00
Dean Lee
f5ec24f42f
Params: use a multiple-reader / single-writer flock to improve concurrency ( #2207 )
...
* improve concurrency: multiple readers, single writer locks
* remove lock in read_db_value
old-commit-hash: 4fba3408c41fad12a75533cf189686601f9e49a6
2020-09-24 11:51:36 +02:00
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: 349040d9580bf7c9b98273dd2745fc4b147d3254
2020-08-29 17:16:00 -07:00
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74ddc4672b35a5186e868794468a44345
2020-06-09 13:46:49 -07:00
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: 71bebc4fca91681669c86b5600b67bf2b7f899bf
2020-05-08 19:39:18 -07:00
Andy Haden
4abb80c9d6
Remove legacy AccessToken param
...
old-commit-hash: 538ca733c7c1640df2e42c6dad6faf6339363437
2020-03-23 00:22:41 -07:00
George Hotz
189c815e8f
selfdrive/common
...
old-commit-hash: 368a956b96
2020-01-17 11:01:02 -08:00
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
2020-01-15 14:05:04 -08:00
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
2019-11-04 15:13:52 -08:00
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher
3835061760
openpilot v0.6.2 release
...
old-commit-hash: e90c41c576
2019-07-30 02:27:48 +00:00
Vehicle Researcher
7062c6dcc4
openpilot v0.5.4 release
...
old-commit-hash: a422246dc3
2018-09-25 00:13:41 -07:00
Vehicle Researcher
e07d32c790
openpilot v0.5.3 release
...
old-commit-hash: 285c52eb69
2018-09-03 16:43:12 -07:00
Vehicle Researcher
2c0cc6103a
openpilot v0.3.7 release
...
old-commit-hash: daf54ad54d
2017-09-30 19:05:03 -07:00