Commit Graph

155 Commits

Author SHA1 Message Date
Adeeb Shihadeh
cc29fdfed2 less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
old-commit-hash: 836668f105
2021-04-20 21:01:28 -07:00
Willem Melching
cca70e7b56 Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
old-commit-hash: aae849ea45
2021-04-20 14:01:59 +02:00
Joost Wooning
ff90b71c5c Add flag to process replay config to use real submaster (#20701)
old-commit-hash: ff813b6b45
2021-04-19 17:27:36 +02:00
Willem Melching
f4335a7dfe Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
old-commit-hash: 343fea2bf9
2021-04-14 11:25:43 +02:00
mahlzeit1948
8daa2f45c8 Fix Chrysler Pacifica weight (#20647)
* Update interface.py

2858 is the gross vehicle weight of the hybrid (maximum weight of vehicle + cargo).
Curb weight for the ICE is 1964 kg, for the hybrid it is 2242 kg

* hybrid & update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f6d800a89e
2021-04-11 17:18:31 -07:00
HaraldSchafer
3833a80305 MPC retune for laneless fix (#20616)
* was making wrong policy more aggresive

* allow to be set from simulator

* update refs

* put params together
old-commit-hash: 0e10b74a61
2021-04-08 12:56:47 -07:00
Adeeb Shihadeh
99b2c0d024 Alerts update (#20567)
* steer temp unavailable should be a soft disable

* no mute

* these should be no entries

* sound

* better name

* deprecated

* make vehicleModelInvalid a soft disable

* update refs

* bump cereal

* bump cereal

* update refs
old-commit-hash: 2fa1b2572d
2021-04-07 12:18:58 -07:00
HaraldSchafer
1d36adf351 no heading cost (#20594)
* no heading cost

* live mpc weight config

* need to add stds

* make work on empty data

* no divide by 0

* update refs

* update model replay

* update proc replat

* new model replay ref
old-commit-hash: d72d433ec7
2021-04-06 23:49:29 -07:00
Adeeb Shihadeh
7850141e1a lower min lane change speed to 30mph (#20586)
* lower min lane change speed to 30mph

* update refs
old-commit-hash: 2319d726fb
2021-04-05 15:38:53 -07:00
Jason Young
8df4311821 VW MQB: Update to Audi A3 Mk3 (#20489)
* Add A3 and A3 e-tron FPv2

* Update README

* Catch up with model renaming

* Trim duplicate FW values

* Add 2014 A3 (bankster)

* Update model-year range

* Revert more model name changes

* Revert more model name changes

* More FW for 2017 A3 e-tron (fastzeek)

* Update A3 models and packages in README

* Update A3 packages again

* AUDI_A3 -> AUDI_A3_MK3

* Update test route reference

* CAN valid should pass for VW now

* Update process_replay route

* Expand tested A3 range (we have known 2014-15,17)

* Revert "CAN valid should pass for VW now"

This reverts commit 73a4b4886f572045ada05cd13e60790ca3e17a94.

* revert route changes and update refs

* update refs again

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 48fa8ffb33
2021-03-30 14:49:46 -07:00
Jason Young
61a562c717 VW MQB: Misc bugfixes and cleanup (#20540)
* Add LDW->SWA signal pass-through

* GC currently unused ACC_06 and LDW_02 signal data

* Split out Jetta GLI

* Pass in camera CAN parser now that we use it

* GC unused CarController param, camelCase->PEP8

* CAN valid should pass for VW now

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e181fd7f0a
2021-03-30 13:59:17 -07:00
ZwX1616
42c3b55f00 also use e2e model output for DM policy (#20526)
* neg mining

* clean up format

* eyes less noisy

* update ref
old-commit-hash: 0fb00e10b1
2021-03-29 19:41:27 -07:00
Adeeb Shihadeh
5cfc42911b Remove lane change toggle and default LDW to off (#20442)
* remove lane change toggle and default LDW to off

* update refs
old-commit-hash: 43ce7165c4
2021-03-22 20:55:57 -07:00
HaraldSchafer
cf6c7cb2b8 Update locationd (#20410)
* this was too extreme

* unused import

* capnp wants bools

* update refs
old-commit-hash: 8bddaa7607
2021-03-19 17:12:34 -07:00
Willem Melching
e3d92dc714 verify safetyParam read back from PandaState (#20384)
* verify safetyParam read back from PandaState

* update ref

* bump panda
old-commit-hash: 3c23226edc
2021-03-17 14:20:05 +01:00
HaraldSchafer
c07a1ad57b Sane curvature rate limit in plannerd (#20366)
* safety limit

* should be in RADs

* add raw

* update refs
old-commit-hash: 27035131cc
2021-03-16 15:00:03 -07:00
Jason Young
8dfe080fea VW MQB: Updated message and signal data, round 2 (#20298)
* ACC_02 signal naming update

* Add conversion factor now that DBC scaling has changed

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1af35c3398
2021-03-15 15:09:09 -07:00
qadmus
56bc319a29 Add GM steering rate and EPS torque to CarState (#20319)
* Add GM steering rate and EPS torque to CarState

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad123714ba
2021-03-12 14:51:20 -08:00
Willem Melching
4bd1929d2b LateralPlanner should only compute curvature (#20289)
* get curvature from planner

* no need to check active

* remove that

* remove self

* liveParams not needed

* cast

* fix test bug

* fixes

* fix ui.py

* fix radians

* update refs

* update refs

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c23ec9f753
2021-03-11 21:08:51 -08:00
Jason Young
6becdc50e7 VW MQB: Use raw steering angle signal (#20247)
* Use raw instead of processed steering angle

* update ref commit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1813c72a76
2021-03-09 13:47:00 -08:00
Jason Young
d55b56aa46 VW MQB: Add support for blind spot monitoring radar (#20242)
* Get steering rate-change sign from the right signal

* Temp remove network-switching reference prior to upstream

* Additional description of BSM signals

* Simplify expression

* Typo

* Update ref_commit

* update refs after merge

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6129a92f38
2021-03-04 16:48:36 -08:00
Adeeb Shihadeh
aa194a3cbb VW: update process replay route (#20239)
* VW: update process replay route

* update refs
old-commit-hash: f3f44e43e6
2021-03-04 14:58:28 -08:00
Willem Melching
b424632540 Set hyundai start accel
old-commit-hash: 7dc4b22dae
2021-03-03 12:07:12 +01:00
HaraldSchafer
e88b2ecfeb Always linearize, better way of compensating for lag (#20133)
* need to divide diff by 2

* simple linearization seems to work best

* update refs
old-commit-hash: 8df76b3980
2021-02-23 12:56:12 +01:00
Adeeb Shihadeh
35f9355fcc fix apk after cereal cleanup (#20098)
* actually a percent

* update apk

* update refs
old-commit-hash: f28673e8b5
2021-02-19 12:19:29 -08:00
Willem Melching
c1b22bbdb5 update ref after divide by zero fix
old-commit-hash: 7f239a5433
2021-02-16 11:54:09 +01:00
HaraldSchafer
2f66f98523 fix low speed lateral (#20053)
* fix low speed lateral

* update ref

* fix failing CI jobs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0c900c8ce1
2021-02-09 15:36:58 -08:00
HaraldSchafer
0e6e652521 fix timestamps (#20029)
* fix timestamps

* nanoseconds

* update refs
old-commit-hash: b3a868103a
2021-02-08 22:15:05 -08:00
HaraldSchafer
5092214913 Different lag comp (#20024)
* more sensible

* different names for different segs

* new ref

* this is checked somewhere
old-commit-hash: c3707328f5
2021-02-05 14:01:22 -08:00
HaraldSchafer
61b3840c7f camera offsets (#20022)
* camera offsets

* runs on pc so is 0 in proc replay
old-commit-hash: bad68e4663
2021-02-04 15:50:53 -08:00
Adeeb Shihadeh
966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
old-commit-hash: 000bd226aa
2021-02-03 19:57:30 -08:00
HaraldSchafer
f4e94524d4 Remove curv factor (#20011)
* cleaning crew

* need that to match

* smooth factor

* that didn't really work

* closer to previous

* new ref

* new names
old-commit-hash: 61a4e3e661
2021-02-03 17:51:21 -08:00
HaraldSchafer
8fc39f52c8 Deal with long lag compensation (#20004)
* add hack for big lags

* wrong bracket

* new pathplanner values
old-commit-hash: 3f2b42b4e3
2021-02-02 17:09:01 -08:00
ZwX1616
e961d9b64c pyTorch DM (#19760)
* new model files

* no more rot

* no rot no diag switch

* should be correct and cache aware

* 405d7aeb

* parse new outputs

* change uncertain policy accordingly

* 1bdbd9ed

* adjust

* 0.5 is fine

* 3d4f9cab

* no face prob no loss

* clean up

* clean up test

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8605ba8ab9
2021-01-28 14:02:58 -08:00
HaraldSchafer
5794b3a053 not relevant at high speed (#19946)
* not relevant at high speed

* update ref
old-commit-hash: d1b31d3697
2021-01-27 20:28:17 -08:00
Harald Schafer
b4f3a03518 new ref for rateSteers fix
old-commit-hash: 39e3672e82
2021-01-26 15:33:31 -08:00
HaraldSchafer
5c2c6691b2 remove old model packet (#19769)
* remove publisher

* move to V2

* radard new model

* fix plant

* change packety

* need hack here too

* change to new

* this has been wrong all along

* no more model msg

* subscribe to new model

* not needed anymore

* make work

* need to ignore that too

* should pass tests, needs car test

* fix process replay

* no more poly

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 124100d0fa
2021-01-19 17:15:16 -08:00
Adeeb Shihadeh
f79d64f98e update refs for new dMonitoringState field
old-commit-hash: 9d11f3e3b5
2021-01-19 15:47:36 -08:00
Adeeb Shihadeh
77817dbd50 update VW and nissan test routes
old-commit-hash: 13ea3ccf6d
2021-01-19 14:22:50 -08:00
HaraldSchafer
7af6dab1e8 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
old-commit-hash: 0e49919ab9
2021-01-19 00:02:53 -08:00
HaraldSchafer
61c5e9e690 Update Subaru and GM test routes (#19828)
* 2 more

* update refs

* note?

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a4098d7bb0
2021-01-18 15:54:02 -08:00
HaraldSchafer
94b1be1ec9 back to open loop (#19781)
old-commit-hash: bf5332c491
2021-01-16 13:43:30 -08:00
Harald Schafer
f4b4c9556e changing lag changes this
old-commit-hash: 5333e64233
2021-01-14 22:33:43 -08:00
HaraldSchafer
c6d9b9565a Mpc rework2 (#19660)
* start again

* need that too

* this actually works

* not needed

* do properly

* still works

* still works

* still good

* all G without ll

* still works

* all still good

* cleanup building

* cleanup sconscript

* new lane planner

* how on earth is this silent too....

* update

* add rotation radius

* update

* pathplanner first pass

* misc fixes

* fix

* need deep_interp

* local again

* fix

* fix test

* very old

* new replay

* interp properly

* correct length

* another horrible silent bug

* like master

* fix that

* do doubles

* different delay compensation

* make robust to empty msg

* make pass with hack for now

* add some extra

* update ref for increased leg

* test cpu usage on this pr

* tiny bit faster

* purge numpy

* update ref

* not needed

* ready for merge

* try again after recompile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 158210cde8
2021-01-14 18:43:50 -08:00
Greg Hogan
e712e6d3af hyundai: increase steering angle limit for custom eps fw (#19744)
* hyundai: increase steering angle limit for custom eps fw

* update commit_ref
old-commit-hash: 2da6bb482e
2021-01-14 13:09:23 -08:00
HaraldSchafer
3b911d61bc Extra test segs (#19749)
* new routes

* update refs

* new ref
old-commit-hash: 95eb5b6fcb
2021-01-13 21:56:29 -08:00
Harald Schafer
4de365d706 new ref commit
old-commit-hash: 300602d6ba
2021-01-13 15:32:17 -08:00
HaraldSchafer
9c8660d0e2 Test segs 08 (#19701)
* start updating routes

* update that too

* new ref commit

* try again
old-commit-hash: 307ba858db
2021-01-08 16:39:47 -08:00
Willem Melching
c4e9fd7244 bump cereal and update ref
old-commit-hash: 9480152858
2021-01-07 15:56:29 +01:00
Igor
8bc42f4aff Parametrize startingBrakeRate (#19511)
* Parametrize startingBrakeRate

* new ref_commit
old-commit-hash: 717bc747c3
2020-12-16 20:58:07 +01:00