Commit Graph

4943 Commits

Author SHA1 Message Date
Adeeb Shihadeh 03e824a4b5 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
2020-07-09 17:02:21 -07:00
Adeeb Shihadeh eb1aa3d831 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>
2020-07-09 09:25:32 -07:00
Andre Volmensky 977a6ba46b Nissan: Increase steer pressed threshold (#1833)
* Increasing steer threshold

* Update ref commit
2020-07-09 13:50:50 +02:00
Dean Lee 3754ddf9ba remove duplicate calls to visionstream_destroy (#1843) 2020-07-08 21:47:22 -07:00
Dean Lee 11fbe85c14 remove offroadLayout from sm (#1846) 2020-07-08 21:24:55 -07:00
Adeeb Shihadeh 3ab0b49656 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
2020-07-08 19:42:03 -07:00
Erich Moraga beb130789f Added COROLLAH_TSS2 engine f/w (#1845)
Requious#7292 DongleID bfe8b7e3fabc420f
https://discord.com/channels/469524606043160576/524327905937850394/730546409396240416
2020-07-08 15:38:51 -07:00
Adeeb Shihadeh 3983186700 openpilot isn't capitalized 2020-07-07 14:59:30 -07:00
Adeeb Shihadeh c715661656 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
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh d8ff186545 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
2020-07-07 12:36:02 -07:00
Adeeb Shihadeh 6b942c94de Revert "build script", should've been on branch
This reverts commit 975ab40786.
2020-07-06 20:16:16 -07:00
Adeeb Shihadeh 975ab40786 build script 2020-07-06 20:15:38 -07:00
Adeeb Shihadeh fd504aa3f2 show current sound name during sound test 2020-07-06 19:43:42 -07:00
Erich Moraga 9adfc83b23 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
2020-07-06 12:31:12 -07:00
Jafar Al-Gharaibeh d5d0e75070 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>
2020-07-06 10:25:17 -07:00
Greg Hogan c458f5a5d3 k-line 5 init fault type (#1821)
* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
2020-07-06 09:33:16 -07:00
Willem Melching 10bfbaff8e Lower max CPU temp to go onroad to 70 C 2020-07-06 13:37:09 +02:00
Adeeb Shihadeh f1afb3e3ae 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>
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh 3f57b7ee76 increase jenkins timeout 2020-07-03 20:34:31 -07:00
Dean Lee ff4f432f0f paint.cc: Simplify drawing line (#1643)
* simplify drawing line

* remove space
2020-07-03 19:42:26 -07:00
Adeeb Shihadeh 32f03ec8a5 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
2020-07-03 19:12:05 -07:00
TK211X d417481e2b Update 2020 Sonata Print (#1806)
The Korean version has extra features.
2020-07-03 16:29:31 -07:00
Adeeb Shihadeh 6db7fa8c03 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>
2020-07-03 15:40:13 -07:00
Dean Lee 9de015f588 better update_offroad_layout_state (#1808)
apply review suggestion
2020-07-03 12:52:43 -07:00
Adeeb Shihadeh 2f16349c4c fix hardcoded frequencies in UI 2020-07-03 12:30:47 -07:00
Adeeb Shihadeh 30d6d77e26 Subaru cleanup (#1809) 2020-07-02 13:37:53 -07:00
martinl b1abf17752 Support for 2019 Subaru Ascent (#1801)
* Add support for Subaru Ascent 2019

* remove duplicate safetyModel

* Add Ascent 2019 to README.md
2020-07-01 16:54:40 -07:00
George Hotz cb495bb8c9 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>
2020-07-01 14:26:35 -07:00
ZwX1616 1036c68251 Reduce C2 dcamera noise at night (#1798) 2020-06-30 19:58:40 -07:00
Adeeb Shihadeh ec8b69cb14 flippening is only for android 2020-06-30 14:01:40 -07:00
Adeeb Shihadeh 64aeb80dcc fix blindspot detection 2020-06-30 13:44:56 -07:00
Adeeb Shihadeh 83af35bf95 Fix CAN Error on Kona EV (#1800) 2020-06-29 18:39:50 -07:00
Adeeb Shihadeh 3c48b5a3ed remove duplicate key 2020-06-29 15:05:47 -07:00
Adeeb Shihadeh e8259895f7 remove unused UI variables 2020-06-29 14:12:28 -07:00
George Hotz b62da571b4 UI 10x speedup with hardware antialias (#1787)
* enable MSAA, disable nvg antialias

* less opaque and clean up

Co-authored-by: Comma Device <device@comma.ai>
2020-06-29 13:54:23 -07:00
robbederks df86c476c7 Dos (#1795) 2020-06-29 12:47:48 +02:00
Adeeb Shihadeh ce80684f7e Add alert while in preEnabled state (#1791) 2020-06-28 20:29:42 -07:00
Erich Moraga c6bf0f0b57 CAR.COROLLA_TSS2 engine and ESP f/w (#1794)
@stevheng#6662's 2019 Australian Corolla HB  DongleID/route 0a9995ae54acb892|2020-06-28--07-24-06
2020-06-28 17:16:32 -07:00
Adeeb Shihadeh 491a02d5d6 bump submodules 2020-06-27 17:46:59 -07:00
Adeeb Shihadeh 9fb4eeea96 update replay segment 2020-06-26 20:28:59 -07:00
ZwX1616 55aee68ca0 camerad: don't crash zmq if get interrupt from msgq (#1790)
* not crash zmq if get interrupt from msgq

* also filter eagain
2020-06-26 18:11:36 -07:00
Adeeb Shihadeh 57deb3a893 Hyundai Ioniq SE 2020 (#1786)
* Update values.py

* Update carcontroller.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* add test route

* readme

Co-authored-by: baldwalker <insigniadesign@yahoo.co.uk>
2020-06-26 12:25:09 -07:00
xps-genesis 57f29968a2 Add Hyundai BSM signals (#1782)
* Add Hyundai BSM signals

to take advantage of BSM to block lane change when BSM active.

* bug, added LCA11 to canparser

previous check failed, fixed by adding LCA11 to canparser

* update refs

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
2020-06-26 12:16:06 -07:00
Willem Melching 611dc4c37f Honda Bosch, use proper non adaptive cruise mode alert 2020-06-24 18:48:57 -07:00
Willem Melching 5e254da8b3 fix wrong car mode alert 2020-06-24 18:20:30 -07:00
Adeeb Shihadeh c4a3d7afb0 Block lane change start on blindspot detection (#1712)
* use BSM to block lane change start

* remove duplicate entry

* add approaching
2020-06-24 17:31:09 -07:00
VirtuallyChris 59cbaf88ef Add missing fp value for Jeep Grand Cherokee 2019 2020-06-24 16:11:59 -07:00
George Hotz f1caed7299 0.8 is a lie 2020-06-24 16:02:03 -07:00
VirtuallyChris a5cd52a1c6 Add 2020 Prius fw 2020-06-24 15:54:43 -07:00
Adeeb Shihadeh 28b2495597 Hyundai stock adas signals (#1775)
* add stockAeb and stockFcw to carstate

* bump opendbc

* freq check

* bump opendbc
2020-06-24 14:55:58 -07:00