Commit Graph

1489 Commits

Author SHA1 Message Date
Shane Smiskol 658eacdc51
Ford long: smooth creep compensation (#1434)
* ramp using accel too

* mypy...
2024-11-01 15:09:20 -07:00
Shane Smiskol d632cc5bec
Ford: limit acceleration near PCM set speed (#1432)
* do what nidec does

* ~0.5 is what it hovers around
2024-10-31 13:43:01 -07:00
Adeeb Shihadeh c4114772ba
Ford: enable radar parsing (#1363)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-10-30 13:16:21 -07:00
Shane Smiskol 4c6d7c1071
Revert "Ford: enable radar" (#1431)
Revert "Ford: enable radar (#1430)"

This reverts commit cf4848e2a9.
2024-10-30 13:14:39 -07:00
Shane Smiskol cf4848e2a9
Ford: enable radar (#1430)
enable
2024-10-30 01:23:43 -07:00
Shane Smiskol 359aa38656
Ford: cluster radar points (#1427)
* messy first draft with dbscan

* points -> keys

* not sure if necessary

* doesn't work

* it was a reference!!!!!!!!!1111!!!!1111111!!!!!!111 ugh

* todos

* more

* nope

* just want to test in-car

* Revert "just want to test in-car"

This reverts commit b280019da6.

* simple clustering

* no print

* hold points

* little faster

* ~4x faster

* little more

* now this matters

* cached property

* argmin

* no to_dict

* calculate means for new cluster once

* no need for deepcopy anymore!

* don't store points, pre-check length

* fix that

* comment

* hmm this is promising

* unused

* no np

* works pretty well

* store cluster center

* whoops

* >2x speedup on pc

* forgot this

* vectorize

* no pts

* more optimization

* 5x faster

* a list

* try

* fix

* fix radar errors

* fix

* fixes to pass checklist

* remove old stuff

* is this faster?

fix

* Revert "is this faster?"

This reverts commit 89f6cd3935.

* some clean up

* more clean up

* simplify

* no vals

* see if this is faster

* make it a fixme

* clean up

fix

* more

* final

* sheesh fix dRel

* fix static analysis

* fix more static
2024-10-30 01:11:34 -07:00
Shane Smiskol cde249d518 Ford: prefix variable with MRR 2024-10-30 00:54:00 -07:00
Shane Smiskol 0446c0503a Fix indexing 2024-10-29 22:21:02 -07:00
Shane Smiskol bf74f17568
Ford: use half radar points (#1428)
* only use half

* comments

* better

* clean up

* revert
2024-10-29 22:17:28 -07:00
Shane Smiskol 16eb79d028 Ford: set tracks measured once 2024-10-29 22:15:22 -07:00
Shane Smiskol ba353f7d8a
Ford: fix unnecessary radar point creation and deletion (#1426)
* don't create and delete capnp RadarPoint objects, and don't double increment track id

* clean up
2024-10-28 17:55:43 -07:00
Shane Smiskol 1c0b1da8f0 Ford: fix possible duplicate track IDs 2024-10-28 17:19:21 -07:00
Shane Smiskol 4493062729
[bot] Fingerprints: add missing FW versions from new users (#1423)
Export fingerprints
2024-10-28 16:11:23 -07:00
Shane Smiskol 87585581b9
[bot] Car docs: update model years from new users (#1424)
Update car docs
2024-10-28 16:10:48 -07:00
Shane Smiskol 4aae6d02be
Ford: higher curvature rate limits at low speed (#1394)
* use closer to EPS limits

* raise to upper bound of spread from injection plot

* more context

* slightly more accurate

* we've seen ~0.009 at 7 m/s, so allow that

* comment

* already high enough at high speed
2024-10-25 23:28:14 -07:00
Shane Smiskol 92da02f476
Ford: add long tuning back (#1413)
* add long tuning back

* try with radar

* Revert "try with radar"

This reverts commit 64c3e789e1.
2024-10-25 02:16:30 -07:00
Shane Smiskol 04bdb33df8
Ford: reduce brake step response overshooting (#1419)
clean up
2024-10-25 01:39:56 -07:00
Shane Smiskol c883a633a8 Ford: small cc clean up 2024-10-25 01:20:15 -07:00
Shane Smiskol 04b17b9346 Ford: log sent gas 2024-10-24 17:28:47 -07:00
Shane Smiskol af19a14bed
Ford: compensate pitch for brake actuation bit (#1418)
* compensate for pitch

* one variable
2024-10-24 17:27:36 -07:00
Shane Smiskol f0f28a43df Ford radar: add information about the Doppler coverage 2024-10-23 22:18:41 -07:00
Shane Smiskol b2339c542c Ford: remove TODO 2024-10-23 21:34:43 -07:00
Shane Smiskol f1dbcc8c4c
Ford: filter out close high coverage range radar points (#1415)
* no functional change, but later

* check correct radar configuration

* add comments

* temp

* clean up
2024-10-23 21:30:44 -07:00
Shane Smiskol 5aaad51107
Ford: set radar delay (#1416)
* set delay

* some tolerance

* better wording

* back
2024-10-23 21:22:50 -07:00
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