Commit Graph

1806 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
4422d0c8a8 don't run jenkins on testing closet branches 2020-10-07 15:51:59 -07:00
Willem Melching
2e739aa77c Fix gyro field name 2020-10-07 13:43:35 +02:00
Logan Lasiter
1a2efdc139 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>
2020-10-07 12:15:09 +02:00
Willem Melching
529e9a23ea add check for partial response code (#2282) 2020-10-07 12:14:22 +02:00
Adeeb Shihadeh
99aa342397 fix style inconsistencies in release notes (#2284) 2020-10-07 12:13:16 +02:00
Adeeb Shihadeh
87942eea1c remove green temp processes (#2286) 2020-10-07 12:11:54 +02:00
Adeeb Shihadeh
bd4a1f291d cleanup duplicate function 2020-10-06 23:59:16 -07:00
Adeeb Shihadeh
38a23a55ec add offroad to cpu usage script 2020-10-06 21:12:38 -07:00
Adeeb Shihadeh
f1c3662311 report git branch to testing closet 2020-10-06 21:00:19 -07:00
ZwX1616
e29fd90058 loggerd does not need to babysit this 2020-10-06 18:46:22 -07:00
Adeeb Shihadeh
4b61231999 bump cereal 2020-10-06 17:25:14 -07:00
Willem Melching
e087e37460 bump cereal 2020-10-06 16:00:08 +02:00
Willem Melching
079c878adf Update radard cpu usage 2020-10-06 12:16:12 +02:00
Adeeb Shihadeh
81763a18b5 fix not going onroad on clean dashcam install (#2280) 2020-10-06 11:10:45 +02:00
Adeeb Shihadeh
176c06499d write car params before profiling 2020-10-05 21:34:57 -07:00
Adeeb Shihadeh
6709106025 don't want to profile that 2020-10-05 20:48:23 -07:00
Adeeb Shihadeh
0d11acf34e paramsd profiling 2020-10-05 20:41:24 -07:00
Willem Melching
3f88df62c7 Fix calibration invalid alert on startup (#2270)
* change controlsd calibration initial value

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-05 19:16:52 -07:00
Adeeb Shihadeh
70bc935210 bump cereal 2020-10-05 18:43:21 -07:00
Greg Hogan
2293a6a36c eliminate round-trip reading entire file (#2275)
* eliminate round-trip reading entire file

* only if reading entire file

* print headers in errors

* fix end
2020-10-05 16:59:19 -07:00
ZwX1616
55351859a7 transient considerations (#2276) 2020-10-05 15:41:17 -07:00
ZwX1616
21d4ac1eeb Reduced wheel touch time (#2259)
* decrease wheel touch time

* update refs

* fix unittest

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-05 14:39:24 -07:00
Willem Melching
e51da619c1 LSM6DS3 (#2268)
* add initial lsm6ds3 setup

* accel works

* ignore lsm6ds3 in locationd

* add gyro

* add temp

Co-authored-by: Comma Device <device@comma.ai>
2020-10-05 16:16:25 +02:00
grekiki
a09fd7c860 CI: Add valgrind (#2245)
* prepare a test for valgrind by fixing linter issues

* something went wrong

* Try update cereal

* Not working, fixing replay_learning.py

* Testing

* Testing

* Working now

* More logs, a bit of cleaning, still no idea how this works

* Ok got 10% cleaning done

* trying some stackOverflow code

* Lots of cleaning

* wip

* Delete valgrind_testing.py

* Delete replay_learning.py

* Add to CI, cannot fail though

* Add to CI, cannot fail though

* Now the unit test should fail

* Dump valgrind output in case of a failure

* fix subrepos

* fix subs

* hopefully fixes every issue that we have

* wait for message confirmation

* Revert "wait for message confirmation"

This reverts commit ad7ba280ec6536015ac1a442c9732bfe42fd5664.

* fix local issues

* Revert "fix local issues"

This reverts commit 4498df21df471fa6e9360d50407eaefdf24ae69f.

* attempt 3 to fix things

* untested function extraction

* refactor

* add valgrind task

* add delay and BASEDIR

* Make test not fail, it is not designed for that

* fix subrepositories

* fix tests

* Real fix now :)

* scons

* ... stupid CI

* fix valgrind CI

* Update test.yaml

* Update test.yaml

* Update test.yaml

* add valgrind logs as file

* remove delays

* kill process more reliably

* rename action

* small cleanup

* fix casting to int in case of large leaks

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-05 16:09:32 +02:00
Adeeb Shihadeh
a77548bff6 radard cleanup (#2266)
* some cleanup

* more realistic profiling

* Update selfdrive/controls/radard.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-05 11:37:39 +02:00
Adeeb Shihadeh
df6a66c785 radard profiling (#2265) 2020-10-04 15:55:25 -07:00
Willem Melching
8e0bb6a7ce Fix MacOS CI (#2145)
* compile flag for cython

* fix more setups

* bump cereal

* reenable mac build

* don't let that fail the build

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-04 15:03:20 -07:00
Adeeb Shihadeh
06cb2f963d UI: refactor light sensor (#2129)
* refactor light thread

* qcom low power mode

Co-authored-by: Comma Device <device@comma.ai>
2020-10-03 20:58:46 -07:00