Commit Graph

1498 Commits

Author SHA1 Message Date
Shane Smiskol 6f08c8ab3d
Toyota: add ENG2F41 (#1244)
add ENG2F41
2024-09-16 14:48:20 -07:00
Jakub Czekański 57ebdbfa05
VW MQB: Keep CAN IDs in order (#1243)
ACC_02 had address in decimal format and was out of order.
2024-09-15 11:17:09 -04:00
Jakub Czekański 811ed779ff
VW MQB: Add missing ESP_33 messages and tests (#1242)
Added new CRC without coverage - oversight from rebasing #1016
2024-09-13 18:04:34 -04:00
Jakub Czekański d55feec17a
VW MQB: Add CRC for Airbag_01, ESP_02, ESP10, ESP33, Licht_Anf_01 (#1016)
VW MQB: Add crc for Airbag_01, ESP_02, ESP_10, ESP_33 and Licht_Anf_01
2024-09-13 12:22:34 -04:00
Jakub Czekański 0994697391
VW MQB: Refactored CRC calculation (#1236)
* VW MQB: Refactor CRC constants

Big switch statement in volkswagen_mqb_checksum was refactored with map of arrays.
With this approach there's no need for specifying all 16 byte values if constant is the same for all of them.

* temporary, repeat packing step 1M times

* follow comma convention for include order

* comma indent convention, tighten message annotations

* whitespace

* cleanup

* more comma indent convention

* Revert "temporary, repeat packing step 1M times"

This reverts commit 06d8f46710.

* comment touch-up

* beautify spacing

* codespell says you're gonna have to Google it

* fully initialize all data ID arrays

* clarify array name as part of VW support

* fix comment typo

---------

Co-authored-by: Jason Young <jyoung8607@gmail.com>
2024-09-13 10:43:16 -04:00
Adeeb Shihadeh 2b85882c51
toyota doesn't have gas 2024-09-12 17:03:18 -07:00
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