Commit Graph

1292 Commits

Author SHA1 Message Date
Shane Smiskol 56c7afa5a3
rm longitudinal profiles (#1240)
rm
2024-09-12 16:55:06 -07:00
Shane Smiskol b43d3003c5
fix spacing for test_checksums (#1239) 2024-09-12 16:36:04 -07:00
Jakub Czekański 751404a8b5
VW MQB: Added unittests for CRC calculation (#1235)
* VW MQB: Added unittests for CRC calculation

Some of the messages are either missing fields that causes serialization to skip bits
or CRC/BZ fields aren't picked up by packers leading to invalid values.

* VW MQB: Add missing fields in Getriebe_11

Test case is reenabled and now passes

* EV_Gearshift -> Motor_EV_01, enable test

* skip Getribe_11 testing with a note about why

* reenable all others, except SWA_01

* turns out we can still test Getriebe_11

* New test data for SWA_01, re-enable test

* no longer a need for test skipping

* no longer a need for custom tests

* more concise

* prefix with VW for clarity

---------

Co-authored-by: Jason Young <jyoung8607@gmail.com>
2024-09-12 15:02:08 -04:00
Jason Young 4b31c18530
VW MQB: Various message and signal updates (#1238)
* VehicleSpeed -> ESP_08

* ESP_21 updates

* Motor_20 updates

* SWA_01 updates

* ESP_20 updates

* Getriebe_11 updates
2024-09-12 14:00:50 -04:00
Jason Young d8aba58b25
VW MQB: EV_Gearshift -> Motor_EV_01 (#1237)
* DBC updates

* update comment in CRC function

* updates to carstate and interface

* update shifter VAL lookup
2024-09-12 12:39:20 -04:00
Shane Smiskol c43cd3a24b Nidec: add longitudinal control comment
This name is confusion
2024-09-10 19:07:24 -07:00
Shane Smiskol 3ff90573c7
Test all torque cars' lateral limits (#1232)
* test more models!

* Impreza 2020: reach max in ~0.8s instead of ~0.6

* leave todo for gen2, not safety critical since jerk is under threshold (1000/40*2/100=0.5s)

* fix honda
2024-09-10 15:20:34 -07:00
Adeeb Shihadeh ef7102a8ae
Toyota: AEB actuation setup (#1227)
* try this

* cleanup

* lil more

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-07 16:32:53 -07:00
Shane Smiskol c0a9ab5c39
Move radar delay to carParams (#1224)
move radar delay to CP
2024-09-05 15:45:42 -07:00
Shane Smiskol 3dde383593
Radar interface getter (#1220)
* ret it now

* don't forget

* better
2024-09-05 14:15:40 -07:00
Jason Young 86be858a37
Hongqi: Add DBC for Hongqi HS5 (#580) 2024-09-05 13:23:46 -04:00
dkiiv 199480095c
VW PQ: Volkswagen Jetta 6th Gen (#1208)
VW PQ: add fingerprint for new car model
2024-09-05 12:47:35 -04:00
Maxime Desroches 6619c18f1f
distutils comment (#1222)
comment
2024-09-04 14:48:02 -07:00
Maxime Desroches 1e6e045f64
add setuptools for python3.12 (#1221)
setuptools
2024-09-04 14:20:59 -07:00
Shane Smiskol ebb6d22ede Revert "pytest: add default fixture option for pytest-asyncio"
This reverts commit 81b081bbc2.
2024-09-04 14:11:29 -07:00
Shane Smiskol 81b081bbc2 pytest: add default fixture option for pytest-asyncio
https://github.com/commaai/openpilot/pull/33442
2024-09-04 13:59:50 -07:00
Shane Smiskol 936bd8372e Kia EV6: change non-US entry back to Southeast Asia
A EV6 user in AUS has a Kia EV6 GT 2023 with no adas ecu, so they needed the without HDA II harness instead
2024-09-04 13:59:21 -07:00
Shane Smiskol ff198e9af1 GM: add TODO for feature sets 2024-09-04 12:55:50 -07:00
Shane Smiskol 8a4b246133
Reapply "GM: Car Port for 2019 Chevy Volt" (#1218) (#1219)
* Reapply "GM: Car Port for 2019 Chevy Volt" (#1218)

This reverts commit 1c19fd02f0.

* fix safety mismatch
2024-09-04 12:53:49 -07:00
Shane Smiskol f383e5cc64 fix interfaces usage 2024-09-03 19:11:31 -07:00
Shane Smiskol 1c19fd02f0
Revert "GM: Car Port for 2019 Chevy Volt" (#1218)
Revert "GM: Car Port for 2019 Chevy Volt (#1210)"

This reverts commit ca3b5c4b8e.
2024-09-03 19:06:36 -07:00
Shane Smiskol e1318f21ac
interfaces returns RadarInterface (#1217)
interfaces returns radarinterface
2024-09-03 15:53:06 -07:00
garrettpall ca3b5c4b8e
GM: Car Port for 2019 Chevy Volt (#1210)
* Add 2019 Volt Support

* Add Route

* Add Package

I think LKA is part of Driver Confidence II Package and ACC is it's own add one
2024-09-03 13:37:42 -07:00
Adeeb Shihadeh 7bf0ecd822 fix typo 2024-09-02 11:24:05 -07:00
Adeeb Shihadeh 727f5c10af
add roadmpa 2024-09-02 11:16:28 -07:00
Adeeb Shihadeh 6de42e3faf remove unused 2024-09-01 15:08:49 -07:00
Adeeb Shihadeh 48ab55f684 panda_runner: fixup safety mode setting 2024-09-01 15:03:30 -07:00
Adeeb Shihadeh b4d39b97db
Toyota: more ACC-related definitions (#1215) 2024-08-31 16:00:02 -07:00
Alexandre Nobuharu Sato 26dfa1d290
ci: Bot comment only for first timers (#1213)
* ci: Bot comment only for first timers and collapsible sections for UI screenshots

Added also implement collapsible sections for UI screenshots #33415 <https://github.com/commaai/openpilot/pull/33415>

* fix

* Update auto_pr_review.yaml
2024-08-31 11:41:11 -07:00
garrettpall 227908eac8
GM: Car Port for XT4 2023 (#1177)
* GM: Car Port for XT4 2023

* Remove Comment to Match

* Update opendbc/car/gm/values.py

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-08-31 10:28:03 -07:00
Adeeb Shihadeh 732bf8f12d
longitudinal maneuvers fixups (#1209)
* corolla updates

* lil more

* lil more

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-08-30 21:54:15 -07:00
Adeeb Shihadeh f99bb69180 longitudinal maneuvers: proper ratekeeping 2024-08-30 20:04:46 -07:00
Adeeb Shihadeh c928f6bc7c
longitudinal maneuvers: add gas/brake step responses (#1207)
* longitudinal maneuvers: add gas/brake step responses

* corolla updates

* initial speed

* try beep

* beep

* corolla updates

* add vego

* enable all

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-08-30 16:45:10 -07:00
Adeeb Shihadeh f2fa755ab7
longitudinal profile runner (#1197)
* long profiles

* start with creep

* lil cleanup

* corolla updates

* cleanup

* 2s

* plot is a little nicer

* strict mode

* cleanup

* unused

* fix that

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-08-30 13:48:13 -07:00
Adeeb Shihadeh cbad7f0066
simple joystick example (#1200)
* setup runner

* port over joystickd

* fix mypy

* set accel and steer
2024-08-29 15:12:44 -07:00
Shane Smiskol a1b95d784e
Honda: distance bars always cycle 1, 2, 3 (#1201)
1 is 1
2024-08-29 12:21:25 -07:00
Adeeb Shihadeh c0aa7292dc new optional syntax 2024-08-28 19:28:52 -07:00
Adeeb Shihadeh 6cb7851314
car: default now_nanos value 2024-08-28 19:27:13 -07:00
Adeeb Shihadeh aa1d21b40e ignore uv.lock for now 2024-08-28 17:51:06 -07:00
Shane Smiskol 3a8a8645f6
Toyota: add a VSC message (#1190)
* add a vsc message

* rename

* rename

* add comments

* rename

* rename
2024-08-27 16:10:41 -07:00
Irene c9650ff051
Toyota: add misc adas/toggle signal definitions (#1076)
* Toyota: add signals

* run generator

* better name

* engine running signal
2024-08-27 15:47:46 -07:00
Shane Smiskol 7009381eb1
Revert "GM: implement allow throttle/brakes" (#1187)
Revert "GM: implement allow throttle/brakes (#1185)"

This reverts commit 8e2037651e.
2024-08-26 22:26:32 -07:00
Shane Smiskol 8e2037651e
GM: implement allow throttle/brakes (#1185)
implement allow gnb for GM
2024-08-26 21:47:18 -07:00
Adeeb Shihadeh 46790afcb2 CI should use the defaults 2024-08-26 17:04:32 -07:00
Adeeb Shihadeh 81fcc40cc7
openpilot isn't required for a car port PR (#1183)
* move test routes here

* check for missing

* no shebang
2024-08-26 17:02:38 -07:00
Shane Smiskol f6f0674d19
tests: some speed optimizations (#1181)
* mock sleep via monotonic

* rm

* no need to generate 8 buses

* this doesn't actually make a big diff

* lower loop

* can reduce

* here too

* Revert "here too"

This reverts commit 06b4cadd54.

* Revert "can reduce"

This reverts commit 55cae021bc.
2024-08-21 00:58:28 -07:00
Shane Smiskol 06c51c1db4
add test_car_interfaces.py (#1178)
* add test_car_interfaces.py

* rm op stuff

* fix

* justsee

* optimize get_fuzzy_car_interface_args a bit

* Revert "optimize get_fuzzy_car_interface_args a bit"

This reverts commit ba4d07fc3f.

* lower examples for now

* sheesh

* revert time
2024-08-21 00:26:32 -07:00
Shane Smiskol c02e83de5d
speedup CI (#1179)
* no setup python

* replace with uv

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* slightly faster

* this doesnt do anything without seen ecus

* test

* is durations slow?

* not now

* test in another pr

* same to static

* static

* test

* test

* test

* the action used to cache as well

* test
2024-08-20 23:36:08 -07:00
Shane Smiskol 7d6f7cbe71 add banned apis 2024-08-20 15:45:43 -07:00
Shane Smiskol 3229aa2e9c add test_lateral_limits.py 2024-08-20 15:41:30 -07:00