Commit Graph

232 Commits

Author SHA1 Message Date
Comma Device
0e83e7617c add timeout on procLog socket for CPU usage test
old-commit-hash: 9a78378b81a66b5ea6c5f0a9c211e24210233327
2020-07-23 17:51:18 -07:00
Adeeb Shihadeh
dfd9f12055 update refs
old-commit-hash: 02d5b19d4defe6c0946b86881f27dee624f128bd
2020-07-23 15:55:53 -07:00
Adeeb Shihadeh
713da21faf add test route for HYUNDAI.KIA_SORENTO
old-commit-hash: 4bc90c578aa1e229c18b62aaec6668dee9b49a84
2020-07-23 15:44:14 -07:00
Adeeb Shihadeh
1618f87f5d add HYUNDAI_GENESIS test route
old-commit-hash: f753ca14ad1ab26eb81d48b50c6672e44c81334f
2020-07-23 13:24:06 -07:00
Adeeb Shihadeh
6530890cac fix modeld replay test
old-commit-hash: 3b428fdebb3366a394b984b2778bc5a5bd8d8ed8
2020-07-22 20:17:27 -07:00
Willem Melching
dcef0e394b add tolerance to process replay compare (#1904)
old-commit-hash: 5139b827af21a71a5f07719486cb168773f838fa
2020-07-22 11:50:58 +02:00
Andre Volmensky
2809e447ad Nissan: Tweaking steeringPressed/LKAS_MAX_TORQUE (#1865)
* Tweaking steeringPressed/LKAS_MAX_TORQUE

* Update ref commit
old-commit-hash: da5dc7693edc12dd281ce365a655dab56fb62494
2020-07-20 16:30:40 -07:00
ZwX1616
556752a77b Revert "EfficientNet driver monitoring (#1866)"
This reverts commit 0bc9d737dde1a50937d421f7a417260732f90480.

Need to fix test

old-commit-hash: c2be31c10be18893fbb1f45b37e34f291fa6b97d
2020-07-17 18:20:04 -07:00
ZwX1616
7a8bf9d7de EfficientNet driver monitoring (#1866)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d0e994674dcd1965bb28158d49428fb43df8902
2020-07-17 15:34:02 -07:00
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
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
197e71d7bf update refs due to carParams.communityFeature change for sonata
old-commit-hash: 80aead479eb915ff3ad46413f05904a2ebb9ce8a
2020-07-10 12:01:29 -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
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
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
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
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
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
Adeeb Shihadeh
414a3400bd remove duplicate key
old-commit-hash: 3c48b5a3ed2e7c1f315caf4d6b868155e41c9bea
2020-06-29 15:05:47 -07:00
Adeeb Shihadeh
a94bb2bcff update replay segment
old-commit-hash: 9fb4eeea96be03450678624b6f0670ba0f7342ca
2020-06-26 20:28:59 -07:00
Adeeb Shihadeh
0722b40c04 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>
old-commit-hash: 57deb3a8930c3fa9140b48338c599dfda0f59435
2020-06-26 12:25:09 -07:00
xps-genesis
7aff353362 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>
old-commit-hash: 57f29968a2662bb49807f15165fd69254da0cc93
2020-06-26 12:16:06 -07:00
Adeeb Shihadeh
55225dcd56 Block lane change start on blindspot detection (#1712)
* use BSM to block lane change start

* remove duplicate entry

* add approaching
old-commit-hash: c4a3d7afb0a190ea0abcf3deb0ec754b31de2cb3
2020-06-24 17:31:09 -07:00
martinl
0d04c2cc26 Subaru Forester 2019 (#1768)
* Add initial Forester 2019 support

* Add dgranger15 Forester 2019 FPv1

* fingerprint syntax fix

* FPv1 syntax fix 2

* Add Forester 2019 to CAR

* fix indent

* Add Forester 2019 to test_car_models ignore list

* Update Forester 2019 steering tuning (dgranger15)

* Add Forester 2019 to README.md

* Change lists to single value

* Add test route for Forester 2019

* Remove model year

* Remove Forester model year in test_car_models

* Remove usernames, add Forester ACC speed mph unit value
old-commit-hash: 09e7d4ab3a044fd5279cce43853f69465eac876f
2020-06-23 16:07:46 -07:00
ZwX1616
9bca4bfb20 recover EON/C2 AF (#1665)
old-commit-hash: 3aa99a01d7a29c69f1b767b3fca30d18a6047425
2020-06-23 14:33:32 -07:00
Adeeb Shihadeh
ab66589a46 fix engage/disengage sounds
old-commit-hash: 51b7dc0e385945faf0341c52b14555e75e804d04
2020-06-23 10:50:24 -07:00
Adeeb Shihadeh
e8ced8bee5 Cleanup startup event handling (#1748)
* cleanup startup event

* always show permanent

* lowest

* update refs
old-commit-hash: ccf6b80c7e5aa24b922ed60a519eab91a1d5ec9b
2020-06-19 16:16:48 -07:00
Adeeb Shihadeh
304d893af6 GM cleanup + ignition fix (#1729)
* small cleanup

* alertmanager handles that

* improve tuning

* below steer speed

* Revert "improve tuning"

This reverts commit 5d2de147d2c9979af09b7964ad59e4b95ddb2f2a.

* bump panda

* update refs

* bump panda
old-commit-hash: 472fe6696278b4137466e401496d1561a799a0da
2020-06-18 12:24:47 -07:00
Willem Melching
e7a7bf0898 update ref
old-commit-hash: ed7e568b70d1de79cf741d8de4a9a79991c7239c
2020-06-15 17:55:03 -07:00
Adeeb Shihadeh
e4f549c998 Hyundai Ioniq EV LTD (#1694)
* add ioniq

* bump panda

* test route

* bump pnada
old-commit-hash: 224672705c6bc5e7476275648813d39e17d3e476
2020-06-15 11:45:37 -07:00
Adeeb
f396864fab Delay alert creation for some events (#1689)
* add creation delay parameter to alerts

* 1s delay for sensorsInvalid and canError

* bump cereal

* update refs
old-commit-hash: 0bbe870b5f90c25427c4d21cabe4a0f78291eee9
2020-06-12 15:32:50 -07:00
Willem Melching
c25d71dd31 update process replay after sonata stiffness change
old-commit-hash: 2a12c653d51fd1a6d1c0e6f08dab624de65f6e2f
2020-06-12 13:20:54 -07:00
Adeeb Shihadeh
d231b3a7ec don't clear scons cache in CI
old-commit-hash: cf72a4eb34287218f385e75849902755203d55ec
2020-06-10 17:49:34 -07:00
Willem Melching
76a465e0ec Write orientation & transform in C++ (#1637)
* locationd at 20hz

* update ref

* bump cereal

* dont modify global state

* add scons files

* ecef2geodetic and geodetic2ecef

* Finish local coords class

* Add header file

* Add orientation.cc

* cleanup

* Add functions to header file

* Add cython wrapper

* y u no work?

* This passes the tests

* test rot2quat and quat2rot

* Teste euler2rot and rot2euler

* rot_matrix

* test ecef_euler_from_ned and ned_euler_from_ecef

* add benchmark

* Add test

* Consistent newlines

* no more radians supported in geodetic

* test localcoord single

* test localcoord single

* all tests pass

* Unused import

* Add alternate namings

* Add source for formulas

* no explicit tests needed

* remove benchmark

* Add release files

* Typo

* Remove print statement

* no access to raw transform matrix

* temporarily add tolerance

* handcode quat2euler

* update ref
old-commit-hash: c18e7da3c25c59a19efda8ec3a1b716c2571cc2f
2020-06-09 16:44:26 -07:00
Willem Melching
d0f60029cb Remove slow down for turns (#1647)
* Remove slow down for turns

* update ref
old-commit-hash: 15dc6044d44e7f85293cb9b0187c7d2a51a84c55
2020-06-05 16:01:53 -07:00
Willem Melching
ce6dd8d4e9 Model + camerad test (#1622)
* kind of works

* move that

* hack to get camerad to reliably terminate

* not sure why SIGTERM wasn't working before

* compare bytes

* clean up some hacks

* gitignore

* fix that

* WIP

* no reboot

* comparison works

* pretty print

* fix build

* run in jenkins

* python path

* space

* raise timeout

* new eon

* skip the copy

* spinner

* spin less

* update model ref commit

* reenable that

* clean up

* fix jenkinsfile

* parallel

* wrap it in a stage

* fix linter

* better progress

* lower timeout

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63c8e8439b6d19020055f922340d8e33d906363a
2020-06-04 18:57:25 -07:00
Adeeb
9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
Willem Melching
ad66386877 locationd profiling (#1625)
old-commit-hash: 66455b075d918d9f04fae6921d0a692ee3f8afd0
2020-06-02 17:32:55 -07:00
Adeeb
8c0971086b Fix speed too low (#1627)
* fix speed too low

* bump ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 165bcf1f31ffc34b56c84cf8e71f41ce224dd7e3
2020-06-02 17:31:59 -07:00
Willem Melching
a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Willem Melching
e738ab6f04 longitudinal test should broadcast liveLocationKalman
old-commit-hash: d00cdf1e0c7bf7fc8bb7726bafb93e8e6f946574
2020-06-01 14:24:48 -07:00
Willem Melching
3df1a2c681 Fix low speed engage on stop and go Hondas (#1613)
* fix low speed engage on stop and go Hondas

* update ref commit
old-commit-hash: f575a9ec12990ac2a764a5f416795d1c618f4609
2020-06-01 10:14:11 -07:00
Adeeb Shihadeh
8b3418b0f9 enable flake8 E251: unexpected spaces around keyword / parameter equals
old-commit-hash: ebed2d1dcc53f092696b61fd1e004045c9bde893
2020-05-31 17:34:47 -07:00
Adeeb Shihadeh
9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00