Commit Graph

1498 Commits

Author SHA1 Message Date
Shane Smiskol 2f0385dcf6 sort imports 2024-10-16 00:23:28 -07:00
Shane Smiskol dac2f76d08
PIDController: move to common (#1380)
move to common
2024-10-16 02:21:58 -05:00
Shane Smiskol 14b199810d Toyota: fix initial permit braking value 2024-10-15 13:57:28 -07:00
Shane Smiskol e642522112
Toyota: fix hybrid query for some cars (#1375)
fix hybrid query
2024-10-14 20:56:54 -07:00
Lukas 21df53244b
add APS_eacMonitor to dbc (#1373) 2024-10-14 22:15:25 +00:00
Lukas f4536ef95a
Tesla: allow Steering below 18mph (#1368)
send APS_eacAllow message
2024-10-14 20:46:56 +00:00
Lukas e6638ddf06
Tesla: simplify the logic for handling steering-related status codes (#1367)
simplify and cleanup fault logic
2024-10-14 20:46:27 +00:00
Greg Hogan 7c0a3d0c9c
Tesla: model 3 party can fix newline character (#1372) 2024-10-14 17:17:35 +00:00
Greg Hogan 550a220c81
Tesla: fix DAS_accSpeedLimit scale (#1371) 2024-10-14 17:07:27 +00:00
Lukas ac01a9cfe4
Tesla: setSpeed to 0 if not active (#1366)
* setSpeed to 0 if accel is 0

* setSpeed = 0 if not active
2024-10-14 09:13:20 -07:00
Lukas 1c2d8fa6f3
Tesla: better standstill message (#1370)
better standstill message
2024-10-14 09:13:00 -07:00
Lukas 096457ce66
Tesla: don't copy DAS_accState (#1369)
dont copy acc state from autopilot computer
2024-10-14 09:12:46 -07:00
Jason Young 3fc9bdb8c9
docs: add Honda Odyssey WIP to CARS.md (#1365)
docs: add Honda Odyssey to CARS.md
2024-10-12 11:47:48 -04:00
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