Commit Graph

130 Commits

Author SHA1 Message Date
Willem Melching c1b22bbdb5 update ref after divide by zero fix
old-commit-hash: 7f239a5433133db2e8ad40766e0ddb754dbe5cea
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: 0c900c8ce11409ddf574f5b7ff7bbab8b5536c36
2021-02-09 15:36:58 -08:00
HaraldSchafer 0e6e652521 fix timestamps (#20029)
* fix timestamps

* nanoseconds

* update refs
old-commit-hash: b3a868103a479aad2d4f787e16ba6f1828897104
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: c3707328f51c4cec051b375a195b41d7456d27a6
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: bad68e466316a75f3c7b34c4e6f911f33e01b1c0
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: 000bd226aa9902da01e6010bf26762fca2c20df0
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: 61a4e3e66179c731aee9d631675c23936d7da7fb
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: 3f2b42b4e3527b9575f0a385079bfa8869b12581
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: 8605ba8ab95bfe1edea69c648ccef4ea0c9f911e
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: d1b31d3697d1169fed8c0d2330d48f57fdb07d15
2021-01-27 20:28:17 -08:00
Harald Schafer b4f3a03518 new ref for rateSteers fix
old-commit-hash: 39e3672e828985853abc70cd8d7ef39b83d44c7c
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: 124100d0fa42485edaf86cb25f77f27e8917eed1
2021-01-19 17:15:16 -08:00
Adeeb Shihadeh f79d64f98e update refs for new dMonitoringState field
old-commit-hash: 9d11f3e3b5540e0f40c5515603a4b64ea0afb708
2021-01-19 15:47:36 -08:00
Adeeb Shihadeh 77817dbd50 update VW and nissan test routes
old-commit-hash: 13ea3ccf6dd2108d16e2d520c8e1b3bf9bf7851d
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: 0e49919ab99b9cb85c5df271de5145e388d756ad
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: a4098d7bb0a0f82bad0c4ab78bade8eed413e6d7
2021-01-18 15:54:02 -08:00
HaraldSchafer 94b1be1ec9 back to open loop (#19781)
old-commit-hash: bf5332c4918c2340126cada543b9068fea731716
2021-01-16 13:43:30 -08:00
Harald Schafer f4b4c9556e changing lag changes this
old-commit-hash: 5333e64233d97297c79c21f75570c9050cadeaf1
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: 158210cde8e689daa04bcaa1e502727cf7bfddb6
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: 2da6bb482e37c3c75982521d7c4f6698034d9579
2021-01-14 13:09:23 -08:00
HaraldSchafer 3b911d61bc Extra test segs (#19749)
* new routes

* update refs

* new ref
old-commit-hash: 95eb5b6fcb17b89844f9f880b33f9be22d4ec7df
2021-01-13 21:56:29 -08:00
Harald Schafer 4de365d706 new ref commit
old-commit-hash: 300602d6ba6ae9192884777c61de6257ef9b7dad
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: 307ba858db376003f9bad3ed0db9786d84a2adff
2021-01-08 16:39:47 -08:00
Willem Melching c4e9fd7244 bump cereal and update ref
old-commit-hash: 94801528586489a4da309018459230d761c0b41d
2021-01-07 15:56:29 +01:00
Igor 8bc42f4aff Parametrize startingBrakeRate (#19511)
* Parametrize startingBrakeRate

* new ref_commit
old-commit-hash: 717bc747c32114df13e8334eeb591f9ca289a034
2020-12-16 20:58:07 +01:00
Willem Melching 494353099b set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai

* update ref

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

* ref_commit updated
old-commit-hash: d3c2a0e6c1e898b08570dd0a9b1eef12934f6c9a
2020-12-11 16:30:35 +01:00
Igor 95bb79c51c 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>
old-commit-hash: 093456cc40f2bafac6a36491cac8e57db42ee9e5
2020-12-04 11:09:34 +01:00
HaraldSchafer c4d50c0bf0 preinit locationd filter (#2569)
* preinit

* update ref commit
old-commit-hash: 9f5dfb74f97cc8cdd1e0d25055ebc98ca9f5ee79
2020-11-19 15:14:35 -08:00
ZwX1616 3da8dc9b25 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>
old-commit-hash: d8fea41b2af0de53d649612513535d9f9595c088
2020-11-12 17:30:33 -08:00
ZwX1616 b0bb9daf21 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>
old-commit-hash: faf8b1fd826575c179e6442d5f4f1055eeecb11c
2020-11-11 14:24:32 -08:00
HaraldSchafer b7ae2e9e85 Fix lane width (#2520)
* use prob modifiers in lane width calc

* update ref

* update ref
old-commit-hash: f7d1ace8836e02689d344561586e966758e99d23
2020-11-10 21:12:36 -08:00
HaraldSchafer 4bd3ffa94b No uncertain ll (#2495)
* initial, needs tune

* support metrics

* a little more

* wrong type

* fixup

* update refs
old-commit-hash: 26583b1b85cfe496300ab61310c3489b542ecead
2020-11-06 21:01:16 -08:00
HaraldSchafer fcb995e19c set y too (#2448)
* set y too

* new ref
old-commit-hash: e6668625fa8c0dec0277a87ce3d5bfad4a1a55a6
2020-11-04 19:52:05 -08:00
Adeeb Shihadeh 6e078827b3 check for safety mode mismatch (#2443)
old-commit-hash: 89d02dcf97d60585f9c627f11fdd75387d632b83
2020-11-04 11:12:15 -08:00
Adeeb Shihadeh f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh 68b4380545 update process replay test routes (#2482)
* update bosch route

* update rfs

* bump refs
old-commit-hash: 37959207502c366d783972243a0d02f6ba0a91df
2020-11-03 18:44:35 -08:00
Adeeb Shihadeh 2e5247056a ubuntu 16.04 -> 20.04 (#2378)
old-commit-hash: 719c5e3598846a6f3fa08c85bb811d197e0c6d0a
2020-10-29 16:51:09 -07:00
Adeeb Shihadeh e94809f5bd add cars with LQR and INDI lat control to process replay (#2363)
* add cars that use LQR and INDI lat control to process replay

* bump ref commit
old-commit-hash: 516da927f9a1f04be4cbc281bc1b3c73092a4a36
2020-10-19 21:18:50 -07:00
Adeeb Shihadeh 8531345bf9 HKG fixups (#2342)
* fix hyundai blinker state

* consistency with update_speed

* update refs

* make hyundai resume reliable

* update refs

* 20 works

* don't need that

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 725e3b78ea1baaefa6795116c582a63c7a61686b
2020-10-14 18:27:27 -07:00
Adeeb Shihadeh aea2faaa98 Alert cleanup (#2274)
* no more focus recover active

* consistency

* more permanent

* dm alerts

* sanity check test

* no please

* clean that up

* update refs

* one more

* bump cereal
old-commit-hash: ae4b4bd1256c11153035e4236cd801738f135c51
2020-10-14 15:56:18 -07:00
Adeeb Shihadeh 5dc58abbbe clear irrelevant alerts on state transition (#2318)
* cleanup

* clear warnings

* more types

* needs refactor

* update refs

* update refs
old-commit-hash: 1c6905cac1c5b4528e60dac3279357959c2e2bc3
2020-10-14 14:08:15 -07:00
grekiki 83b7ec3ce1 Process replay for C++ daemons (#2288)
* more like a stash

* mem

* comment cpp

* remove some tests

* WORKSpython test_processes.py python test_processes.py

* all tests work, time to clean up

* initialize cleanup

* fix spaces

* refactor

* Update selfdrive/test/process_replay/process_replay.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* revert debug change

* mini refactor

* remove submaster

* update README

* add delay

* check for missaligned start

* Update compare_logs.py

* should finally work now, I hope...

* update comment

* real fix

* real fix now

* fix styling

* fix styling

* Update process_replay.py

* fix code review

* speed up tests

* Update selfdrive/test/process_replay/process_replay.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/test/process_replay/process_replay.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* fix reviews

* nicer code

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 870644b59eb61953b3355a3938cc272927708dfa
2020-10-12 11:18:53 +02:00
Willem Melching 416bc987f5 Fix calibration invalid alert on startup (#2270)
* change controlsd calibration initial value

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3f88df62c76ee91deda15063bb2803f391c3912e
2020-10-05 19:16:52 -07:00
ZwX1616 a9d6c98aa4 Reduced wheel touch time (#2259)
* decrease wheel touch time

* update refs

* fix unittest

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 21d4ac1eebba06769f03edf7220ce84bd6ae154d
2020-10-05 14:39:24 -07:00
Adeeb Shihadeh 6c39de6c92 Increase HKG torque limit (#2249)
* increase hkg torque limit

* update refs

* bump panda
old-commit-hash: 67aec50b88cf1a65ae44940a4594d893a384bbc6
2020-10-01 13:16:51 -07:00
ZwX1616 6f3c2fba6e Cut down unnecessary DM uncertain alerts (#2157)
* cut down high std alerts

* clean comments

* uncertain curve tune

* update test gt

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a2adfdb155f2293d9a2e7be11e81af8c020f011b
2020-09-14 10:43:19 -07:00
Adeeb Shihadeh 64a9728f2e Reduce paramsd and calibrationd CPU usage (#2119)
* reduce paramsd cpu

* reduce calibrationd cpu usage

* calibration_helpers was mostly unused

* more calibration cleanup

* update refs

* fix thresholds in CPU test
old-commit-hash: e0004d09810d9c3bcb8681bca110bf5bbd09445a
2020-09-10 12:16:29 -07:00
Adeeb Shihadeh 5b9466a76e hide camera view when in reverse (#2144)
* partially hide camera view when in reverse

* lowest priority

* update ref commit

* fix type

* update refs
old-commit-hash: 9cd88526b513250aae592761a4d554a0eae4acc0
2020-09-09 00:11:12 -07:00
Adeeb Shihadeh 4706f05fe9 update refs after new alert
old-commit-hash: 5838a88a3f3a22a7afac1058e3c2f2f28b73fdf5
2020-09-04 14:09:26 -07:00