Commit Graph

1498 Commits

Author SHA1 Message Date
Shane Smiskol df8fe2299a
Ford: enable long by default (#1446)
* enable by default

* whoops
2024-11-06 14:56:22 -08:00
Lukas 54e2d7d190
Tesla: add missing parameter (#1445)
add missing parameter
2024-11-06 10:32:02 -08:00
Greg Hogan a1dee3177d
tesla: fix standstill (#1444) 2024-11-05 08:51:59 -08:00
Shane Smiskol cf2f64f386
[bot] Car docs: update model years from new users (#1443)
Update car docs
2024-11-04 14:09:18 -08:00
Shane Smiskol 1d9c89a504
[bot] Fingerprints: add missing FW versions from new users (#1442)
Export fingerprints
2024-11-04 13:40:13 -08:00
Shane Smiskol 472c62e386
CANParser: only filter bus (#1436)
only bus filter
2024-11-01 22:07:43 -07:00
Dean Lee 788a2db47a
CANParser: expose `MessageState` to Cython to eliminate data copying (#1382)
* Expose MessageState to Cython to Eliminate Data Copying

* not needed?

* great, can finally get rid of this confusion!

* getter

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-11-01 21:37:23 -07:00
Dean Lee fa5e7619bc
CANParser: Initialize value dicts directly from DBC Msg (#1381)
* init dict in __init__

* comment

* 0.0

* test all transitions

* this is more important and test same thing

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-11-01 21:11:48 -07:00
Dean Lee a84fe18918
CANParser: filter CAN messages by bus and addresses (#1383)
* filter CAN messages by relevant addresses

* no difference

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-11-01 17:44:56 -07:00
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