Commit Graph

1245 Commits

Author SHA1 Message Date
Adeeb Shihadeh c374f03187 Revert modeld vipc conflate behavior and alert on dropped frame percent (#1877)
* Revert "Fix modeld dropping frames if processing takes over 50 ms"

This reverts commit fb908877a50d72e20a047bd4138316b12c8a30cc.

* track frame drop

* fix unused

* alert on frame drop perc

* reduce thresholds

* posenet is invalid on non-consecutive frames

* Refactor filter time constant

* Use vipc_dropped_frames for posenet valid check

* Actually set frame drop percentage

* Add explicit cast just to be sure

* Prevent frames dropped to go up to quickly on startup

* bump cereal

* reduce soft disable threshold to 1%

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 58c3b5ba84f6c3da3c660770148cea98c708fce5
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh 5913405951 2020 Jeep Grand Cherokee fingerprint
Squashed commit of the following:

commit a1a14048375b4d9c9181b2797621e999738104f8
Author: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Date:   Mon Jul 13 16:30:54 2020 -0700

    cleanup

commit cf7d4bb162c5018a05b81dd83f124b3ef7826714
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 21:08:59 2020 -0700

    added missed value

commit b91af6eef1b5d966cf4342475a37129ddb46e8de
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 20:52:41 2020 -0700

    Update values.py

commit d3d564fc76db19eae1464d6d938fdc43aa9b6d4e
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Fri Jul 10 00:23:35 2020 -0700

    add support for 2020 Grand Cherokee

old-commit-hash: 1ef3b2095564518cd16190f1f4ed2c2d3030e7a2
2020-07-13 17:00:27 -07:00
Adeeb Shihadeh 05628116ee fix blocking sleep in updated (#1860)
old-commit-hash: 62a94eb0cda8bc2c0f2cc1a116b3d5a0cc6e4628
2020-07-12 01:46:18 -07:00
Adeeb Shihadeh 28181e86bf Use a monotonic clock source for power monitoring (#1861)
old-commit-hash: 897ee6bd2b11f313455fd00baff7eee5d45afac5
2020-07-12 01:46:02 -07:00
martinl 0d6df8fc79 Add APPROACHING signals for Subaru blindspot monitoring (#1864)
old-commit-hash: 7b2789aa3aa36611c06301de6e56d2cdf1af96a6
2020-07-11 14:36:26 -07:00
s70160 c2836f6112 Add hyundai ioniq 2018 fingerprint (#1863)
old-commit-hash: 1286b45bfeb1b62bf756e474cbe34dd3fd3e4a8d
2020-07-11 00:17:32 -07:00
Adeeb Shihadeh d88134db74 default to a reasonable amount of segs in replay_drive_can.py
old-commit-hash: b17a6e8f315acfef79e893ea1d804f91bbb60403
2020-07-10 17:58:04 -07:00
Adeeb Shihadeh 76302a54dd clear scons cache dirs older than a day in CI
old-commit-hash: 897548c7efcbcc1e00740ef262449c06f9c3228f
2020-07-10 17:18:52 -07:00
Adeeb Shihadeh ef00c30f3a small scons cleanup (#1858)
old-commit-hash: 704bc1b8834d3f98e0be1d37e72911e449d7dd6c
2020-07-10 15:26:16 -07:00
Adeeb Shihadeh a9a1a3a2ba Simplify hyundai resume logic (#1852)
* simplify hyundai resume logic

* more reliable

* SCC doesn't resume under 3.7m
old-commit-hash: b81f404457b2bfeee1d9c18c86af2aeb167b9403
2020-07-10 12:53:14 -07:00
Adeeb Shihadeh 197e71d7bf update refs due to carParams.communityFeature change for sonata
old-commit-hash: 80aead479eb915ff3ad46413f05904a2ebb9ce8a
2020-07-10 12:01:29 -07:00
Adeeb Shihadeh 100f6914b3 promote sonata
old-commit-hash: d0b7760731f1e310c7770dafee215ed2dee0d92d
2020-07-10 11:48:55 -07:00
Jason Young 2b60599543 Make updated more resilient (#1853)
* Add sleep at updated startup

* Mitigate symlink-related FS damage
old-commit-hash: c43df81214d34d90b318defbd7f43e240b0c8f45
2020-07-10 07:41:26 -04:00
Adeeb Shihadeh 4d9200f307 only check frame age for posenet too
old-commit-hash: c8f3ff8913ce7e18d755ae8015a27af3365029e9
2020-07-09 20:55:56 -07:00
Adeeb Shihadeh c8a9fb9321 only check frame age for model validity
old-commit-hash: 587bdf593799f9c6612c26703ffcfcd031f98f92
2020-07-09 20:37:28 -07:00
Adeeb Shihadeh 4e25a5862c all genesis have BSM standard
old-commit-hash: d2784f0ff07c95046c5a17a5b903877030b80e75
2020-07-09 18:42:05 -07:00
Scott Adair 71a537f29d Add BSM Support for the Palisade (#1851)
Us Palisade drivers love BSM as much as the Sonata drivers, maybe more because our blind spots are bigger...

Anyway, BSM is standard across all trims so it's safe to enable support
old-commit-hash: c6caf061c7a2ad8b6b360c0c7698719fbb2dd628
2020-07-09 18:38:27 -07:00
Adeeb Shihadeh 00b5cba95a only check BSM on sonata for now, not equipped on all HKG
old-commit-hash: 8bf198ba7de7f50274cb3b1ebca938031b71ced1
2020-07-09 18:26:06 -07:00
Adeeb Shihadeh 88d80cee39 Hyundai: use SCC12 for stock ADAS signals on cars that don't have FCA11 (#1849)
* some hyundai use SCC12 for AEB/FCW

* add other cars from fingerprints

* comment
old-commit-hash: 7cfdeb1a3246267598ec50eed092ad02802eed3b
2020-07-09 17:52:48 -07:00
Adeeb Shihadeh a1dbb38a0c Alert when modeld is lagging by more than a frame (#1823)
* alert when modeld is lagging by more than 1 frame

* log frameAge in modelData

* set posenet valid

* compute frame_age once
old-commit-hash: 03e824a4b558daa15191408e88b73fee7ab1792f
2020-07-09 17:02:21 -07:00
Adeeb Shihadeh cdfb090c7a Wunused (#1841)
* enable Wunused, first pass

* unused stuff in snpe model

* these are used on phone

* handle sigint and sigterm in modeld

* fix phone build

* camera qcom

* QCOM build works

* delete unused camerad vars

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: eb1aa3d831fd0d7fffd9aacec1accb0a5bdb0304
2020-07-09 09:25:32 -07:00
Andre Volmensky a29579eae6 Nissan: Increase steer pressed threshold (#1833)
* Increasing steer threshold

* Update ref commit
old-commit-hash: 977a6ba46b23f0c1f52bbe59579d5c6908294f94
2020-07-09 13:50:50 +02:00
Dean Lee 7f84cb0e3f remove duplicate calls to visionstream_destroy (#1843)
old-commit-hash: 3754ddf9ba3329dce8b5a1c93111a33095439c87
2020-07-08 21:47:22 -07:00
Dean Lee 9c33f51990 remove offroadLayout from sm (#1846)
old-commit-hash: 11fbe85c1436c67bf9e42fdc5f7a6f36f9a837a0
2020-07-08 21:24:55 -07:00
Adeeb Shihadeh b38c33cc47 Boardd loopback test (#1840)
* start boardd loopback test

* let's try this in CI

* fix jenkinsfile

* remove old

* rename

* check msgs

* should be reliable now

* send more
old-commit-hash: 3ab0b4965663bfae88885c503da0c7de2af37f74
2020-07-08 19:42:03 -07:00
Erich Moraga 925da66edb Added COROLLAH_TSS2 engine f/w (#1845)
Requious#7292 DongleID bfe8b7e3fabc420f
https://discord.com/channels/469524606043160576/524327905937850394/730546409396240416
old-commit-hash: beb130789fecadd40f4ac76d260bb686cbcf32b0
2020-07-08 15:38:51 -07:00
Adeeb Shihadeh 77fd84b99a openpilot isn't capitalized
old-commit-hash: 3983186700b85d5619adc8497de37dcd423b6451
2020-07-07 14:59:30 -07:00
Adeeb Shihadeh 44afc4ae3c Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
old-commit-hash: c7156616568ce2fa780db3eafc5f912ab2ead14e
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh 86200a6d6e Separate scons cache by branch (#1836)
* separate scons cache by branch

* debug

* guess you can only call CacheDir once

* remove another call

* pass git branch and commit through

* copytree

* set CI
old-commit-hash: d8ff1865450fe341f05dc6d8b6a8580eccb24f86
2020-07-07 12:36:02 -07:00
Adeeb Shihadeh b4978bafc9 Revert "build script", should've been on branch
This reverts commit 66c6a7a32a4301a4599b119098f45da04dddee46.

old-commit-hash: 6b942c94deed1467458b510215e51e263b6ba1ad
2020-07-06 20:16:16 -07:00
Adeeb Shihadeh 466ed6ac10 build script
old-commit-hash: 975ab4078636d3769a3e500c8151416a99465379
2020-07-06 20:15:38 -07:00
Adeeb Shihadeh ed5cf1fd8c show current sound name during sound test
old-commit-hash: fd504aa3f2067d403ca917efdf860b3b315bfd66
2020-07-06 19:43:42 -07:00
Erich Moraga e7351b7d10 Added engine f/w for CAR.COROLLAH_TSS2 (#1832)
Jordi#2212's 2020 Toyota Corolla Touring Sports 2.0 Hybrid (EU) DongleID 221a06e11b28330b
https://discord.com/channels/469524606043160576/524327905937850394/729778471869612173
old-commit-hash: 9adfc83b23ff9973c7a5053f4b5d8cc5881600d7
2020-07-06 12:31:12 -07:00
Jafar Al-Gharaibeh 6af4e85487 Mazda BSM (#1830)
* Mazda BSM support

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add Mazda3 2017 and CX-9 2016 Fingerprints

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: d5d0e75070b3f39f9d1dba3306b2b9bbffe46911
2020-07-06 10:25:17 -07:00
Greg Hogan bcf7edf595 k-line 5 init fault type (#1821)
* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
old-commit-hash: c458f5a5d3587d0eb87abbebd86c4f399e28c63d
2020-07-06 09:33:16 -07:00
Willem Melching 6242e8351f Lower max CPU temp to go onroad to 70 C
old-commit-hash: 10bfbaff8ebf0c14cbf7109911dc5ea2af6b3619
2020-07-06 13:37:09 +02:00
Adeeb Shihadeh 0d79150606 Sound test (#1820)
* WIP sound test

* it does something

* refactor

* phone only

* update release files

* test sound card init

* add to CI

* check writes

* increase time

* unused

* only build cereal

* small tolerance

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f1afb3e3ae4b95a1de0262d1408c49093c5ada6f
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh 80024996e2 increase jenkins timeout
old-commit-hash: 3f57b7ee7688efd38b2ba3581495b2c250409020
2020-07-03 20:34:31 -07:00
Dean Lee 0a9b8f2a32 paint.cc: Simplify drawing line (#1643)
* simplify drawing line

* remove space
old-commit-hash: ff4f432f0fd2ca5cf592082914e3a3a7b091a3db
2020-07-03 19:42:26 -07:00
Adeeb Shihadeh de457fddc2 On-device CI framework (#1784)
* let's see if this works

* fix build_release actions job

* does jenkins like this config

* separate jenkinsfile for release build

* fix devel build

* devel build should work

* always pass that for now

* run modeld replay

* release2 build will be a separate PR

* pass env to phone shell

* force checkout

* run on real jenkins eons

* add timeout

* rsync

* more timeout

* trailing slash

* fix branch detection

* debug

* not sure why paramiko doesn't pass it through

* newline

* CI_PUSH

* still not passing it

* test branch

* should be good now
old-commit-hash: 32f03ec8a52c7c5fa56d5cce19fbbd7ecf24b7dd
2020-07-03 19:12:05 -07:00
TK211X 73c800a16c Update 2020 Sonata Print (#1806)
The Korean version has extra features.
old-commit-hash: d417481e2b7bc364342be29d2611bfb6dcec656b
2020-07-03 16:29:31 -07:00
Adeeb Shihadeh f74865bedf Refactor CPU usage test (#1802)
* pull CPU usage test out of manager

* remove that

* add to release files

* cleanup

* executable

* this should work

* check if car started procs are running

* debug

* add min cpu usage

* remove debug prints

* adjust min cpu threshold

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6db7fa8c033841c82d1139119aad8a20645449f4
2020-07-03 15:40:13 -07:00
Dean Lee fa06882a72 better update_offroad_layout_state (#1808)
apply review suggestion
old-commit-hash: 9de015f588352ef1a81be1139733eea0c927f19c
2020-07-03 12:52:43 -07:00
Adeeb Shihadeh 219b117c21 fix hardcoded frequencies in UI
old-commit-hash: 2f16349c4cffe592d9b97a37ded37e8215ed8892
2020-07-03 12:30:47 -07:00
Adeeb Shihadeh e50c6ad58d Subaru cleanup (#1809)
old-commit-hash: 30d6d77e26e2608ff9ad607a7353fadc0347d419
2020-07-02 13:37:53 -07:00
martinl dfee3692f6 Support for 2019 Subaru Ascent (#1801)
* Add support for Subaru Ascent 2019

* remove duplicate safetyModel

* Add Ascent 2019 to README.md
old-commit-hash: b1abf17752f7631014d855466c46f2aef71bc604
2020-07-01 16:54:40 -07:00
George Hotz 70dbce450c Add an SSH param to disable updates (#1807)
* disable updates with optional param

* dont create the alert

* Revert "dont create the alert"

This reverts commit 7179a6c8b4b4656e0b203b5a590b33d3388aa9c9.

* keep alert, but allow engagement

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cb495bb8c9af8b9347bfe3cf4b59baf1f6d10482
2020-07-01 14:26:35 -07:00
ZwX1616 b7643a0c40 Reduce C2 dcamera noise at night (#1798)
old-commit-hash: 1036c68251706f49386e8b9a186e3d6871250047
2020-06-30 19:58:40 -07:00
Adeeb Shihadeh 10be5dad65 flippening is only for android
old-commit-hash: ec8b69cb14fa83c90e9f5388d52ced603613e9bf
2020-06-30 14:01:40 -07:00
Adeeb Shihadeh 8b2ae9319a fix blindspot detection
old-commit-hash: 64aeb80dcc651de9836d46db08c2b4a17af364f0
2020-06-30 13:44:56 -07:00