Commit Graph

169 Commits

Author SHA1 Message Date
Adeeb f4ef9ae00a Remove incomplete Hyundai Ioniq port (#1570)
old-commit-hash: c78602e8cc
2020-05-26 20:48:41 -07:00
Adeeb Shihadeh 4221ed5d56 update refs after radarState fields populated
old-commit-hash: a1ffcdd253
2020-05-26 18:12:12 -07:00
Thaixican 53a18127e6 Add 2020 Lexus RX Hybrid support (#1547)
* Add 2020 Lexus RX Hybrid support

* Add 2020 Lexus RX Hybrid to IGNORED_FINGERPRINTS and route to test_car_models per @pd0wm
old-commit-hash: dd16990952
2020-05-26 13:49:18 -07:00
Adeeb Shihadeh 02cea3e7b4 remove that script
old-commit-hash: b251eff764
2020-05-22 14:50:08 -07:00
Adeeb Shihadeh e5fee88a3d bump panda after hyundai checksum
old-commit-hash: ea1b192565
2020-05-22 14:42:22 -07:00
Willem Melching 4061f1d530 Add permanent CAN error alert (#1549)
* Add permanent CAN error alert

* canValid needs some time to initialize

* update ref
old-commit-hash: fcf879d783
2020-05-21 16:08:05 -07:00
Willem Melching 2e0f9fe628 add sonata 2019 to test_car_modelsg
old-commit-hash: ef2ea14ecc
2020-05-20 17:20:17 -07:00
Alice Knag bf066b2601 add support for Sonata 2019 (#1538)
* add sonata interface

update values.py

update values.py

* change sonata_1 to sonata_2019

* add sonata 2019 and forte 2019 to README

prettier fucked me up pretty hard at first
sdfsd

* update README.md

* mock test
old-commit-hash: fde1a5e9af
2020-05-20 17:12:00 -07:00
Willem Melching 6e41973c3c Handle posenet and sensor alerts in locationd (#1541)
* handle posenet and senor alerts in locationd

* defaults now set in capnp file

* Cleanup c++ version of params learner

* update ref commit
old-commit-hash: d099e09fb7
2020-05-19 16:45:20 -07:00
Willem Melching fb7e47e2fb This one also needs to be fixed
old-commit-hash: 96605d0951
2020-05-19 16:19:00 -07:00
Adeeb Shihadeh e6af5da522 remove those debug prints
old-commit-hash: 8788ab36e4
2020-05-19 13:54:24 -07:00
Willem Melching 88a385e9c9 Hyundai fw query (#1540)
* hyundai fw query

* Change query

* this works

* That is not engine

* hyundai fw query

* Change query

* this works

* That is not engine

* Skip FW query in test_car_models

* Those routes don't fingerprint properly after speedup

* only send toyota queries to subaddresses

Co-authored-by: openpilot laptop <laptop@comma.ai>
old-commit-hash: bb8bbdd9ee
2020-05-19 13:43:44 -07:00
Adeeb 48340cc8cb Alerts + Events refactor (#1466)
old-commit-hash: d976233f69
2020-05-14 15:21:21 -07:00
Adeeb fe106e25a3 Controlsd refactor (#1487)
* it's a class

* more refactor

* remove that

* car interface should create that

* that too

* not a dict

* don't create permanent events every iteration

* break up long lines

* fix honda

* small optimization

* less long lines

* dict is faster

* latcontrol less args

* longcontrol less args

* update profiling script

* few optimizations

* create events together

* clean up

* more clean up

* remove comment

* clean up

* simplify state transition

* more clean up

* update comments
old-commit-hash: 08832ff29d
2020-05-12 15:06:48 -07:00
Willem Melching c77e9b1f59 Fix counter in HKG clu11 message (#1484)
* fix counter in clu11 message

* update ref
old-commit-hash: 27ffa29f6c
2020-05-10 20:13:35 -07:00
Willem Melching 587d00d24a fix update ref script
old-commit-hash: 5182da3100
2020-05-10 18:55:53 -07:00
Adeeb Shihadeh 004c0e277b fake less of PubMaster and SubMaster when profiling
old-commit-hash: ad2c54e991
2020-05-03 17:41:26 -07:00
Adeeb 614adb569e Add steerWarning and steerError to carState (#1444)
* Add steerWarning and steerError to carState

* fix gm and hyundai

* update refs
old-commit-hash: 337529d5cb
2020-05-01 13:13:12 -07:00
Willem Melching f9a65e38b5 Less hardcoded values in profiling script
old-commit-hash: 5d69e97281
2020-05-01 11:38:30 -07:00
Willem Melching 730615c123 small cleanup of profiling script
old-commit-hash: 4301c5efb5
2020-05-01 10:49:02 -07:00
Willem Melching 46ab48372b run both deterministic and statistical profiler
old-commit-hash: b3e7d94303
2020-04-30 17:39:37 -07:00
Willem Melching 06012f4867 use proper cachegrind extension
old-commit-hash: 04bc4a0e45
2020-04-30 17:07:46 -07:00
Willem Melching 1a825681b3 Write profiling result after running
old-commit-hash: 079c9e714b
2020-04-30 16:19:12 -07:00
Willem Melching 3314b9ee47 Run controlsd without sockets
old-commit-hash: 4d03b8536f
2020-04-30 15:15:19 -07:00
Willem Melching db8dd33efc Logreader can take car of downloading the files
old-commit-hash: 71589fc92e
2020-04-30 15:09:19 -07:00
Chris Souers 28470d47f6 Static 0xe5 on Honda Bosch (#1420)
* Recreate a static 0xe5 and send to radar

* remove unneeded declaration

* Update ref_commit
old-commit-hash: 0f530be2b4
2020-04-28 14:12:46 -07:00
Willem Melching 0862301df3 Hyundai: use same gas pressed bit as in panda (#1428)
* use same bit as in panda

* remove lines

* update ref

* switch gas pedal signal
old-commit-hash: 94bba46d6d
2020-04-27 15:28:34 -07:00
Erich Moraga 739d5c7249 Add HIGHLANDERH_TSS2 Support (#1425)
* exclude HIGHLANDERH_TSS2

* add HIGHLANDERH_TSS2 support

* Add HIGHLANDERH_TSS2 Support

* Add HIGHLANDERH_TSS2 Support

* Added to IGNORED_FINGERPRINTS per @pd0wm
old-commit-hash: 009c32d516
2020-04-27 14:56:30 -07:00
Willem Melching c1bb506016 Unblock stdout in testing slave script
old-commit-hash: 09ac646abd
2020-04-27 14:11:38 -07:00
Willem Melching 8d4658790e Remove fake yaw rate from carstate (#1426)
* remove fake yaw rate from carstate

* update ref
old-commit-hash: f7f0a81d13
2020-04-27 14:10:07 -07:00
Willem Melching 5562627015 this is now in the panda repo
old-commit-hash: d0d117a999
2020-04-24 14:04:26 -07:00
Willem Melching afb2f5bcb1 move sensor bootloop script
old-commit-hash: 90eb7aadf2
2020-04-24 14:03:55 -07:00
Willem Melching 738727770e that is not a test
old-commit-hash: 035d461fdf
2020-04-24 14:02:35 -07:00
Willem Melching 9afaef9f89 catch all exceptions in testing script
old-commit-hash: 2ecf054891
2020-04-23 21:58:35 -07:00
ZwX1616 34eebc37b1 orange distracted alert is now continuous (#1412)
old-commit-hash: 922055f464
2020-04-23 14:15:05 -07:00
Willem Melching a8adc65dde Add more timeouts to eon_testing_slave
old-commit-hash: 95c2ff5a3d
2020-04-23 11:58:48 -07:00
cowanhmoore 8fa7d31138 Honda HRV (#1404)
* PR - Honda HRV

values.py - incl. Class, FP, FW_VERSIONS, SPEED_FACTOR 1.025
carstate.py - incl. carFingerprint, doorOpen OVERRIDE (signal unknown)
Safety test concludes that removal of drivers seatbelt IMMEDIATELY disengages OP
interface.py - incl. HR-V vehicle parameters, tuning (tested for 100+ miles)
Longitudinal tuning parameters unchanged from CAR.FIT
test_car_models.py - added per request of review process
*5. honda_hrv_touring_2019_can_generated.dbc will be submitted to commaai/opendbc in next PR

Once *5 is approved, will need to update values.py to matching dbc

Thanks, Cowan Moore 330-701-3922

* Honda HRV Door Signal

BO_ 422 SCM_BUTTONS: 8 SCM
 SG_ DRIVERS_DOOR_OPEN : 63|1@0+ (1,0) [0|1] "" EON

* Update values.py

* Update test_car_models.py
old-commit-hash: 1d6042c5f3
2020-04-20 15:30:46 -07:00
Willem Melching 1404dabb62 Add Palisade to test_car_models
old-commit-hash: ed527dfd1e
2020-04-17 11:46:16 -07:00
Willem Melching 91519602bf nissan and hyundai are community
old-commit-hash: c9cefb2fbc
2020-04-17 11:42:33 -07:00
Willem Melching c9ec2cbec6 Hyundai-Kia-Genesis (HKG) (#1362)
* hkg

* Cleanup

* Update readme

* more fixes and cleanup

* Old genesis

* Typoe

* Test car models

* Update comment

* Fix brake pressed

* Update release notes

* Fix vEgo

* Add sonata

* Add sonata values

* Temporarily remove doors check. It doesn't work

* Sonata uses crc8

* Fix tests

* Changes for LFA

* Add comment

* Does this improve the hud?

* Proper signal name

* Force the right value

* some ui stuff

* more comments

* Show lane lines on sonata

* cleanup dash

* fix last ui issues

* Fix doors

* update CI

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7d78cef34b
2020-04-15 19:33:24 -07:00
ZwX1616 f90b956f47 RHD support for driver monitoring (#1299)
old-commit-hash: 133b1a20b4
2020-04-15 16:48:44 -07:00
HaraldSchafer 1b57d4ed14 rely on carstate to be sure (#1363)
* rely on carstate to be sure

* relies on carstate now too

* don't know how else to make this work

* update ref

* clean up hacks

* prev ref was weirdly bad?

* lets try that from my machine

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a18832748c
2020-04-15 13:14:23 -07:00
Adeeb 7f2008aa0b Remove Cadillac CT6 port (#1359)
* remove CT6 port

* dont need this route

* extra char

* fix carcontroller params
old-commit-hash: e22482eb31
2020-04-13 15:53:24 -07:00
Adeeb 7560d6aba6 Toyota: use universal gas pressed bit to match panda safety (#1335)
* Toyota: use universal gas pressed bit to match panda safety

* update ref
old-commit-hash: 928b1561aa
2020-04-09 12:09:20 -07:00
Willem Melching 2c79408e43 update test ref
old-commit-hash: 3eda14f2fe
2020-04-07 21:43:57 -07:00
Adeeb d4cec82895 Unit test for alert width (#1307)
* unit test for alert width

* fix scale

* comment

* fix offending alert text

* rename

* update process replay refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0f6c22ce8b
2020-04-07 21:37:17 -07:00
martinl 56fd19b031 Add Subaru gearShifter to carstate (#1318)
* Add Subaru gearShifter to carstate

* reset submodules, remove ignore gearshifter from subaru interface

* update apks to master

* update ref_commit
old-commit-hash: d0b3c69505
2020-04-07 11:55:17 -07:00
Andy e43b40540d Sidebar Connectivity Status (#1268)
* store athena connected-at time

* refactor

* deref

* dt import

* Athena status based on last ping time param

* upd test for pingtime

* lower error timeout
old-commit-hash: 41bb3ac7ca
2020-04-05 11:06:49 -07:00
Arne Schwarck cc1eafea97 Toyota Tss2 Blindspot signals (#1309)
* Toyota Tss2 Blindspot signals

Adding these signals are easy, they are on the can bus.

* Update ref_commit
old-commit-hash: 43b62d8bb6
2020-04-03 08:31:12 -07:00
Jason Young 40f9c6faa1 Boot-loop testing script for EON/C2 device sensors (#1303)
* Sensor test boot-loop script

* Changing file permissions

* Set executable

* Changing file permissions

* Sensor test boot-loop script

* Changing file permissions

* Set executable

* Changing file permissions

* Bugfix to text_window

* Capture logs during a failure event

* Capture logs during a failure event
old-commit-hash: 0970dd74b7
2020-04-01 10:51:47 -07:00