Commit Graph

413 Commits

Author SHA1 Message Date
speedking456 e9a1dcf431 Kia Seltos 2021 (#20321)
* Update hyundaican.py

* Update carcontroller.py

* Update interface.py

* Update values.py

* Update interface.py

* Update interface.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update interface.py

* Update values.py

* Update values.py

* Merge 4 conflict resolution

* Update README.md

* Update test_car_models.py

* Update values.py
old-commit-hash: e59f7e05405c0353bf635be7151be1dcba1bd7c2
2021-03-11 15:56:14 -08:00
Adeeb Shihadeh 2d5e91925d Kia Ceed 2019 (#20283)
* Update values.py

* Update interface.py

* Update values.py

* Update README.md

* Update README.md

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

* Update test_car_models.py

* Update test_car_models.py

* passes tests

* only fw

* add to release notes

* move that

* send lfa mfa

Co-authored-by: ZanZaD13 <65367004+ZanZaD13@users.noreply.github.com>
old-commit-hash: 62512d6265ee8039f48dc482a160c6fb2d58045c
2021-03-10 17:02:31 -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: 1813c72a76856a01f21a6ac8551da656e7440718
2021-03-09 13:47:00 -08:00
Willem Melching c993097393 Process config cleanup (#20276)
* add enabled flag

* remove hack

* only prepare when enabled
old-commit-hash: 476558b547a4747119819f9684baa81c61c86e97
2021-03-08 12:18:58 +01:00
Adeeb Shihadeh 3ed4ffbc30 fix managed_processes for tests
old-commit-hash: d54e4bd60af4b589f3bd8d35000570962a5331cc
2021-03-07 22:39:14 -08:00
Willem Melching c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

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

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01: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: 6129a92f38a7256cda5e1785ded784ab1d937df5
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: f3f44e43e6c8fc3b70011a2364730d5f5b43f94c
2021-03-04 14:58:28 -08:00
Willem Melching 8ca071310a remove build arg from manager prepare_managed_process (#20229)
old-commit-hash: 6b5a5bd180383782445f58f40511dfd03ef8b5ea
2021-03-03 15:17:04 +01:00
Willem Melching b424632540 Set hyundai start accel
old-commit-hash: 7dc4b22dae50c727e8c270fe03344c6e3af2ab29
2021-03-03 12:07:12 +01:00
Greg Hogan 8c67112b4a fix inject_model import
old-commit-hash: 3055470f899d59e63c4c53abeaf8d9bd111e404b
2021-02-23 13:24:37 -08: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: 8df76b398021827c18b19a4d1437b671dd859223
2021-02-23 12:56:12 +01:00
Andre Volmensky 465f57f2db Nissan altima (#2742)
* Altima port

* Add Nissan Altima 2020 to README.md

* Added Nissan Altima test route

* Fixed up checks
old-commit-hash: 11785fe32170a1394e09eed26f0868697ecea3fd
2021-02-19 23:27:55 -08:00
Adeeb Shihadeh 35f9355fcc fix apk after cereal cleanup (#20098)
* actually a percent

* update apk

* update refs
old-commit-hash: f28673e8b50e6328bfc661fb70ae323aa3a57f29
2021-02-19 12:19:29 -08:00
Adeeb Shihadeh 5f50316d89 script for CI env
old-commit-hash: 992e5bf01e3064cdc0a2fca371f671cf040cadb3
2021-02-19 12:18:08 -08:00
Willem Melching d8da956f0d speed up log writing
old-commit-hash: f728edfd0354f78cf8db99cf801f826fe22712f5
2021-02-17 12:06:55 +01:00
Adeeb Shihadeh 05eb44115e cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
old-commit-hash: 312b681a46b8153314a8420611b6479dd6f70dfc
2021-02-16 21:39:32 -08:00
Willem Melching 159ba626a8 onroad test: increase timeout waiting for logs
old-commit-hash: dfa8649b6eac4b60b7cceac0b74d5b4e3d7a99c3
2021-02-16 18:08:23 +01:00
Willem Melching c1b22bbdb5 update ref after divide by zero fix
old-commit-hash: 7f239a5433133db2e8ad40766e0ddb754dbe5cea
2021-02-16 11:54:09 +01:00
Adeeb Shihadeh 7d17f54040 improve cpu usage test robustness (#20067)
* improve cpu usage test robustness

* more fix

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b85a0f19f4062ed74a9b53f6b58b38bca04f5f6e
2021-02-11 15:15:05 -08:00
Adeeb Shihadeh af95c26b26 remove gpsd (#20027)
old-commit-hash: fe7f3f0ec6b66e42b26451e180e3cde241e749bb
2021-02-10 16:39:39 -08: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
Julian Pieles ba082ebe50 support for Nissan Leaf with ADAS ECU in alt location (instrument cluster) (#19619)
old-commit-hash: 2e32f18d064dcaf022277b46e5d1801da59145c9
2021-02-05 11:04:45 -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
Adeeb Shihadeh 88566ec71c logcatd bugfix + tests (#19689)
* hack to exit cleanly

* move the hack

* add test

* run in ci

* unused

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49d4d5820190836d32089c3e79a2e47a02e7ce36
2021-02-01 15:15:29 -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
Jon8RFC e9b2f0399d 2018 Hyundai Sonata (#19915)
* 2018 Sonata

* Refactor SONATA_2019 to SONATA_LF

For future support of 2016-2019 Sonata Limited Ultimate vehicles.

* Refactor SONATA_2019 to SONATA_LF

For future support of 2016-2019 Sonata Limited Ultimate vehicles.

* Add 2018 Sonata fingerprints

Add FPv1 and FPv2 fingerprints for 2018 Sonata Limited Ultimate (SCC+LKAS)
Refactor SONATA_2019 to SONATA_LF (LF = 2014-2019 Sonatas) for future support of 2016-2019 Sonata Limited Ultimate vehicles.

* remove 2018 Sonata FPv1

* Revert change to car name string

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9c9add60949c28345db6b316135113e34564dc44
2021-01-26 17:08:09 +01:00
Willem Melching 9d1220b117 manager.py broadcast process states (#19880)
* broadcast managerstate

* Remove boardd

* show alert

* only trigger on actually receiving a manager state

* add managerstate to simulation exclude for longitudinal test

* broadcast managerState in process replay

* update alert text

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b6a220a133640c24fc596f6c3b181f5d0dd921a2
2021-01-26 14:49:55 +01:00
Adeeb Shihadeh 93c2c0784f make onroad test more reliable
old-commit-hash: 8d28fcf9da4d6527eadc5add020e11edf26895d6
2021-01-25 22:06:33 -08:00
Samuel Keeley bb3baf30f4 Audi A3 8v support (#19873)
* audi a3 8v support

* segment

* AUDI -> VOLKSWAGEN

* remove comment

* remove values

* remove from test_models

* update readme, only tested on 2015

* replace with a route which was running this code

* empty commit to make tests run

* try one which is definitely uploaded

* A3 -> AUDI_A3
old-commit-hash: 962ad654aede31fd7c11e91bef4486a2d22010d7
2021-01-23 18:43:59 -08:00
Adeeb Shihadeh 7a47f65f6c tici jenkins build (#19505)
* tici jenkins

* /usr/bin/bash

* source all

* fix model replay

* onroad tests
old-commit-hash: 8b1e51bbdd9bd8a0e7c6ee81cd0e60f8a0d48ecb
2021-01-23 18:34:18 -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
Adeeb Shihadeh 0c17887c12 don't need the client anymore
old-commit-hash: 297f59c0db1f14bf5f9258dd5d3e555bde974725
2021-01-17 14:32:44 -08:00
Adeeb Shihadeh 9e1f524965 On-device onroad CI test (#19792)
* start onroad test

* cpu usage test works

* nice print

* run in jenkins

* pretty reliable

* bump loggerd cpu usgae

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5a9769020d7031e31a7b80bfea0245a0b0fa238d
2021-01-16 18:11:53 -08:00
HaraldSchafer 94b1be1ec9 back to open loop (#19781)
old-commit-hash: bf5332c4918c2340126cada543b9068fea731716
2021-01-16 13:43:30 -08:00
Adeeb Shihadeh 386ca29c6a reenable cpu usage test
old-commit-hash: def24ae27ad4cd5948731770745d5039f20ffcf2
2021-01-15 14:22:25 -08:00
Harald Schafer f4b4c9556e changing lag changes this
old-commit-hash: 5333e64233d97297c79c21f75570c9050cadeaf1
2021-01-14 22:33:43 -08:00
Harald Schafer 110605a723 fix tests
old-commit-hash: 61b7527b95d7a573a8c11ff8c260a4f01cc15113
2021-01-14 21:46:01 -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