Commit Graph

27 Commits

Author SHA1 Message Date
Robbe Derks
91987f38d4 Make pandaState and safetyMode a list (#22454)
* wip: move to pandaStates

* bump cereal

* wip: SafetyMode struct

* move to safetyMode

* fix typo

* this can be None

* fix potential empty pandaStates list

* fix thermald

* fix controlsd

* rename safetyModes to safetyConfigs

* update process_replay

* fix test_models

* bump cereal
2021-10-08 17:54:34 +02:00
vanillagorillaa
bcb8a11d7f Honda e Port (#22108)
* Honda e Port

* Test route for Honda e

* remove

* Update README.md

* update values based on logs

* no need for Honda e specific DBC

* fix tests

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-07 16:46:44 -07:00
Adeeb Shihadeh
81006b03c2 handle missing routes better in test car models 2021-09-06 19:21:06 -07:00
Adeeb Shihadeh
4be956f886 Revert 2021 Accord (#22063)
* bump panda

* Revert "Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)"

This reverts commit 7e53a42984.

* revert release notes

* bump panda
2021-08-28 21:28:14 -07:00
Adeeb Shihadeh
7e53a42984 Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)
* Add 2021 Accord 2.0 Touring & Hybrid Touring

- Create the HONDA_BOSCH_EXT set for HONDA_BOSCH cars that utilize the new extended IDs for LKAS_HUD

* Remove ids added to the wrong car

* add comment

* fix undefined signal

* fix tests

Co-authored-by: Chris Souers <csouers@gmail.com>
2021-08-22 12:50:58 -07:00
Adeeb Shihadeh
c72d163e14 deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
2021-07-07 14:59:18 -07:00
ShaneSmiskol
f50a13035a Add missing Chrysler routes (#21074)
* Add missing Chrysler models

* always skip problem chryslers for now (above 150 threshold)

* test if chrysler or jeep

* use carName...properly!
2021-05-29 00:02:04 -07:00
ShaneSmiskol
e7afb26203 Clean up test_routes file (#21056)
* remove no enableCamera routes and add to missing

* use a named tuple

* split makes by \n, fix reference to routes

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-27 15:29:48 -07:00
ShaneSmiskol
997319fac1 Add missing Hondas and Toyotas to tests (#21044)
* Add new route for Acura ILX

* Add Lexus RXH

* Add CRV Hybrid route

* Add Insight route

* update sync script

* Add Avalon route with rlogs

* Update CRV route

* Update Pilot 2019 route

* Add Camry Hybrid 2018 route

* Add 2017 Highlander

* Add 2018 Highlander Hybrid

* Add TSS2 Highlander Hybrid

* Add Accord Hybrid

* Repalce old Accord

* Update Lexus RXH route with logs, CHR+H, skip Avalon for now (fixup in another PR)

* Add CRV

* How did I miss this!

* add exception for CRV Hybrid

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-27 12:20:14 -07:00
Willem Melching
7a8f61f4bf Remove unnecessary trim levels from car name (#20815)
* remove unnecessary trim levels from car name

* remove hardcoded strings

* fix process replay

* more fixes

* fix migration

* update ref
2021-05-04 09:24:24 -07:00
Shane Smiskol
5f61cd0531 Update route for 2017 Corolla (#20793) 2021-05-02 00:05:59 -07:00
Adeeb Shihadeh
ee5bbcb53c update test routes (#20772) 2021-04-28 17:19:58 -07:00
Adeeb Shihadeh
7f16554ee3 Check panda safety against CarState (#1995)
* check panda safety against CarState

* filter out bad honda routes

* bump a bit more
2021-04-25 15:32:05 -07:00
Adeeb Shihadeh
7e632900e5 cleanup car tests (#20562)
* cleanup test_car_models

* don't fail on that
2021-04-01 16:46:08 -07:00
Jason Young
e181fd7f0a VW MQB: Misc bugfixes and cleanup (#20540)
* Add LDW->SWA signal pass-through

* GC currently unused ACC_06 and LDW_02 signal data

* Split out Jetta GLI

* Pass in camera CAN parser now that we use it

* GC unused CarController param, camelCase->PEP8

* CAN valid should pass for VW now

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-30 13:59:17 -07:00
Willem Melching
c23ec9f753 LateralPlanner should only compute curvature (#20289)
* get curvature from planner

* no need to check active

* remove that

* remove self

* liveParams not needed

* cast

* fix test bug

* fixes

* fix ui.py

* fix radians

* update refs

* update refs

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-11 21:08:51 -08:00
Adeeb Shihadeh
312b681a46 cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh
000bd226aa Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
2021-02-03 19:57:30 -08:00
Igor
0a65e87394 Add indi breakpoints (#19664)
* Added BP, V to latcontrol_indi

* hyundai

* toyota

* Tests for INDI outerLoopGain
2021-01-07 15:55:46 +01:00
Adeeb Shihadeh
47c21f10f5 grey panda is unsupported (#2458) 2020-11-03 19:56:25 -08:00
Adeeb Shihadeh
c8f5281c4d second segment is ok for car unit tests 2020-08-06 14:34:42 -07:00
Adeeb Shihadeh
1e44b99478 Add missing chrysler can parser checks (#1967)
* add missing chrysler can parser checks

* toyota

* toyota cam

* toyota freqs

* chrysler freqs

* doors

* just chrysler for now

* update refs

* update again
2020-08-02 18:11:42 -07:00
Adeeb Shihadeh
e10376f1ae Add frequency check to hyundai camera can parser (#1965) 2020-08-02 11:17:18 -07:00
Adeeb Shihadeh
9ee1cc9b82 Run CI tests in parallel (#1962)
* run car model unit tests in parallel

* remove refs to deleted file

* run with coverage

* that wasn't necessary

* as builder

* need a new route for this one too
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh
e89b2b8453 Test can valid in car unit tests (#1961)
* check can invalid

* remove bad lexus is route

* blacklist routes from before cam forwarding

* fix rav4 route with missing first segment
2020-08-01 22:38:19 -07:00
Adeeb Shihadeh
63e4aeac9f fail new car model unit tests if missing a test route 2020-07-28 23:37:53 -07:00
Adeeb Shihadeh
99106fd9c4 Test Car Models 2.0 (#1903)
* start with radar interface

* car interface

* panda safety rx check

* check panda safety inits

* check NO_RADAR_SLEEP in all radar interfaces

* sonata 2019 and kia optima should use hyundai legacy safety

* check radar errors

* check radar can errors

* real fingerprint

* run in CI

* it shoud pass now

* ignore old openpilot msgs

* ensure safety mode is set

* sort can msgs

* filter out openpilot msgs
2020-07-25 02:27:56 -07:00