Commit Graph

1339 Commits

Author SHA1 Message Date
Adeeb Shihadeh d88134db74 default to a reasonable amount of segs in replay_drive_can.py
old-commit-hash: b17a6e8f31
2020-07-10 17:58:04 -07:00
Adeeb Shihadeh 76302a54dd clear scons cache dirs older than a day in CI
old-commit-hash: 897548c7ef
2020-07-10 17:18:52 -07:00
Adeeb Shihadeh ef00c30f3a small scons cleanup (#1858)
old-commit-hash: 704bc1b883
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: b81f404457
2020-07-10 12:53:14 -07:00
Adeeb Shihadeh 197e71d7bf update refs due to carParams.communityFeature change for sonata
old-commit-hash: 80aead479e
2020-07-10 12:01:29 -07:00
Adeeb Shihadeh 100f6914b3 promote sonata
old-commit-hash: d0b7760731
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: c43df81214
2020-07-10 07:41:26 -04:00
Adeeb Shihadeh 4d9200f307 only check frame age for posenet too
old-commit-hash: c8f3ff8913
2020-07-09 20:55:56 -07:00
Adeeb Shihadeh c8a9fb9321 only check frame age for model validity
old-commit-hash: 587bdf5937
2020-07-09 20:37:28 -07:00
Adeeb Shihadeh 4e25a5862c all genesis have BSM standard
old-commit-hash: d2784f0ff0
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: c6caf061c7
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: 8bf198ba7d
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: 7cfdeb1a32
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: 03e824a4b5
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: eb1aa3d831
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: 977a6ba46b
2020-07-09 13:50:50 +02:00
Dean Lee 7f84cb0e3f remove duplicate calls to visionstream_destroy (#1843)
old-commit-hash: 3754ddf9ba
2020-07-08 21:47:22 -07:00
Dean Lee 9c33f51990 remove offroadLayout from sm (#1846)
old-commit-hash: 11fbe85c14
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: 3ab0b49656
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: beb130789f
2020-07-08 15:38:51 -07:00
Adeeb Shihadeh 77fd84b99a openpilot isn't capitalized
old-commit-hash: 3983186700
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: c715661656
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: d8ff186545
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: 6b942c94de
2020-07-06 20:16:16 -07:00
Adeeb Shihadeh 466ed6ac10 build script
old-commit-hash: 975ab40786
2020-07-06 20:15:38 -07:00
Adeeb Shihadeh ed5cf1fd8c show current sound name during sound test
old-commit-hash: fd504aa3f2
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: 9adfc83b23
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: d5d0e75070
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: c458f5a5d3
2020-07-06 09:33:16 -07:00
Willem Melching 6242e8351f Lower max CPU temp to go onroad to 70 C
old-commit-hash: 10bfbaff8e
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: f1afb3e3ae
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh 80024996e2 increase jenkins timeout
old-commit-hash: 3f57b7ee76
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: ff4f432f0f
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: 32f03ec8a5
2020-07-03 19:12:05 -07:00
TK211X 73c800a16c Update 2020 Sonata Print (#1806)
The Korean version has extra features.
old-commit-hash: d417481e2b
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: 6db7fa8c03
2020-07-03 15:40:13 -07:00
Dean Lee fa06882a72 better update_offroad_layout_state (#1808)
apply review suggestion
old-commit-hash: 9de015f588
2020-07-03 12:52:43 -07:00
Adeeb Shihadeh 219b117c21 fix hardcoded frequencies in UI
old-commit-hash: 2f16349c4c
2020-07-03 12:30:47 -07:00
Adeeb Shihadeh e50c6ad58d Subaru cleanup (#1809)
old-commit-hash: 30d6d77e26
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: b1abf17752
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: cb495bb8c9
2020-07-01 14:26:35 -07:00
ZwX1616 b7643a0c40 Reduce C2 dcamera noise at night (#1798)
old-commit-hash: 1036c68251
2020-06-30 19:58:40 -07:00
Adeeb Shihadeh 10be5dad65 flippening is only for android
old-commit-hash: ec8b69cb14
2020-06-30 14:01:40 -07:00
Adeeb Shihadeh 8b2ae9319a fix blindspot detection
old-commit-hash: 64aeb80dcc
2020-06-30 13:44:56 -07:00
Adeeb Shihadeh 3cadb46f31 Fix CAN Error on Kona EV (#1800)
old-commit-hash: 83af35bf95
2020-06-29 18:39:50 -07:00
Adeeb Shihadeh 414a3400bd remove duplicate key
old-commit-hash: 3c48b5a3ed
2020-06-29 15:05:47 -07:00
Adeeb Shihadeh d10d3287a3 remove unused UI variables
old-commit-hash: e8259895f7
2020-06-29 14:12:28 -07:00
George Hotz ada8359180 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>
old-commit-hash: b62da571b4
2020-06-29 13:54:23 -07:00
robbederks 4b2775add9 Dos (#1795)
old-commit-hash: df86c476c7
2020-06-29 12:47:48 +02:00
Adeeb Shihadeh 17fc7e2bec Add alert while in preEnabled state (#1791)
old-commit-hash: ce80684f7e
2020-06-28 20:29:42 -07:00