Willem Melching
2fad3df58a
Add logs for why start was blocked ( #2312 ) ( #2346 )
...
* Add logs for why start was blocked
* adding wrapper and prev offroad alert state
* Small updates and fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* Moving to dict of startup conditions
* Fixing dict access
* add type for dict
* remove global
* Use cloudlog event
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix driverview and snapshot start
* not always log
* Cleanup update alerts
* Only ignition needs init
* Fix typing
Co-authored-by: Logan Lasiter <lasiterlogan@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: a1fd08c1e1a9918ec4bbfcf1b60ec22290d8acbd
2020-10-15 15:47:38 +02:00
Comma Device
3d5e2004c3
fix encoder build
...
old-commit-hash: 4e2f9d915f34be5c1e27531ee3040d8e5ddf9e19
2020-10-15 11:23:42 +00: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
8531345bf9
HKG fixups ( #2342 )
...
* fix hyundai blinker state
* consistency with update_speed
* update refs
* make hyundai resume reliable
* update refs
* 20 works
* don't need that
Co-authored-by: Greg Hogan <gregjhogan@gmail.com >
old-commit-hash: 725e3b78ea1baaefa6795116c582a63c7a61686b
2020-10-14 18:27:27 -07:00
Adeeb Shihadeh
aea2faaa98
Alert cleanup ( #2274 )
...
* no more focus recover active
* consistency
* more permanent
* dm alerts
* sanity check test
* no please
* clean that up
* update refs
* one more
* bump cereal
old-commit-hash: ae4b4bd1256c11153035e4236cd801738f135c51
2020-10-14 15:56:18 -07:00
Adeeb Shihadeh
5dc58abbbe
clear irrelevant alerts on state transition ( #2318 )
...
* cleanup
* clear warnings
* more types
* needs refactor
* update refs
* update refs
old-commit-hash: 1c6905cac1c5b4528e60dac3279357959c2e2bc3
2020-10-14 14:08:15 -07: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
Andre Volmensky
7fbba16989
Nissan Rogue 2018 ( #2336 )
...
* Added Nissan Rogue 2018 fingerprint
* Merged Nissan Rogue fingerprints. Updated README.md
old-commit-hash: a1037b53347f47783a76f93954e00a554ce930ca
2020-10-14 11:03:40 -07:00
Adeeb Shihadeh
13a5f5737b
fix params permissions after refactor
...
old-commit-hash: 6f307ea4c560070f1eb7e02218f9de17adc3ab86
2020-10-13 19:14:51 -07:00
VirtuallyChris
8f5ea8a4b8
was supposed to be on branch
...
old-commit-hash: dc680572638ce658c980ccc076a53ebc197768b0
2020-10-13 15:30:57 -07:00
VirtuallyChris
9c2166082f
Add more Rav4 fw
...
old-commit-hash: fd563e17d68d908628224d073efb9d1de3c72ac8
2020-10-13 15:28:48 -07:00
Adeeb Shihadeh
834a83dcd2
don't show giraffe alert with relay ( #2335 )
...
* who has a giraffe still?
* not black
old-commit-hash: 6bc6db5f7adfc7bdc05fcb19e5fcef6e83d96f8c
2020-10-13 12:42:04 -07:00
Willem Melching
94a947e59a
Fix lane change when blinker is turned off early ( #2324 )
...
old-commit-hash: ce85e402f4a7141d8ee739006c20a5492c06a2ea
2020-10-13 17:42:29 +02: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
Willem Melching
a331861873
Remove czmq part 1 ( #2332 )
...
* remove czmq
* remove streaming mode from loggerd
* Add include for usleep
old-commit-hash: a4ccfcffe8247bf467bddfb0e6c5b3eb8851e21a
2020-10-13 16:01:07 +02:00
grekiki
469a7ee7ef
add caching to CI tests ( #2269 )
...
* first caching attempt
* caching attempt
* caching attempt
* caching attempt
* caching attempt
* caching attempt
* dump logs
* does this work?
* Create cache folder
* Print folder contents
* Fix volume mount
* Update test.yaml
* add removed tests
* reduce diff
* reduce diff
* reduce diff
* reduce diff
* reduce diff
* readd coverage upload
* Update test.yaml
* add more caching
* Use hash of test file to compute cache key
* add cache to valgrind tests
* Update .github/workflows/test.yaml
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* Update .github/workflows/test.yaml
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* Also hash workflow yaml
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: fc1d01be81d4e0716d10f8bed9ea3feb6a22be5b
2020-10-13 15:38:13 +02:00
VirtuallyChris
9c8aee2892
Add Nissan Leaf 2020 ( #2311 )
...
* Add 2020 Leaf fingerprint
* Split fingerpints
* un-merge fingerprints
old-commit-hash: f10497a75d82f4f9010de29f3f17dc2bc12c7b55
2020-10-12 16:30:34 -07:00
Adeeb Shihadeh
de4c543e63
remove hotspot exceptions in uploader ( #2319 )
...
* remove hotspot exceptions
* skip net check while onroad
old-commit-hash: ee37d03c1ffa76d91d7085c2eb9ca2ce762ee647
2020-10-12 13:12:01 -07:00
Willem Melching
839b6af9ce
Update 2020 Hyundai Palisade FW versions ( #2322 )
...
* add fw versions
* carParams is sometimes not in first segment
* Update can fingerprint
old-commit-hash: 0365db20d8853845dce79727e347b02ec07b472c
2020-10-12 15:57:06 +02:00
eFini
39c19cf2d5
white/grey/black pandas still have power ctrl function ( #2308 )
...
old-commit-hash: ea81d36c41a789b69a787e29985301fb057e831e
2020-10-12 13:58:36 +02:00
grekiki
83b7ec3ce1
Process replay for C++ daemons ( #2288 )
...
* more like a stash
* mem
* comment cpp
* remove some tests
* WORKSpython test_processes.py python test_processes.py
* all tests work, time to clean up
* initialize cleanup
* fix spaces
* refactor
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* revert debug change
* mini refactor
* remove submaster
* update README
* add delay
* check for missaligned start
* Update compare_logs.py
* should finally work now, I hope...
* update comment
* real fix
* real fix now
* fix styling
* fix styling
* Update process_replay.py
* fix code review
* speed up tests
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* fix reviews
* nicer code
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 870644b59eb61953b3355a3938cc272927708dfa
2020-10-12 11:18:53 +02:00
Dean Lee
bf08763a3a
fix webcam build error ( #2320 )
...
old-commit-hash: 8fc9cfea38982cc0d15361e52c248331a18bf7e3
2020-10-11 22:45:19 -07:00
vanillagorillaa
31e75d48a9
RAV4TSS2: Additional fw ( #2317 )
...
old-commit-hash: b47f8be0ec870e4c35b450f15afec8ce8581504c
2020-10-11 12:06:34 -07:00
Adeeb Shihadeh
17d4fbfa7c
more accurate profiling ( #2287 )
...
old-commit-hash: d5796e07e2a08141bae97de2d76bfd20ce199aad
2020-10-10 15:17:02 -07:00
VirtuallyChris
7287f04d69
Add Sienna engine fw
...
old-commit-hash: 4953fb86689614c19ad85e66737f59c53cf28de4
2020-10-09 19:20:22 -07:00
Afshin1354
facf8f6930
2018 Lexus RX 350 engine fw ( #2306 )
...
* Update values.py
Add FINGERPRINT and carFw for 2018 LEXUS RX 350.
* Removed 2018 RX 350 Fingerprints but left engine in there.
old-commit-hash: fe40cd4ff1ec81297c1fa82bf7eb02c8eab5f334
2020-10-09 18:54:32 -07:00
ZwX1616
a54d95fdbb
Test camerad in CI ( #2297 )
...
* remove unused junk
* check frame pkts
* from magic
* self
* cleanup
* add todo
* no opencv
* run in J
* fix conv
* make 250x faster
* abs
* should be +1
* depends on starting phase
* block on furniture refactor
* fixed
* restart test
* check ex
* need scaling
old-commit-hash: cb58e79ee83c15662a1191a39aeb75f276c7c591
2020-10-09 16:31:25 -07:00
ZwX1616
9fd7cfc95a
tici camera art II ( #2223 )
...
* protect highlights
* fix modeld scale factor
* rewrite logic for accurate and smooth AE
* fix condition
* tune speed
* move to qcom2
* not exactly 2x
* avoid hunting due to ettr policy
* tune to new curve
* gain kickdowns
* log params
* 4x legroom
* no limit needed here
* simple lowpass
* tweak
* pin to a remote core
* speedup AE and lower night exp
* this curve makes more sense
* tuning from fleet data
* fix ui
* only qcom2
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 00b642146fa24449d36aec322c5972cf718d3958
2020-10-09 16:26:43 -07:00
Adeeb Shihadeh
6bb8f56f8d
add timeout to modeld replay
...
old-commit-hash: cb85a193509c21597986f3f9abaf1a29e061b26d
2020-10-09 16:25:21 -07:00
Adeeb Shihadeh
d2cd6bc73b
remove unused img
...
old-commit-hash: de75992c483da937cba28ec20592c945579ad547
2020-10-09 15:48:05 -07:00
Adeeb Shihadeh
b864a2e9dd
add acura rdx test route
...
old-commit-hash: 024c33e7246418e921fab1e9616814a79d33b2c3
2020-10-09 13:57:58 -07:00
ZwX1616
fa54bf9be4
Fix dcamera inaccurate fps on OP3T and LP3 ( #2305 )
...
* fix op3t pclk
* fix leeco fps
old-commit-hash: 84e83e88a3f0ed694f4a16527621981039c85dd0
2020-10-09 11:26:32 -07:00
Willem Melching
984a9bb411
boardd always send can packet ( #2307 )
...
* boardd always send message
* Only log missed cycles when ignition is on
* Just clip, no completely different code paths
old-commit-hash: cfd16faad2c009e01a679c7a06b59ae67a6d5267
2020-10-09 12:45:43 +02:00
Adeeb Shihadeh
51d59aefca
UI cleanup + startup time improvement ( #2295 )
...
old-commit-hash: 671183184bd177d697285d397bce10c51afd5395
2020-10-08 19:29:56 -07:00
ZwX1616
9589d518a2
Upgrade to SNPE 1.41.0 ( #2285 )
...
* snpe 1.41.0
* cleanup
* unignored
* where is my symphony
* add snpe/dsp to release files
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 80515576d5cbbf76c0c1457293e83675b16921c8
2020-10-08 17:18:01 -07:00
Willem Melching
e648878ae3
Add sonata engine FW
...
old-commit-hash: 018267dfecb697a9d4e74bb80466fe6ecd852e5a
2020-10-08 21:17:10 +02:00
Willem Melching
939336a7c4
update sonata fingerprint
...
old-commit-hash: f65733f7445f717a9672100d39f664c6f8fb2681
2020-10-08 21:13:39 +02:00
Shane Smiskol
09aad99228
Use math instead of numpy for calculating TTC, on average 80% faster ( #2293 )
...
* Use math instead of numpy, on average 80% faster
* whoops
old-commit-hash: 6133f603f046bb08c8e3493c3092c796156b8930
2020-10-08 14:23:53 +02:00
Willem Melching
5b91f74549
fix loggerd rotate ( #2291 )
...
old-commit-hash: b682ebc022959b86e12a106af7bb614737e78c77
2020-10-07 16:59:32 -07:00
Willem Melching
a12ffca9f6
Fix gyro field name
...
old-commit-hash: 2e739aa77c912d7e28e3f5fc434636015f766829
2020-10-07 13:43:35 +02:00
Logan Lasiter
dd0c9d0796
Present alert if fan isn't spinning ( #2258 )
...
* Present alert if fan isn't spinning
* allow entry
* Small updates
Moving to fan malfunction event
Only trigger event for uno or dos
* Changed checking fanSpeed > 50%
* Update text for fan malfunction alert.
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Alert if fan isn't spinning for 5 sec
* Alert edit
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 1a2efdc139868f3588a4a35505e8833eacee735d
2020-10-07 12:15:09 +02:00
Adeeb Shihadeh
4d329cddfa
remove green temp processes ( #2286 )
...
old-commit-hash: 87942eea1c7fa6aef9038bae01b3c35261ecff16
2020-10-07 12:11:54 +02:00
Adeeb Shihadeh
aff01412d3
cleanup duplicate function
...
old-commit-hash: bd4a1f291df99e237d73ff0b3743d9ffcd88eb93
2020-10-06 23:59:16 -07:00
Adeeb Shihadeh
ea90a1e391
add offroad to cpu usage script
...
old-commit-hash: 38a23a55ec8b27851e4f5eb2d37717c7ada63053
2020-10-06 21:12:38 -07:00
Adeeb Shihadeh
baae562f8f
report git branch to testing closet
...
old-commit-hash: f1c3662311ae3d4b69ddb2ddb268622d9a9c3339
2020-10-06 21:00:19 -07:00
ZwX1616
dc2470176b
loggerd does not need to babysit this
...
old-commit-hash: e29fd900583b88f23883afd0a28e7ad06f0ff597
2020-10-06 18:46:22 -07:00
Willem Melching
13769c0287
Update radard cpu usage
...
old-commit-hash: 079c878adf24f1374a687138d70f6802ed030a93
2020-10-06 12:16:12 +02:00
Adeeb Shihadeh
8eeaea6cce
fix not going onroad on clean dashcam install ( #2280 )
...
old-commit-hash: 81763a18b5d0e379b749e090ecce36a91fca7c43
2020-10-06 11:10:45 +02:00
Adeeb Shihadeh
daad4ce4d6
write car params before profiling
...
old-commit-hash: 176c06499de585cc2c96484d442ee79fd0df844e
2020-10-05 21:34:57 -07:00
Adeeb Shihadeh
2f754f6df4
don't want to profile that
...
old-commit-hash: 67091060253a94d921460ad2bb4d8c5f2685dc07
2020-10-05 20:48:23 -07:00