Commit Graph

142 Commits

Author SHA1 Message Date
Shane Smiskol
29470d2d2d VW: match panda standstill check (#25761)
* test models: check panda standstill

* match panda

* reverse exception

* check == 0

* bumppanda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-01-10 22:28:54 -08:00
Shane Smiskol
dac7a24677 car interfaces: test longitudinal params are set correctly (#26894)
* add long unit tests and fix

* revert

* remove debug

* cleanup

Co-authored-by: Laptop Researcher <laptop@researcher.com>
2023-01-09 16:21:47 -08:00
Shane Smiskol
aab33b1c5f Lateral jerk unit test (#25759)
* stash

* more test

* less test

* clean test

* no angle

* add tolerance

* fix gm

fix gm

* test both

* lower some rates on hkg

* stash

* simpler

* bump panda

* Revert "bump panda"

This reverts commit f2137c221145cca723fe6ee3378ba947b7061965.

* only torque

* make kona pass

* duplicate __init__

* move

* half clean up

* half clean up

* more clean up

* more clean up

* fix static analysis

* calculate over 0.5 seconds

* limit to max steer

* type annotation

* calc once
2022-12-15 21:52:07 -08:00
Jason Wen
1f774e4ec3 HKG: Car Port for Genesis GV60 2022 (#26777)
* HKG: Car Port for Genesis GV60 2022

* Ugh, keeps forgetting torque params

* Update docs

* Test route

* more interesting segment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-12-13 00:21:58 -08:00
Shane Smiskol
973ecdc0c9 Hyundai: Tucson 2023 support (#26427)
* Hardcode fingerprint

* no skipping

* rev

* the SE does not have SCC https://cdn.dealereprocess.org/cdn/brochures/hyundai/2022-tucson.pdf

* revert

* adjust weight

* add versions for 2023

* update docs

* fingerprint properly

* add package for 2022 but comment out

* updatedocs

* update route

* bump

* bump!

* 2022

* Update selfdrive/car/tests/routes.py
2022-12-05 15:24:54 -08:00
Shane Smiskol
3e2a49c6e5 GM: add Bolt EV test route (#26681)
* bolt ev!

* releases

* it's a trim
2022-12-02 22:09:42 -08:00
Jason Wen
1adf106da6 HKG: Car Port for Kia Sorento Plug-in Hybrid 2022 (#26635)
* HKG: Car Port for Kia Sorento Plug-in Hybrid 2022

* Add torque params

* Typo

* This car has SCC on bus 4, needs radar disable to use openpilot longitudinal :/

* Need to check on bus 4 as well

* Different unit signal

* Unit signal cleanup

* Add test route

* Regenerate car docs

* Different logic

* 2023 should be the same

* Fix 0x1a0 check race condition

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-12-01 14:11:12 -08:00
Shane Smiskol
01dac5d06b Build panda/SConscript (#26646)
* panda/SConscript

* think this is right?

* bump panda

* fix test_models

* use a filter

* bump panda to mater

* more aesthetic ordering

* alphabetical :(

* alphabetical :(
2022-11-30 20:27:55 -08:00
Shane Smiskol
712b9014d7 Car interface: set tire stiffness in common function (#26625)
* common stiffness

* GM uses factors
2022-11-29 12:50:27 -08:00
Jason Wen
2d766fee14 HKG: Car Port for 2022 Kia Stinger (#26397)
* HKG: Car Port for 2022 Kia Stinger

* Substitute KIA STINGER GT2 2018 torque params

* bump panda

* Add test route

* Update CARS.md

* Not this checksum

* Update test route

* Update CARS.md

* Harness C -> Harness K

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-14 19:46:29 -08:00
Shane Smiskol
74b6e22a7d controls: disengage on regen paddle independently (#26453)
* add regen braking field that's just used to add a pedalPressed

* bump

* bump

* Update ref_commit

* we want the standstill check

we want the standstill check

* see what diff is now

* Update ref_commit
2022-11-10 19:06:31 -08:00
Shane Smiskol
0ca9d1810c interrfaces: more complete PID tests (#26422)
* more complete PID tests

* doesn't need to be fancy

* less fancy
2022-11-09 12:10:08 -08:00
Jason Wen
d62cdc400c HKG: Car Port for Genesis GV70 2022 (#26373)
* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update docs

* Update selfdrive/car/hyundai/values.py

* GV70 does radar SCC, separate them

* One more

* bump panda

* Gate 0x1A0 away from bus 6

* Can't leave out the OG

* EV6 non-HDA2 too?

* bump panda

* bump panda

* Check 0x1a0 based on param

* bump panda

* bump panda

* bit simpler

* fix bit op

* fixes

* bump panda to master

* cmt

* flip

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-11-07 23:03:36 -08:00
Jason Wen
e4342b5e16 Hyundai CAN-FD: support 2023 Kia Sportage & 2022 Hyundai Santa Cruz (#25434)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* update docs!

* GV70 is a radar-SCC car :( (another PR)

* fix removed sportage hybrid versions

* update docs

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: sshane <shane@smiskol.com>
2022-11-04 18:44:38 -07:00
Shane Smiskol
80e8d76d39 car docs: speedup test (#26337)
* faster

* faster
2022-11-02 20:40:42 -07:00
Jason Young
b31b031044 VW MQB: Fahrzeuglängsbeschleunigungssteuerungseinrichtung (#22963)
* can I kick it?

* bumpity bump bump

* bump panda

* everybody's gotta be special

* attempt at improving stopping/starting

* reduce lateral feedforward

* tweak gradient and comfort bands

* oops

* accel from the dept of redundancy dept

* bump opendbc

* jerk limiter not needed and causing problems

* don't leave stop/start flags hung when not enabled

* reduce comfort band with lead car

* borrow decel comp from HKG

* align stopping state thresholds

* (re)try letting PI clean up some of this

* bump panda

* tweaks and comments

* elide superfluous import

* VW MQB: Longitudinal prereqs

* gate this too

* bump CI

* cleanup

* more cleanup; require gateway integration

* don't run long state/actuators unless sending message

* setpoint visibility in instrument cluster

* show fixed lead car if lead visible

* hold my beer?

* tuning

* the code is darkest before the refactor

* a little more

* set freewheel and stop distance correctly

* rounding issue maybe?

* ACC_04 Charisma profiles and HUD alerts

* fix ACC_04 counter, fix gradient and accel bugs

* revert tuning change in upstream focused branch

* need 0.5m/s to leave

* reduced braking when not absolutely needed

* oops

* bump panda

* match opendbc to master

* filter ACC_13, disable secondary accel

* bump panda

* bump panda

* bump opendbc and panda

* startAccel is deprecated

* testing manual trans min engage speeds

* pass stock ACC type to TSK

* bump panda

* bump opendbc

* bump opendbc

* test hax for Brake alert

* remove ACC_13 with matching panda bump

* fix submodule refs

* update long control safety param name

* bump panda

* actuator delay corrected by Mk1 eyeball

* a little more

* tweak stop/start thresholds

* Revert "tweak stop/start thresholds"

This reverts commit 60abd57d2025c3218f069dbec4600c8d14033c05.

* more lag reduction

* bump opendbc

* support both analog and digital clusters

* tuning adjustments

* bump opendbc and panda

* accept two button types for resume

* support separate set and resume

* bump panda

* #24706

* partial revert 6b93ac27

* fixes

* one more

* refactor all the things

* follow experimental long refactor

* fill in ACC hud status

* temp force E2E availability

* start cleaning up

* comment touchup

* gimme some comfort baby

* experiment

* SnG me maybe?

* a little more rollout

* is this why I'm not leaving?

* turns out you need startAccel to leave

* try without ACC_04

* cleanup unused variables

* temp hack to standstill handling

* temp hack to button handling

* trim rollout distance with slower vEgoStopping

* ultra fat comfort band due to noisy E2E actuator

* I like big changes and I cannot lie

* remove lead car display for now

* cleanup, drives somewhat better

* partial FtS/basic support

* diff reduction

* not needed

* more cleanup

* oops

* more cleanup

* restore lead car visible for PQ

* bump panda

* better enable button solution

* redundant

* OP long on *all* the things

* OP long on all the things *sometimes*

* docs generator a little TOO clever

* solve starting-state a different way

* try that again

* bump panda

* oops

* follow DBC refactor

* retry CI

* signal name changed

* sync with custom enable button branch

* oops

* more follow refactor

* bump panda

* sync opendbc to master

* bump panda

* updated comments

* light P, no I

* bump panda

* bump panda again

* add openpilot long test_models route

* bump panda with replay route

* temporarily disable experimental long for merge

* bump panda to master

* resolve conflict?

* now can we go to head?

* explicit length check

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-01 10:00:26 -07:00
Shane Smiskol
0e162cc13b test_models: fix Nidec routes that start enabled (#26305)
* Update test_models.py

* Update test_models.py

* fix non-pcmCruise routes where button is left pressed in warmup

* more explicit, don't allow multiple continues

* revert chjange

* -that
2022-10-31 23:02:31 -07:00
Shane Smiskol
23d5e5e07f test_models: speed up test (#26304)
* Update test_models.py

* Update test_models.py
2022-10-31 21:32:17 -07:00
Shane Smiskol
4d7bdc271f test_models: remove carState test from panda tests (#26298)
Update test_models.py
2022-10-31 17:45:56 -07:00
Shane Smiskol
d793d3622b test_models: fix runaway memory growth for long running tests (#26295)
* delete can msgs

* only can msgs
2022-10-31 13:54:13 -07:00
FAN HANGYU
131263a75b Honda: add Chinese Odyssey FW versions (#25943)
* Update values.py

add a carFW of odyssey_chn

* move after odyssey

* common carparams

* just ignore

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-31 13:13:57 -07:00
Shane Smiskol
e9fcef99e1 FPv2 tests: test all addrs map to one ECU (#26151)
* add test

* fix mapping
2022-10-24 19:08:20 -07:00
Jason Wen
92b458c709 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-24 18:40:01 -07:00
Jason Wen
1766cf9fc2 HKG: Car Port for Kia Sportage Hybrid 2023 (#26106)
* HKG: Car Port for Kia Sportage Hybrid 2023

* Add torque values

* Add test route

* Fix CARS.md

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-19 14:31:02 -07:00
Shane Smiskol
f6416e7769 Hyundai HDA2 detection: use ADAS ECU (#26130)
* use adas ecu

* new route

* update refs

* new route

* update refs

* new test routes

* bump
2022-10-19 14:21:03 -07:00
Shane Smiskol
1bd9632156 FPv2 tests: consider extra ECUs in brand ECUs (#26149)
* Hyundai: add corner radar FW query

* add extra ecus to brand ecus

* add comment

* rev

* bumpo

* cmt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-19 01:02:51 -07:00
Shane Smiskol
826d8a8ae3 GM: match panda & ECM standstill checks (#26095)
* gm: match panda standstill check

* fix

* needs to be <= 10 to avoid a fault, fix for safety tests

* fix

* fix

* bump panda to master
2022-10-18 11:24:13 -07:00
Shane Smiskol
7e9961b9ac FPv2: support collecting versions for specific ecus (#25699)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* remove this

* .

* intersection

* print ecus

* shorter

* fix typing

* use config
2022-10-13 17:40:07 -07:00
hoomoose
649eaf273f Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-13 09:34:59 -07:00
Jason Young
47b19ff148 VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 (#25839)
* initial Sharan support

* placeholder torque data

* oops

* add route

* min speeds and PQ default delay
2022-10-12 13:59:39 -07:00
Shane Smiskol
36701a82a3 Kia: update Optima platform name (#25852)
* https://en.wikipedia.org/wiki/Kia_K5

* it's actually the same generation, but 2019+ is a facelift

* g4

* fix

* rename
2022-10-08 00:02:57 -07:00
Shane Smiskol
6db9f051f7 Car docs: test no duplicate years (#25975)
* unit test

* clean up

* revert test

* clean up

* like this

like this

* no model model
2022-10-05 17:09:46 -07:00
Shane Smiskol
2c9f751616 Optima: split into two platforms (#24815)
* Add missing fw versions for 2019 Optima

* move versions to new platform

* add temp fw version notes

temp notes

* clean up

* Update docs

* add fw versions from the last 180 days

* add tests

* fix

* remove FPv1 for Optima

* seems like the 2016 is the same

* revert

* add versions from our 2019 Optima

* label/move some versions

* add some versions from a 2020! (3d96bd05b5513638)

* this is from the same 2017 as earlier
(4f930156368f7830)

* vin lookup isn't perfect

* Revert "vin lookup isn't perfect"

This reverts commit 62c563bc4549b37160254d45bb90fcbc1f6cd589.

* a 2020 (df71aec6e636d7e4)

* cleanup, this transmission is also a 2020 version

df71aec6e636d7e4|2021-10-07--17-59-28

* this comes with scc

* one line

* revert

* bump panda

* add our transmission FW

* Add test route
2022-09-19 23:33:59 -07:00
Cameron Clough
06fb52c146 Kia: update required packages (#25824)
* Kia: LKAS is standard on Ceed 2019

https://www.downeys.co.uk/newmodels/Ceed_V3_24_09_2019.pdf

* Kia: delete Forte 2018

It doesn't appear that this vehicle has Adaptive/Smart Cruise Control in
any form, which was later added in 2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf

* Kia: LKAS is standard on Forte 2019+

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2020-forte.pdf

* Kia: rename Niro Electric to EV

https://www.kia.com/us/en/niro

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: LKAS is standard on Niro PHEV 2018+

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-niro.pdf

* Kia: update required package on Optima 2017

The ACC package on the Optima 2017 is named "Advanced Smart Cruise
Control". It also doesn't have an LKAS package, only LDWS is available.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optima.pdf

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: LKAS is standard on Optima 2019

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-optima.pdf

* Kia: revert package change to Seltos 2021

LKAS is NOT a standard package on the Seltos 2021

https://cdn.dealereprocess.org/cdn/brochures/kia/2021-seltos.pdf

* Kia: update required package on Sorento 2018

Similar to the Optima 2017, the ACC package on the Sorento 2018 is named
"Advanced Smart Cruise Control". It also doesn't have an LKAS package,
only LDWS.

SCC and LKAS were introduced in MY2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-sorento.pdf

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: SCC is standard on Kia Niro PHEV 2018-19

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: update required package on Optima Hybrid 2017

Similar to the Optima 2017, the ACC package on he Optima Hybrid 2017 is
named "Advanced Smart Cruise Control". It also doesn't have an LKAS
pacakge, only LDWS.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optimahybrid.pdf

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-17 00:24:57 -07:00
Jason Shuler
cfaa1b7d3e GM: Chevy Bolt EV 2022-23 (#25430)
* Chevy Bolt EV w ACC Port

* dashcam

* The website allows you to select the package without ACC

* fix Bolt E(U)V centerToFront

* Update selfdrive/car/gm/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-15 20:11:53 -07:00
Jason Shuler
1aa8c0525e GM: Chevy Equinox 2019-22 (#25431)
* Chevy Equinox Port

* LKAS is not standard on 2019, but it's the same package as ACC. (LKAS standard 2020+)

* 2019 here too

* clean up

* add to untested

* not in docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-15 17:55:02 -07:00
Shane Smiskol
86062fee6b Subaru: match panda standstill (#25789)
* subaru: match panda standstill

* subaru: match panda standstill

* actually test standstill

* bump panda to master
2022-09-14 19:11:49 -07:00
Shane Smiskol
d3795c1227 Chrysler: match panda standstill check (#25762)
* bump panda

* bump panda to master

* flip this around

* don't forget the body!
2022-09-13 14:14:22 -07:00
Shane Smiskol
4d351427c5 Consider regen properly in test_models (#25409)
* Consider regen properly in test_models

* bump panda

* bump panda

* can use the more interesting segment now

* rm
2022-09-13 00:22:58 -07:00
Shane Smiskol
0ef6bb48df FPv2: move car-specific configuration into interfaces (#25711)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* do toyota as an example

* revert

revert

* do chrysler

* do rest

* stash

* much smaller of a diff than the alternative

* remove unused test

* fix tests

* remove brand from Request

* Make StandardQueries class

* add missing_ecus

clean up

* rename file

* unused

* test implemented

* add comment and rename

add comment and rename

add comment and rename

* should be impossible now

* this is a fixme

* rename to fw_query

* rename this too

* and this

* move vin queries to class

* order

* can use p16!

* formatting

* whoops, this wasn't gated on not len(found_versions)

* make this clear

* Standardize manufacturer software version query
2022-09-09 16:24:29 -07:00
Adeeb Shihadeh
9241de2210 Ford Explorer 2020-21 (#25614)
* add model years

* update Focus steer ratio

* Ford: add EU label to Focus Mk4

* add packages

* add Ford Explorer 2020

Package: Co-Pilot 360 Assist+

Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum

https://cdn.dealereprocess.org/cdn/brochures/ford/2020-explorer.pdf

* Ford: steering control with path angle

* Ford: add TJA toggle to buttons

* add Ford Explorer 2021

`62241b0c7fea4589|2022-08-30--11-58-24--0`

Package: Co-Pilot 360 Assist+

Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum (same as 2020)

https://cdn.dealereprocess.org/cdn/brochures/ford/2021-explorer.pdf

* Ford: add shiftByWire ECU fw

* angle/steer refactor

* try always stop and go for US models

* no dashcam

* car info

* send resume button

* skip explorer

* escape and focus back in dashcam

* passthru buttons

* fordcan set bus for button message

* toggle off stock traffic jam assist so camera does not enforce driver presence checks

* not used

* update ramp rate/precision notes

* cleanup

* bump steering pressed torque to 0.8 Nm

* add standstill

* bump steer ratio

* try increasing delay?

* fix docs

* add kuga car info

* maybe fix tja toggle?

* compensate for ford roll compensation??

* oops

* better ui

* block non-adaptive

* add note on ui warning for hands on wheel

* try only checking/toggling TJA every 2 seconds

* add car test route

* dashcam only again

* send buttons to camera

* add process replay segment

* cleanup

* bump panda

* add extra FW

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-09-08 15:49:51 -07:00
Adeeb Shihadeh
655a64b603 single longitudinal toggle for e2e and disable radar (#25688)
* single longitudinal toggle for e2e and disable radar

* write disable radar param

* rename

* better param name

* clean that up

* update refs

* update translations

* not live for experimental

* write it out

* vanish
2022-09-07 17:12:49 -07:00
Shane Smiskol
b34fe711b0 Toyota: same standstill check as panda (#25570)
* Same standstill check as panda

* test honda in the same place

* bump panda

* bump panda

* bump panda

* bump to master

* bump panda
2022-08-31 13:51:10 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Shane Smiskol
19e088de0a Chrysler: add FW tests (#25599)
* stash

* make sure no transmission FW is added for HD trucks

* Remove

* consistency
2022-08-29 14:23:11 -07:00
Shane Smiskol
a548e1b909 FW tests: use subtests (#25598)
Use subtests for FW tests

Use subtests for FW tests
2022-08-29 13:47:19 -07:00
Shane Smiskol
70f7340c17 Toyota: log stockAeb on non-TSS2 cars (#25489)
* check PRE_COLLISION

* need to make sure this is right

* revert

* temp, stash

* fixes

* uncomment that

* it's not really cruise/pcm, but acc

remove improt

* revert

* Fix CI

* revert exception

* Revert "revert exception"

This reverts commit 7e2f39097651f17cf3d2ac9f442fab5071e1b9d0.

* this tested enableDsu, but we have other routes that do that

* use segment from db

* remove exception again
2022-08-23 17:48:34 -07:00
Shane Smiskol
19810f2dcc Silence a PytestCollectionWarning (#25537)
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
2022-08-23 17:26:29 -07:00
Shane Smiskol
f8e44f2e9b test_models: pass carFw into car interface (#25535)
pass carFw into get_params
2022-08-23 13:42:14 -07:00
Shane Smiskol
beae985f98 test_models: no CAN invalid tolerance (#25501)
* don't use end of route segment

* no can invalid cnt tolerance

* start checking can valid immediately once available

* we check counter violations
2022-08-20 14:47:18 -07:00