Commit Graph

169 Commits

Author SHA1 Message Date
Adeeb f4ef9ae00a Remove incomplete Hyundai Ioniq port (#1570)
old-commit-hash: c78602e8ccf242be6f8a1806ba9e2f0e4f79275b
2020-05-26 20:48:41 -07:00
Adeeb Shihadeh 4221ed5d56 update refs after radarState fields populated
old-commit-hash: a1ffcdd2535b82ff1883879bd53a16f17042419f
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: dd16990952980bfd5c8eac919309052be084a7ee
2020-05-26 13:49:18 -07:00
Adeeb Shihadeh 02cea3e7b4 remove that script
old-commit-hash: b251eff7645035e51f6379209a9c492c2c980a37
2020-05-22 14:50:08 -07:00
Adeeb Shihadeh e5fee88a3d bump panda after hyundai checksum
old-commit-hash: ea1b19256540289732257df35c683730e329cf98
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: fcf879d783c345ccbf80252de23f649427c35fbd
2020-05-21 16:08:05 -07:00
Willem Melching 2e0f9fe628 add sonata 2019 to test_car_modelsg
old-commit-hash: ef2ea14ecce0133b5596074712162931cbaebdc3
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: fde1a5e9af1c1e84ed6f82b642a50bae21f25bbe
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: d099e09fb77544eb00d13ba9aea34a0a3374a52e
2020-05-19 16:45:20 -07:00
Willem Melching fb7e47e2fb This one also needs to be fixed
old-commit-hash: 96605d095162c88b6e97de6262f4972c12c49c68
2020-05-19 16:19:00 -07:00
Adeeb Shihadeh e6af5da522 remove those debug prints
old-commit-hash: 8788ab36e40a413c777dd298817477a2fd7da8f9
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: bb8bbdd9ee4d610e2ae6048021407863b3f74683
2020-05-19 13:43:44 -07:00
Adeeb 48340cc8cb Alerts + Events refactor (#1466)
old-commit-hash: d976233f696040cd5f9a5081c7b21742b7aaef66
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: 08832ff29d20348ebffd0ac3bcce29ad3a479cee
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: 27ffa29f6c24637ce0580dbd9ad96d290de98fec
2020-05-10 20:13:35 -07:00
Willem Melching 587d00d24a fix update ref script
old-commit-hash: 5182da31009e0dd62bd92abb98b1a5bc306ddee1
2020-05-10 18:55:53 -07:00
Adeeb Shihadeh 004c0e277b fake less of PubMaster and SubMaster when profiling
old-commit-hash: ad2c54e9916301d63907d96c3e9dec046bd016b1
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: 337529d5cb7c8f35ed776c96bc2c2f394f766305
2020-05-01 13:13:12 -07:00
Willem Melching f9a65e38b5 Less hardcoded values in profiling script
old-commit-hash: 5d69e9728155e83a013833c7ce32bb9ee97ff6d3
2020-05-01 11:38:30 -07:00
Willem Melching 730615c123 small cleanup of profiling script
old-commit-hash: 4301c5efb554dd46e440f53957f519bb088d0dd6
2020-05-01 10:49:02 -07:00
Willem Melching 46ab48372b run both deterministic and statistical profiler
old-commit-hash: b3e7d94303e505917e0079f559cdd0319cd0ecbf
2020-04-30 17:39:37 -07:00
Willem Melching 06012f4867 use proper cachegrind extension
old-commit-hash: 04bc4a0e458b02074bf59b1edbe6cde07436a27d
2020-04-30 17:07:46 -07:00
Willem Melching 1a825681b3 Write profiling result after running
old-commit-hash: 079c9e714b5286d197cd0ba3f49340e6b0ae101a
2020-04-30 16:19:12 -07:00
Willem Melching 3314b9ee47 Run controlsd without sockets
old-commit-hash: 4d03b8536f408832208644c36bf020c4a67014ba
2020-04-30 15:15:19 -07:00
Willem Melching db8dd33efc Logreader can take car of downloading the files
old-commit-hash: 71589fc92eca6eb8ae2aa3b7d6cab75bac0ae186
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: 0f530be2b47aa76b4750004ac8cc472f2a5f180f
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: 94bba46d6d25478fc32b4b6c4e187264b0d49e4a
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: 009c32d516c0a487a146e1943720041c3e77d1bf
2020-04-27 14:56:30 -07:00
Willem Melching c1bb506016 Unblock stdout in testing slave script
old-commit-hash: 09ac646abd2249c79abf3c0e92c02db131081637
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: f7f0a81d13c9134f6e43aa67005c99b169d532a4
2020-04-27 14:10:07 -07:00
Willem Melching 5562627015 this is now in the panda repo
old-commit-hash: d0d117a999582dea98e6247b2bf343906a3ec96b
2020-04-24 14:04:26 -07:00
Willem Melching afb2f5bcb1 move sensor bootloop script
old-commit-hash: 90eb7aadf2fc4202945e4340f8dc095f1bafce10
2020-04-24 14:03:55 -07:00
Willem Melching 738727770e that is not a test
old-commit-hash: 035d461fdfdcf3caff9eff69760d79b87a1e07f6
2020-04-24 14:02:35 -07:00
Willem Melching 9afaef9f89 catch all exceptions in testing script
old-commit-hash: 2ecf054891311139cbbfd92441df44534d7c29dc
2020-04-23 21:58:35 -07:00
ZwX1616 34eebc37b1 orange distracted alert is now continuous (#1412)
old-commit-hash: 922055f464fbb98ef8366f802897035aa5342333
2020-04-23 14:15:05 -07:00
Willem Melching a8adc65dde Add more timeouts to eon_testing_slave
old-commit-hash: 95c2ff5a3d06cb23cfc238eba62b7638cd81bc80
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: 1d6042c5f35dc2e5c2b6b8aeaca51ef8348c69b5
2020-04-20 15:30:46 -07:00
Willem Melching 1404dabb62 Add Palisade to test_car_models
old-commit-hash: ed527dfd1eb421f871d63c1a01f3feaa0778d609
2020-04-17 11:46:16 -07:00
Willem Melching 91519602bf nissan and hyundai are community
old-commit-hash: c9cefb2fbc78a0e1faf6d8710704c4f193c682b2
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: 7d78cef34b0eea35c2e47f4aa91baf671ef39c43
2020-04-15 19:33:24 -07:00
ZwX1616 f90b956f47 RHD support for driver monitoring (#1299)
old-commit-hash: 133b1a20b42e56dc67a013dc2ee856360e4d1d1c
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: a18832748cda69bce124cc6fa6eed062adb97418
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: e22482eb31f0dd7851fec6ecf448cf99a14b7f5c
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: 928b1561aabb3683875d5c083377d5c5d894d543
2020-04-09 12:09:20 -07:00
Willem Melching 2c79408e43 update test ref
old-commit-hash: 3eda14f2fea253c6a694670bde1c1d7be57d2ddd
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: 0f6c22ce8b3fbbbbb8fff59e44f49b8ec1578e90
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: d0b3c695058ce0798d1fd025495903f40851b533
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: 41bb3ac7ca586b41fa91ad5a6392c88a2c4d5cb3
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: 43b62d8bb6627c6e33b082848a978ab65d7ec7d0
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: 0970dd74b705307a0200932cd47a2f85ef90cd8b
2020-04-01 10:51:47 -07:00