Commit Graph

1385 Commits

Author SHA1 Message Date
Jason Young 3e3f027a0d
docs: Honda updates to CARS.md (#1364)
* slight Honda reorg, fix Integra category, add manual trans

* make platform groups general per manufacturer

* add Honda Clarity

* regen CARS.md
2024-10-12 11:29:22 -04:00
vanillagorillaa 6375fd6644
Honda: DBC signals for manual trans gear position (#1034)
* add integra MT gear message

* update gearn msg

* apply pr 998

* Revert "apply pr 998"

This reverts commit d3489b5ec8.

* update gearbox name

---------

Co-authored-by: Jason Young <jyoung8607@gmail.com>
2024-10-11 23:45:26 -04:00
Landon Haugh fa0429d339
Honda Civic 2022: Add traffic sign detections (#946)
* Honda Civic 2022: Add Speed Limit message

* Honda Bosch: Add speed limit sign and stop sign detection signals to CAMERA_MESSAGES

* re-run generator

---------

Co-authored-by: Jason Young <jyoung8607@gmail.com>
2024-10-11 23:01:41 -04:00
Isaac 1b5f1c3774
Ford: Provide detail for zeroed out signals on LateralMotionControl and LateralMotionControl2 signals (#1362)
Update carcontroller.py
2024-10-10 11:14:27 -07:00
hdoublearp c78d9bbc91
Toyota: Fix RAV4 Prime mass and wheelbase (#1354)
* Fix curb weight, steering ratio, wheelbase for RAV4 Prime

Weight and wheelbase specifications obtained from https://web.archive.org/web/20221005134205/https://www.toyota.com/rav4prime/2022/features/mpg_other_price/4544/4550. Steering ratio obtained from https://www.toyota.com/content/dam/toyota/brochures/pdf/2022/rav4_ebrochure.pdf.

* Align with currently available documentation

Rounding up wheelbase to two decimal
Updating mass to be more accurate with real world measurement
Reverting steering ratio, to account for the learner behavior in OpenPilot; as described in the PR comment history
2024-10-07 20:32:54 -04:00
Shane Smiskol 89b0f059d7
[bot] Fingerprints: add missing FW versions from new users (#1357)
Export fingerprints
2024-10-07 14:48:27 -07:00
Shane Smiskol 8869420bf3
[bot] Fingerprints: add missing FW versions from new users (#1090)
Export fingerprints
2024-10-07 14:28:36 -07:00
Alexandre Nobuharu Sato 176c0e55e2
Fingerprint: Brazilian Toyota Corolla TSS2 2025 (#1312)
add Emerson FPv2
2024-10-07 14:00:37 -07:00
Shane Smiskol 53565b3f0e
Toyota: more engine torque signals (#1356)
* add

* fix
2024-10-07 13:45:37 -07:00
Jason Young ffb8249422
Toyota: Add FW for 2023 RAV4 Prime (#1355)
* Toyota: Add FW for 2023 RAV4 Prime

* I don't even
2024-10-07 15:33:26 -04:00
Jason Young 0ebc4cb4cb
Toyota: Add 2021-23 Toyota Sienna with SecOC (#1344)
* from @pd0wm commaai/opendbc#1005

* from @pd0wm commaai/openpilot#31179

* we did need that flag rename

* those flags were numbered like that for a reason

* no more bustime

* add secOCKey to structs

* hack around new pitch value for now

* secOCKey placeholder

* help the test along for now

* codespell disapproves of my creative vision

* add crypto dependency

* the other one

* the other other one

* temp use SecOC branch of Panda

* i am the panda, for now

* propitiate static type checker

* on second thought, moving car.capnp is a good idea

* remove the SecOC key from CarParams

* remove SecOC key reading from Toyota port

* add secoc_key to CS/CC

* update SecOC key references

* default key in interfaces for tests

* more CarParams.SecurityConfig

* set secOcRequired at startup for SecOC car

* see if type checker likes this better

* santa please bring car.capnp back soon

* list -> flag

* diff reduction: won't need the flag rename

* add IDLE_COAST signal

* regen RAV4 DBC

* consolidate and remove ALT_GAS_MSG flag

* consolidate and remove GEAR_PACKET_HYBRID flag

* cleanup pitch signal

* cleanup can_gear

* cleanup SECOC_SYNCHRONIZATION

* more cleanup

* cleanup Mirai

* FLAG.value consistency, in case capnp move needs this

* not necessary, reduce diff with master

* prettier

* validation like this should be an offline test

* match non-SecOC LTA message

* follow secoc library move

* repack flag values

* whitespace fix

* cleanup stockAeb

* comment not necessary

* add explicit FIXME for pandacan ref

* how did that sneak back in

* mention why CarDocs are missing

* use carlog to note wrong key problems

* limit logging volume

* add SecOC Sienna, FW from 970f02decf19930c/00000007--744397430a

* add FW from 0bbe367c98fa1538/00000001--1c0d7ae2e4

* add CI test route for Sienna

* SR closer to online learned, tweak mass to Edmunds value

* add FW from 8bfb000e03b2a257/00000004--f9eee5f52e

* fix transposition
2024-10-07 13:16:58 -04:00
garrettpall 78fdc463f4
GM: Add Snow/Ice Mode (#1350)
* GM: Add Snow/Ice Mode Message

* Run Generator
2024-10-05 11:57:21 -07:00
Jason Young 000cc2411b
docs: update Honda works in progress (#1347)
* docs: update Honda works in progress

* github flavored markdown
2024-10-04 21:04:20 -04:00
Adeeb Shihadeh 8cf033fa3e
fix fingerprint labeling 2024-10-04 16:56:28 -07:00
Jason Young 201ff2daa9
Toyota: More RAV4 Prime fingerprints (#1343)
* from @pd0wm commaai/opendbc#1005

* from @pd0wm commaai/openpilot#31179

* we did need that flag rename

* those flags were numbered like that for a reason

* no more bustime

* add secOCKey to structs

* hack around new pitch value for now

* secOCKey placeholder

* help the test along for now

* codespell disapproves of my creative vision

* add crypto dependency

* the other one

* the other other one

* temp use SecOC branch of Panda

* i am the panda, for now

* propitiate static type checker

* on second thought, moving car.capnp is a good idea

* remove the SecOC key from CarParams

* remove SecOC key reading from Toyota port

* add secoc_key to CS/CC

* update SecOC key references

* default key in interfaces for tests

* more CarParams.SecurityConfig

* set secOcRequired at startup for SecOC car

* see if type checker likes this better

* santa please bring car.capnp back soon

* list -> flag

* diff reduction: won't need the flag rename

* add IDLE_COAST signal

* regen RAV4 DBC

* consolidate and remove ALT_GAS_MSG flag

* consolidate and remove GEAR_PACKET_HYBRID flag

* cleanup pitch signal

* cleanup can_gear

* cleanup SECOC_SYNCHRONIZATION

* more cleanup

* cleanup Mirai

* FLAG.value consistency, in case capnp move needs this

* not necessary, reduce diff with master

* prettier

* validation like this should be an offline test

* match non-SecOC LTA message

* follow secoc library move

* repack flag values

* whitespace fix

* cleanup stockAeb

* comment not necessary

* add explicit FIXME for pandacan ref

* how did that sneak back in

* mention why CarDocs are missing

* use carlog to note wrong key problems

* limit logging volume

* add migration entry for old routes

* add FW from 2fdfcfb945894324/00000151--11c864bd11

* add FW from 955536bf30ea4500/00000266--b60f72d541

* add FW from 5ac52f5bc37079ce/00000004--dd8686b2d0

* Revert "add migration entry for old routes"

This reverts commit 9791f10ba5.
2024-10-04 18:05:41 -04:00
Jason Young c90858514c
Toyota: 2021-23 RAV4 Prime (#1287)
* from @pd0wm commaai/opendbc#1005

* from @pd0wm commaai/openpilot#31179

* we did need that flag rename

* those flags were numbered like that for a reason

* no more bustime

* add secOCKey to structs

* hack around new pitch value for now

* secOCKey placeholder

* help the test along for now

* codespell disapproves of my creative vision

* add crypto dependency

* the other one

* the other other one

* temp use SecOC branch of Panda

* i am the panda, for now

* propitiate static type checker

* on second thought, moving car.capnp is a good idea

* remove the SecOC key from CarParams

* remove SecOC key reading from Toyota port

* add secoc_key to CS/CC

* update SecOC key references

* default key in interfaces for tests

* more CarParams.SecurityConfig

* set secOcRequired at startup for SecOC car

* see if type checker likes this better

* santa please bring car.capnp back soon

* list -> flag

* diff reduction: won't need the flag rename

* add IDLE_COAST signal

* regen RAV4 DBC

* consolidate and remove ALT_GAS_MSG flag

* consolidate and remove GEAR_PACKET_HYBRID flag

* cleanup pitch signal

* cleanup can_gear

* cleanup SECOC_SYNCHRONIZATION

* more cleanup

* cleanup Mirai

* FLAG.value consistency, in case capnp move needs this

* not necessary, reduce diff with master

* prettier

* validation like this should be an offline test

* match non-SecOC LTA message

* follow secoc library move

* repack flag values

* whitespace fix

* cleanup stockAeb

* comment not necessary

* add explicit FIXME for pandacan ref

* how did that sneak back in

* mention why CarDocs are missing

* use carlog to note wrong key problems

* limit logging volume

* prep for new CARS.md infra

* pandacan back to panda master
2024-10-04 16:12:17 -04:00
Jason Young a88fe7863f
docs: annotate functions used by comma website and shop (#1342)
and that's why you always leave a note
2024-10-04 12:48:33 -04:00
Jason Young 9bf735bb99
docs: CARS.md 2.1 (#1338)
* there is no spoon

* he's starting to believe

* i know crappy derivative kung-fu

* fix broken links

* regen CARS.md with fixed links

* handle dashcam cars

* fix dashcam inline links

* support under-review, move relevant Fords

* garbage collect completed TODO

* collect docs support stuff in docs.py

* whitespace diff reduction

* cleanup CarParams fetching

* tight tight tight

* garbage collect another completed TODO

* propitiate type checker

* template wordsmithing

* regen CARS.md

* prep for custom install state

* cleanup

* cleanup

* whitespace diff reduction

* template wordsmithing

* regen CARS.md

* LOL how did I miss model-years

* more template wordsmithing

* propitiate type checker
2024-10-04 02:06:42 -04:00
Shane Smiskol 739117d561 deprecate stoppingControl 2024-10-03 16:44:05 -07:00
Shane Smiskol ff2ac79e07
move car.capnp to opendbc (#1339)
* move car.capnp to opendbc

* actuators and some types

* fix all tests!

* not needed

* lint stuff

* missing
2024-10-03 16:38:53 -07:00
Adeeb Shihadeh e8b6bc0ca5 just openpilot 2024-10-03 14:58:01 -07:00
Adeeb Shihadeh ed91b66c1a add README FAQ 2024-10-03 14:57:10 -07:00
Jason Young fb4ac268df
Toyota: DBC message for SecOC longitudinal control (#1337)
* long control actuator message identified

* i am not friends with the generator yet
2024-10-03 14:25:11 -04:00
Jason Young 67dbc3b1bf
VW MQB: Fix DBC location (#1335) 2024-10-02 17:37:31 -07:00
Jason Wen 05de48dd94
Hyundai: Cleanup unused parameter in `create_lfahda_mfc` (#1332)
* Hyundai: Cleanup unused parameter in `create_lfahda_mfc`

* default at 0 anyways
2024-10-02 19:02:59 -04:00
Shane Smiskol a363ce1ff4
CarState: add low speed alert field (#1334)
mazda
2024-10-02 15:09:05 -07:00
Shane Smiskol 900246ddb3
Generic interaction detection (#1331)
* switch to struct

* clean up
2024-10-02 14:32:20 -07:00
Hoang Bui 88ddf53ffc
CI: Add macOS CI (#1327)
ci: add mac ci
2024-10-02 07:47:46 -07:00
Shane Smiskol 0cdc684e09
CarState: add invalidLkasSetting (#1325)
* add invalidLkasSetting

* gate fault on good lkas setting

* revert. that's not what it did
2024-10-01 22:53:08 -07:00
Shane Smiskol 2b91038bf7
Hyundai: always publish cruise and main buttons (#1326)
* publish all the time

why was canfd like this?

* and publish main button
2024-10-01 22:39:27 -07:00
Shane Smiskol 117ed6de67 ButtonEvent: rename altButton3 to mainCruise 2024-10-01 21:29:23 -07:00
Shane Smiskol ea87b4fa3b one more GM vEgo abs 2024-10-01 21:03:43 -07:00
Shane Smiskol d81c4c7ab1
Reapply "GM: signed wheel speeds (#1323)" (#1324)
* Reapply "GM: signed wheel speeds (#1323)"

This reverts commit 1f7fc5107c.

* abs should preserve behavior

* not used but good
2024-10-01 20:41:18 -07:00
Shane Smiskol 1f7fc5107c Revert "GM: signed wheel speeds (#1323)"
This reverts commit e5937e8bef.
2024-10-01 20:23:00 -07:00
Shane Smiskol e5937e8bef
GM: signed wheel speeds (#1323)
* sign wheel speeds

* clean up
2024-10-01 20:22:13 -07:00
Shane Smiskol 01f47ff1a3
Toyota: low speed lockout is an ACC fault (#1322)
is an accFault
2024-10-01 20:03:12 -07:00
Shane Smiskol feea8b73da
Revert "structs: add lkasEnabled and lkasDisabled" (#1320)
Revert "structs: add lkasEnabled and lkasDisabled (#1317)"

This reverts commit 3e239def4b.
2024-10-01 19:22:38 -07:00
namestaketoolong b519e1db4a
Subaru: Add FW for 2020 Subaru Impreza (#1305)
Update fingerprints.py

Added Engine FW Version for 2020 Impreza

Route: 2e7f34ee218f76b6/00000009--c7565cf845
2024-10-01 21:50:02 -04:00
Shane Smiskol 3e239def4b
structs: add lkasEnabled and lkasDisabled (#1317)
* add lkasEnabled and lkasDisabled

* not sure
2024-10-01 17:12:04 -07:00
Jason Young bed4c18a95
Revert "temp remove SecOC support" (#1316)
Revert "temp remove SecOC support (#1314)"

This reverts commit 7b63ff21e9.
2024-10-01 19:50:14 -04:00
Jason Young ba1499ca8a
VW MQBevo: Initial DBC (#906)
* VW MQBevo: Initial DBC

* endianness fixes

* enable opendbc checksum/counter handling

* tweak signal width

* updates

* ACC set speed
2024-10-01 19:34:33 -04:00
Jason Young 7b63ff21e9
temp remove SecOC support (#1314) 2024-10-01 19:23:48 -04:00
Adeeb Shihadeh 27a3881b50 fix double in 2024-10-01 16:12:06 -07:00
Adeeb Shihadeh 3b468db557 source venv in test.sh 2024-10-01 16:11:07 -07:00
Adeeb Shihadeh 8934d44de8 Revert "Car Interfaces: Refactor button state tracking with `ButtonTracker` (#1278)"
This reverts commit d2448a3d4a.
2024-10-01 16:06:04 -07:00
Blue Genie 3c1ce281dc
Ford: CAN-FD radar messages (#1027)
Add 64 byte CANFD Radar
2024-10-01 15:59:46 -07:00
Adeeb Shihadeh 5d6c1d83e2 add test.sh 2024-10-01 15:44:54 -07:00
Adeeb Shihadeh 2d01368a2d no tesla route for now 2024-10-01 15:44:54 -07:00
Jason Young 2c207fa201
support for SecOC cars (#1311)
* support for SecOC cars

* un-nest SecOC params
2024-10-01 18:39:47 -04:00
Jason Wen d2448a3d4a
Car Interfaces: Refactor button state tracking with `ButtonTracker` (#1278)
* Car Interfaces: Refactor button state tracking with `ButtonTracker`

* type hint

* track multiple buttons
2024-10-01 15:05:27 -07:00