Commit Graph

371 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 90795fc773 reduce log spam (#20330)
* fix big spammers

* my favorite test failure

* remove that one

* went down a bit more
2021-03-12 11:45:29 -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
speedking456 e59f7e0540 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
2021-03-11 15:56:14 -08:00
Adeeb Shihadeh 62512d6265 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>
2021-03-10 17:02:31 -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
Willem Melching 476558b547 Process config cleanup (#20276)
* add enabled flag

* remove hack

* only prepare when enabled
2021-03-08 12:18:58 +01:00
Adeeb Shihadeh d54e4bd60a fix managed_processes for tests 2021-03-07 22:39:14 -08:00
Willem Melching 5a3b511306 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>
2021-03-05 11:03:23 +01: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 6b5a5bd180 remove build arg from manager prepare_managed_process (#20229) 2021-03-03 15:17:04 +01:00
Willem Melching 7dc4b22dae Set hyundai start accel 2021-03-03 12:07:12 +01:00
Greg Hogan 3055470f89 fix inject_model import 2021-02-23 13:24:37 -08: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
Andre Volmensky 11785fe321 Nissan altima (#2742)
* Altima port

* Add Nissan Altima 2020 to README.md

* Added Nissan Altima test route

* Fixed up checks
2021-02-19 23:27:55 -08: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
Adeeb Shihadeh 992e5bf01e script for CI env 2021-02-19 12:18:08 -08:00
Willem Melching f728edfd03 speed up log writing 2021-02-17 12:06:55 +01:00
Adeeb Shihadeh 312b681a46 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
2021-02-16 21:39:32 -08:00
Willem Melching dfa8649b6e onroad test: increase timeout waiting for logs 2021-02-16 18:08:23 +01:00
Willem Melching 7f239a5433 update ref after divide by zero fix 2021-02-16 11:54:09 +01:00
Adeeb Shihadeh b85a0f19f4 improve cpu usage test robustness (#20067)
* improve cpu usage test robustness

* more fix

Co-authored-by: Comma Device <device@comma.ai>
2021-02-11 15:15:05 -08:00
Adeeb Shihadeh fe7f3f0ec6 remove gpsd (#20027) 2021-02-10 16:39:39 -08: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
Julian Pieles 2e32f18d06 support for Nissan Leaf with ADAS ECU in alt location (instrument cluster) (#19619) 2021-02-05 11:04:45 -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
Adeeb Shihadeh 49d4d58201 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>
2021-02-01 15:15:29 -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
Jon8RFC 9c9add6094 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>
2021-01-26 17:08:09 +01:00
Willem Melching b6a220a133 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>
2021-01-26 14:49:55 +01:00
Adeeb Shihadeh 8d28fcf9da make onroad test more reliable 2021-01-25 22:06:33 -08:00
Samuel Keeley 962ad654ae 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
2021-01-23 18:43:59 -08:00
Adeeb Shihadeh 8b1e51bbdd tici jenkins build (#19505)
* tici jenkins

* /usr/bin/bash

* source all

* fix model replay

* onroad tests
2021-01-23 18:34:18 -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
Adeeb Shihadeh 297f59c0db don't need the client anymore 2021-01-17 14:32:44 -08:00