Commit Graph

12534 Commits

Author SHA1 Message Date
Adeeb Shihadeh
725e3b78ea 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>
2020-10-14 18:27:27 -07:00
Adeeb Shihadeh
ae4b4bd125 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
2020-10-14 15:56:18 -07:00
VirtuallyChris
753aa1edcd 2021 Rav4 confirmed working 2020-10-14 14:14:32 -07:00
Adeeb Shihadeh
1c6905cac1 clear irrelevant alerts on state transition (#2318)
* cleanup

* clear warnings

* more types

* needs refactor

* update refs

* update refs
2020-10-14 14:08:15 -07:00
Adeeb Shihadeh
de833ecb06 set default path for put_nonblocking helper 2020-10-14 13:57:10 -07:00
Adeeb Shihadeh
707a670f42 fix params on PC and when reading path from env (#2340)
* fix params when reading path from env

* fix pc
2020-10-14 13:45:24 -07:00
Andre Volmensky
a1037b5334 Nissan Rogue 2018 (#2336)
* Added Nissan Rogue 2018 fingerprint

* Merged Nissan Rogue fingerprints. Updated README.md
2020-10-14 11:03:40 -07:00
Adeeb Shihadeh
6f307ea4c5 fix params permissions after refactor 2020-10-13 19:14:51 -07:00
VirtuallyChris
dc68057263 was supposed to be on branch 2020-10-13 15:30:57 -07:00
VirtuallyChris
fd563e17d6 Add more Rav4 fw 2020-10-13 15:28:48 -07:00
Adeeb Shihadeh
6bc6db5f7a don't show giraffe alert with relay (#2335)
* who has a giraffe still?

* not black
2020-10-13 12:42:04 -07:00
Willem Melching
ce85e402f4 Fix lane change when blinker is turned off early (#2324) 2020-10-13 17:42:29 +02:00
Willem Melching
1b3f37d0cb change macos cache policy and fix typo 2020-10-13 16:55:46 +02:00
grekiki
c4cf7ebaf2 Fix typo in README 2020-10-13 16:23:59 +02:00
Willem Melching
2e182e5c57 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>
2020-10-13 16:23:23 +02:00
Willem Melching
a4ccfcffe8 Remove czmq part 1 (#2332)
* remove czmq

* remove streaming mode from loggerd

* Add include for usleep
2020-10-13 16:01:07 +02:00
Willem Melching
4210ce24cf remove on status 2020-10-13 15:55:06 +02:00
grekiki
fc1d01be81 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>
2020-10-13 15:38:13 +02:00
grekiki
8a952cec33 Speedup android permissions (#2331)
* get android permissions before setiing them

* cleanup

* add newline

* make code nicer

* simplify code

* str()

* utf-8 and nicer exception handling
2020-10-13 15:35:18 +02:00
VirtuallyChris
f10497a75d Add Nissan Leaf 2020 (#2311)
* Add 2020 Leaf fingerprint

* Split fingerpints

* un-merge fingerprints
2020-10-12 16:30:34 -07:00
Adeeb Shihadeh
ee37d03c1f remove hotspot exceptions in uploader (#2319)
* remove hotspot exceptions

* skip net check while onroad
2020-10-12 13:12:01 -07:00
grekiki
d531293245 Startup speedup: scons decider (#2309)
* dump timing

* fix

* change a bit

* change a bit

* change a bit

* improve scons

* fix typo

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* try to improve manager

* change decider

* reduce diff

* reduce diff

* reduce diff

* reduce diff and fix review

* submodules
2020-10-12 18:46:37 +02:00
Willem Melching
0365db20d8 Update 2020 Hyundai Palisade FW versions (#2322)
* add fw versions

* carParams is sometimes not in first segment

* Update can fingerprint
2020-10-12 15:57:06 +02:00
Willem Melching
6bded95c90 Build sim container once an hour 2020-10-12 15:14:03 +02:00
Willem Melching
e2fa4cc212 build sim container with available cores 2020-10-12 15:13:13 +02:00
eFini
ea81d36c41 white/grey/black pandas still have power ctrl function (#2308) 2020-10-12 13:58:36 +02:00
Willem Melching
f258366e0c Try only extracting python folder (#2321) 2020-10-12 13:37:01 +02:00
grekiki
b105bd6f50 Update README.md (#2299)
* Update README.md

* typo

* Update README.md
2020-10-12 13:17:08 +02:00
Greg Hogan
32ae738ea1 fix building modeld on pc (#2313) 2020-10-12 13:16:42 +02:00
grekiki
870644b59e 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>
2020-10-12 11:18:53 +02:00
Dean Lee
8fc9cfea38 fix webcam build error (#2320) 2020-10-11 22:45:19 -07:00
Adeeb Shihadeh
85a42ed12b bump opendbc 2020-10-11 13:30:13 -07:00
vanillagorillaa
b47f8be0ec RAV4TSS2: Additional fw (#2317) 2020-10-11 12:06:34 -07:00
Adeeb Shihadeh
d5796e07e2 more accurate profiling (#2287) 2020-10-10 15:17:02 -07:00
VirtuallyChris
4953fb8668 Add Sienna engine fw 2020-10-09 19:20:22 -07:00
Afshin1354
fe40cd4ff1 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.
2020-10-09 18:54:32 -07:00
George Hotz
f65f7051c4 improve profiler 2020-10-09 18:39:54 -07:00
ZwX1616
cb58e79ee8 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
2020-10-09 16:31:25 -07:00
ZwX1616
00b642146f 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>
2020-10-09 16:26:43 -07:00
Adeeb Shihadeh
cb85a19350 add timeout to modeld replay 2020-10-09 16:25:21 -07:00
Adeeb Shihadeh
de75992c48 remove unused img 2020-10-09 15:48:05 -07:00
Adeeb Shihadeh
024c33e724 add acura rdx test route 2020-10-09 13:57:58 -07:00
ZwX1616
84e83e88a3 Fix dcamera inaccurate fps on OP3T and LP3 (#2305)
* fix op3t pclk

* fix leeco fps
2020-10-09 11:26:32 -07:00
Willem Melching
cfd16faad2 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
2020-10-09 12:45:43 +02:00
Adeeb Shihadeh
671183184b UI cleanup + startup time improvement (#2295) 2020-10-08 19:29:56 -07:00
ZwX1616
80515576d5 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>
2020-10-08 17:18:01 -07:00
Willem Melching
018267dfec Add sonata engine FW 2020-10-08 21:17:10 +02:00
Willem Melching
f65733f744 update sonata fingerprint 2020-10-08 21:13:39 +02:00
Shane Smiskol
6133f603f0 Use math instead of numpy for calculating TTC, on average 80% faster (#2293)
* Use math instead of numpy, on average 80% faster

* whoops
2020-10-08 14:23:53 +02:00
Willem Melching
b682ebc022 fix loggerd rotate (#2291) 2020-10-07 16:59:32 -07:00