Commit Graph

1465 Commits

Author SHA1 Message Date
Shane Smiskol 606c035419
Ford: check expected radar configuration (#1414)
* no functional change, but later

* check correct radar configuration

* add comments

* temp

* Revert "temp"

This reverts commit 1a618297d4.

* better cmt

* betteR?
2024-10-23 20:54:15 -07:00
Shane Smiskol 31758a40c9 Ford: apply creep compensation for all cars 2024-10-23 19:11:07 -07:00
Shane Smiskol 2e10235282
Ford Bronco: compensate for creeping when stopping (#1411)
* compensate for creeping when stopping

* log new accel
2024-10-23 19:03:46 -07:00
Shane Smiskol ad9afe659e
Ford: trigger radar update on header message (#1410)
* check header message

* ""
2024-10-23 17:35:04 -07:00
Jason Young 8738eb512d
VW MQB: Add FW for 2024 Volkswagen Jetta (#1409) 2024-10-23 19:50:01 -04:00
Shane Smiskol 52d0b51563
Deprecate radarTimeStep (#1407)
* not used

* more
2024-10-23 14:14:24 -07:00
Shane Smiskol 84970d2c74
Set Ford CAN radar timestep (#1406)
fix ford CAN radar rate
2024-10-23 13:37:11 -07:00
Shane Smiskol 42848c7c73
[bot] Fingerprints: add missing FW versions from new users (#1401)
Export fingerprints
2024-10-22 23:44:44 -07:00
Shane Smiskol 9a594b05d0
Ford long: add more notes (#1404) 2024-10-22 19:07:44 -07:00
Shane Smiskol 25ac16587c
Ford: log RPM (#1403)
log RPM
2024-10-22 16:43:34 -07:00
Shane Smiskol 117f415318 Ford: some ACC signal notes 2024-10-22 15:47:17 -07:00
Shane Smiskol 3789bff3b0
Ford: show bars on change for 4s (#1402)
* show bars for 4s like stock

* consistent
2024-10-22 15:40:49 -07:00
Shane Smiskol 9f9a5fe56f
Toyota: use livePose pitch (#1386)
* use livePose

* rm VSC1S07
2024-10-21 14:34:40 -07:00
Shane Smiskol 5d258ce7c4 rename altButton1 to lkas 2024-10-18 19:51:45 -07:00
Shane Smiskol 76afb6f5f5 toyota/carcontroller.py: remove a TODO 2024-10-18 16:11:46 -07:00
Shane Smiskol 2f4fe0ca7c
Hyundai Kona: missing FW versions from CAN FP removal (#1387)
missing fp
2024-10-17 19:10:26 -07:00
Chris Patterson 872413e6d8
Toyota: Fix ACC_CONTROL_2 ACCEL_CMD scaling (#1384)
Co-authored-by: Comma Device <device@comma.ai>
2024-10-17 20:33:42 -04:00
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