Commit Graph

137 Commits

Author SHA1 Message Date
ZwX1616
0fb00e10b1 also use e2e model output for DM policy (#20526)
* neg mining

* clean up format

* eyes less noisy

* update ref
2021-03-29 19:41:27 -07:00
Adeeb Shihadeh
43ce7165c4 Remove lane change toggle and default LDW to off (#20442)
* remove lane change toggle and default LDW to off

* update refs
2021-03-22 20:55:57 -07:00
HaraldSchafer
8bddaa7607 Update locationd (#20410)
* this was too extreme

* unused import

* capnp wants bools

* update refs
2021-03-19 17:12:34 -07:00
Willem Melching
3c23226edc verify safetyParam read back from PandaState (#20384)
* verify safetyParam read back from PandaState

* update ref

* bump panda
2021-03-17 14:20:05 +01:00
HaraldSchafer
27035131cc Sane curvature rate limit in plannerd (#20366)
* safety limit

* should be in RADs

* add raw

* update refs
2021-03-16 15:00:03 -07:00
Jason Young
1af35c3398 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>
2021-03-15 15:09:09 -07:00
qadmus
ad123714ba 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>
2021-03-12 14:51:20 -08:00
Willem Melching
c23ec9f753 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>
2021-03-11 21:08:51 -08:00
Jason Young
1813c72a76 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>
2021-03-09 13:47:00 -08:00
Jason Young
6129a92f38 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>
2021-03-04 16:48:36 -08:00
Adeeb Shihadeh
f3f44e43e6 VW: update process replay route (#20239)
* VW: update process replay route

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

* simple linearization seems to work best

* update refs
2021-02-23 12:56:12 +01:00
Adeeb Shihadeh
f28673e8b5 fix apk after cereal cleanup (#20098)
* actually a percent

* update apk

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

* update ref

* fix failing CI jobs

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

* nanoseconds

* update refs
2021-02-08 22:15:05 -08:00
HaraldSchafer
c3707328f5 Different lag comp (#20024)
* more sensible

* different names for different segs

* new ref

* this is checked somewhere
2021-02-05 14:01:22 -08:00
HaraldSchafer
bad68e4663 camera offsets (#20022)
* camera offsets

* runs on pc so is 0 in proc replay
2021-02-04 15:50:53 -08:00
Adeeb Shihadeh
000bd226aa Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
2021-02-03 19:57:30 -08:00
HaraldSchafer
61a4e3e661 Remove curv factor (#20011)
* cleaning crew

* need that to match

* smooth factor

* that didn't really work

* closer to previous

* new ref

* new names
2021-02-03 17:51:21 -08:00
HaraldSchafer
3f2b42b4e3 Deal with long lag compensation (#20004)
* add hack for big lags

* wrong bracket

* new pathplanner values
2021-02-02 17:09:01 -08:00
ZwX1616
8605ba8ab9 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>
2021-01-28 14:02:58 -08:00
HaraldSchafer
d1b31d3697 not relevant at high speed (#19946)
* not relevant at high speed

* update ref
2021-01-27 20:28:17 -08:00
Harald Schafer
39e3672e82 new ref for rateSteers fix 2021-01-26 15:33:31 -08:00
HaraldSchafer
124100d0fa 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>
2021-01-19 17:15:16 -08:00
Adeeb Shihadeh
9d11f3e3b5 update refs for new dMonitoringState field 2021-01-19 15:47:36 -08:00
Adeeb Shihadeh
13ea3ccf6d update VW and nissan test routes 2021-01-19 14:22:50 -08:00
HaraldSchafer
0e49919ab9 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
2021-01-19 00:02:53 -08:00
HaraldSchafer
a4098d7bb0 Update Subaru and GM test routes (#19828)
* 2 more

* update refs

* note?

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-18 15:54:02 -08:00
HaraldSchafer
bf5332c491 back to open loop (#19781) 2021-01-16 13:43:30 -08:00
Harald Schafer
5333e64233 changing lag changes this 2021-01-14 22:33:43 -08:00
HaraldSchafer
158210cde8 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>
2021-01-14 18:43:50 -08:00
Greg Hogan
2da6bb482e hyundai: increase steering angle limit for custom eps fw (#19744)
* hyundai: increase steering angle limit for custom eps fw

* update commit_ref
2021-01-14 13:09:23 -08:00
HaraldSchafer
95eb5b6fcb Extra test segs (#19749)
* new routes

* update refs

* new ref
2021-01-13 21:56:29 -08:00
Harald Schafer
300602d6ba new ref commit 2021-01-13 15:32:17 -08:00
HaraldSchafer
307ba858db Test segs 08 (#19701)
* start updating routes

* update that too

* new ref commit

* try again
2021-01-08 16:39:47 -08:00
Willem Melching
9480152858 bump cereal and update ref 2021-01-07 15:56:29 +01:00
Igor
717bc747c3 Parametrize startingBrakeRate (#19511)
* Parametrize startingBrakeRate

* new ref_commit
2020-12-16 20:58:07 +01:00
Willem Melching
9cd7a7c14b set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai

* update ref

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
2020-12-14 16:11:32 +01:00
Igor
d3c2a0e6c1 Parametrize stoppingBrakeRate (#2745)
* Parametrize stoppingBrakeRate

* ref_commit updated
2020-12-11 16:30:35 +01:00
Igor
093456cc40 Parametrize MIN_CAN_SPEED in car interfaces (#2684)
* Parametrize MIN_CAN_SPEED in car interfaces

* fixed instance in planner.py

* fix typo

* var name change

* changed var name to minSpeedCan for consistency with other uses of CAN in the capnproto files

* added default value to get_std_params, removed unneeded instances from car interface files

* Revert PEP8 autoformat corrections

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-12-04 11:09:34 +01:00
HaraldSchafer
9f5dfb74f9 preinit locationd filter (#2569)
* preinit

* update ref commit
2020-11-19 15:14:35 -08:00
ZwX1616
d8fea41b2a use enabled flag from controlsState instead of carState (#2518)
* use enabled from controls instead of carstate

* update process replay

* rm

* fix long test

* update reff

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-11-12 17:30:33 -08:00
ZwX1616
faf8b1fd82 continued: Update DM awareness times (#2527)
* Gets us 6 seconds before making sound (up from 2s; 9s originally)

* Average last two awareness times

* This alert shows up every ~20 seconds, distracting

* Revert "Average last two awareness times"

This reverts commit 2fd7e7a44c708039e1692dcc14ee913ef88bb37e.

* update ref

* update test

* update ref

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2020-11-11 14:24:32 -08:00
HaraldSchafer
f7d1ace883 Fix lane width (#2520)
* use prob modifiers in lane width calc

* update ref

* update ref
2020-11-10 21:12:36 -08:00
HaraldSchafer
26583b1b85 No uncertain ll (#2495)
* initial, needs tune

* support metrics

* a little more

* wrong type

* fixup

* update refs
2020-11-06 21:01:16 -08:00
HaraldSchafer
e6668625fa set y too (#2448)
* set y too

* new ref
2020-11-04 19:52:05 -08:00
Adeeb Shihadeh
89d02dcf97 check for safety mode mismatch (#2443) 2020-11-04 11:12:15 -08:00
Adeeb Shihadeh
47c21f10f5 grey panda is unsupported (#2458) 2020-11-03 19:56:25 -08:00