Commit Graph

2373 Commits

Author SHA1 Message Date
eFini 39c19cf2d5 white/grey/black pandas still have power ctrl function (#2308)
old-commit-hash: ea81d36c41
2020-10-12 13:58:36 +02:00
Willem Melching af97e71063 Try only extracting python folder (#2321)
old-commit-hash: f258366e0c
2020-10-12 13:37:01 +02:00
grekiki b5793a7d44 Update README.md (#2299)
* Update README.md

* typo

* Update README.md
old-commit-hash: b105bd6f50
2020-10-12 13:17:08 +02:00
Greg Hogan 904ffd7dc5 fix building modeld on pc (#2313)
old-commit-hash: 32ae738ea1
2020-10-12 13:16:42 +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: 870644b59e
2020-10-12 11:18:53 +02:00
Dean Lee bf08763a3a fix webcam build error (#2320)
old-commit-hash: 8fc9cfea38
2020-10-11 22:45:19 -07:00
Adeeb Shihadeh f6d772aeb6 bump opendbc
old-commit-hash: 85a42ed12b
2020-10-11 13:30:13 -07:00
vanillagorillaa 31e75d48a9 RAV4TSS2: Additional fw (#2317)
old-commit-hash: b47f8be0ec
2020-10-11 12:06:34 -07:00
Adeeb Shihadeh 17d4fbfa7c more accurate profiling (#2287)
old-commit-hash: d5796e07e2
2020-10-10 15:17:02 -07:00
VirtuallyChris 7287f04d69 Add Sienna engine fw
old-commit-hash: 4953fb8668
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: fe40cd4ff1
2020-10-09 18:54:32 -07:00
George Hotz bf852115bf improve profiler
old-commit-hash: f65f7051c4
2020-10-09 18:39:54 -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: cb58e79ee8
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: 00b642146f
2020-10-09 16:26:43 -07:00
Adeeb Shihadeh 6bb8f56f8d add timeout to modeld replay
old-commit-hash: cb85a19350
2020-10-09 16:25:21 -07:00
Adeeb Shihadeh d2cd6bc73b remove unused img
old-commit-hash: de75992c48
2020-10-09 15:48:05 -07:00
Adeeb Shihadeh b864a2e9dd add acura rdx test route
old-commit-hash: 024c33e724
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: 84e83e88a3
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: cfd16faad2
2020-10-09 12:45:43 +02:00
Adeeb Shihadeh 51d59aefca UI cleanup + startup time improvement (#2295)
old-commit-hash: 671183184b
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: 80515576d5
2020-10-08 17:18:01 -07:00
Willem Melching e648878ae3 Add sonata engine FW
old-commit-hash: 018267dfec
2020-10-08 21:17:10 +02:00
Willem Melching 939336a7c4 update sonata fingerprint
old-commit-hash: f65733f744
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: 6133f603f0
2020-10-08 14:23:53 +02:00
Willem Melching 5b91f74549 fix loggerd rotate (#2291)
old-commit-hash: b682ebc022
2020-10-07 16:59:32 -07:00
Adeeb Shihadeh 27b7daec32 don't run jenkins on testing closet branches
old-commit-hash: 4422d0c8a8
2020-10-07 15:51:59 -07:00
Willem Melching a12ffca9f6 Fix gyro field name
old-commit-hash: 2e739aa77c
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: 1a2efdc139
2020-10-07 12:15:09 +02:00
Willem Melching 1a2893345a add check for partial response code (#2282)
old-commit-hash: 529e9a23ea
2020-10-07 12:14:22 +02:00
Adeeb Shihadeh 00c410160a fix style inconsistencies in release notes (#2284)
old-commit-hash: 99aa342397
2020-10-07 12:13:16 +02:00
Adeeb Shihadeh 4d329cddfa remove green temp processes (#2286)
old-commit-hash: 87942eea1c
2020-10-07 12:11:54 +02:00
Adeeb Shihadeh aff01412d3 cleanup duplicate function
old-commit-hash: bd4a1f291d
2020-10-06 23:59:16 -07:00
Adeeb Shihadeh ea90a1e391 add offroad to cpu usage script
old-commit-hash: 38a23a55ec
2020-10-06 21:12:38 -07:00
Adeeb Shihadeh baae562f8f report git branch to testing closet
old-commit-hash: f1c3662311
2020-10-06 21:00:19 -07:00
ZwX1616 dc2470176b loggerd does not need to babysit this
old-commit-hash: e29fd90058
2020-10-06 18:46:22 -07:00
Adeeb Shihadeh d13963e21b bump cereal
old-commit-hash: 4b61231999
2020-10-06 17:25:14 -07:00
Willem Melching e0414892bb bump cereal
old-commit-hash: e087e37460
2020-10-06 16:00:08 +02:00
Willem Melching 13769c0287 Update radard cpu usage
old-commit-hash: 079c878adf
2020-10-06 12:16:12 +02:00
Adeeb Shihadeh 8eeaea6cce fix not going onroad on clean dashcam install (#2280)
old-commit-hash: 81763a18b5
2020-10-06 11:10:45 +02:00
Adeeb Shihadeh daad4ce4d6 write car params before profiling
old-commit-hash: 176c06499d
2020-10-05 21:34:57 -07:00
Adeeb Shihadeh 2f754f6df4 don't want to profile that
old-commit-hash: 6709106025
2020-10-05 20:48:23 -07:00
Adeeb Shihadeh 413d7a4243 paramsd profiling
old-commit-hash: 0d11acf34e
2020-10-05 20:41:24 -07:00
Willem Melching 416bc987f5 Fix calibration invalid alert on startup (#2270)
* change controlsd calibration initial value

* update refs

* update refs

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

* only if reading entire file

* print headers in errors

* fix end
old-commit-hash: 2293a6a36c
2020-10-05 16:59:19 -07:00
ZwX1616 6d3dc46b8f transient considerations (#2276)
old-commit-hash: 55351859a7
2020-10-05 15:41:17 -07:00
ZwX1616 a9d6c98aa4 Reduced wheel touch time (#2259)
* decrease wheel touch time

* update refs

* fix unittest

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

* accel works

* ignore lsm6ds3 in locationd

* add gyro

* add temp

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e51da619c1
2020-10-05 16:16:25 +02:00
grekiki 67b02775da 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>
old-commit-hash: a09fd7c860
2020-10-05 16:09:32 +02:00
Adeeb Shihadeh af2ec63bea 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>
old-commit-hash: a77548bff6
2020-10-05 11:37:39 +02:00