Commit Graph

641 Commits

Author SHA1 Message Date
HaraldSchafer 0512c89d34 various cleanup (#22289)
old-commit-hash: cc6af379ce0930ec3b635fda9d441654d2ac0c03
2021-09-20 16:26:10 -07:00
Jason Young b70c64d0d4 VW MQB: Volkswagen Transporter/California T6.1 (#22283)
* VW MQB: Volkswagen Transporter/California T6.1

* reformat values

* update CARS

* add test route

* assume SWB for now

* Update RELEASES

* update platform comments
old-commit-hash: 869ae44ad34c6ff48eaa82b401b7704b44811928
2021-09-20 13:41:39 -07:00
HaraldSchafer bc1882e3fb More extreme lead init for lead mpc (#22273)
* More harsh lead init for lead mpc

* update refs
old-commit-hash: 7495100177acd53f06e553a49207b8413db9e2e2
2021-09-20 09:35:55 -07:00
Harald Schafer f7357312a5 update ref for mpc lead accel clip
old-commit-hash: 32c57fee057d1fd4348ca3b21cd722cf1f43560a
2021-09-18 22:35:11 -07:00
Vivek Aithal 5359f183aa locationd: modify factor for measurement STDEV in gps update (#22262)
* modify factor for measurement STDEV in gps update

* add new ref_commit
old-commit-hash: 3778592f5049e53b06d1fd6b11e08f59c6fee42a
2021-09-17 22:33:46 -07:00
HaraldSchafer e190dfaf13 Dont run plannerd for long tests (#22260)
old-commit-hash: f0be9a57ac1cf4931d7ebbfeb80a25e5d185167b
2021-09-16 20:45:13 -07:00
HaraldSchafer 97e5c25f13 Add stopping for stopped car tests (#22250)
* add stopping for stopped car tests

* too extreme
old-commit-hash: 2c04176b5fd469ac7ed00b69859f4caad89a22b5
2021-09-16 20:05:09 -07:00
Adeeb Shihadeh b41c5e2393 temporarily relax camerad timings
old-commit-hash: 174aa908bae042f1cfee27e10540c1b7e607aef3
2021-09-15 19:26:20 -07:00
HaraldSchafer 2d4b64ed04 Acados long fast (#22233)
* acados long

* new ref

* SPPEEEEEDDD

* less iterations

* this shouldn't be so high

* reset only essentials

* minimal reset for long mpc

* more cpu usage plannerd

* Use lead mpc even when going to crash

* reset to current state

* Use open loop speed for lead mpc

* 1 iteration is too little for cruise mpc

* add whitespace

* update refs
old-commit-hash: 66c275b71128355d634d4daf0f5c18891d4fb047
2021-09-15 19:00:12 -07:00
Harald Schafer 985593f21a add model exec time printout
old-commit-hash: aed91c5906aff71b908aeb2279972dd474f51b21
2021-09-15 11:41:18 -07:00
Jason Young 2712607627 VW MQB: Škoda Kamiq Mk1 (#22240)
* VW MQB: Škoda Kamiq Mk1

* footnote about the China market Kamiq
old-commit-hash: b7e74f3b241e33990bacb7ff0ce9f26badc624bf
2021-09-15 11:29:37 -07:00
Willem Melching d688b62c62 Add upper/lower bounds for longitudinal lag (#22235)
* Add upper/lower bounds for longitudinal lag

* add ref

* update ref

* bump cereal

* bump cereal
old-commit-hash: 417e229624583a3a618aaf7fe6bd48162dfc35b6
2021-09-14 18:57:16 -07:00
HaraldSchafer 8877772a95 Less QP iterations for lateral acados (#22231)
* Less QP iterations for lateral acados

* update ref
old-commit-hash: 96a8f8a831a2e72e195d5b384723644e8499c531
2021-09-14 13:55:30 -07:00
John Belmonte a84744e158 Honda carstate: use common gas pedal signal (#22010)
* Honda carstate: refactor GAS_PEDAL handling

* collapse SCM signal cases

* stop using CAR_GAS signal (combined user pedal + computer)

* cleanup

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f07e1ae99ebce1e809fb4a07ef39f4b0ca1bcc5a
2021-09-13 22:41:50 -07:00
Willem Melching a8ce1288fd Hyundai longitudinal prerequisites (#22121)
* panda

* bring over changes

* dont check car model

* remove comment

* fix typo

* more stuff gated behind long

* not

* not used

* gate that too

* try honda tuning

* clip accel values

* fix up merge

* fix stopping

* add retry logic around knockout

* increase timeout

* keep flipping lead bit

* true for now

* less tuning

* update comment

* 0.1 s is fine now

* merge honda and hyundai knockout

* more lead fields

* another obj bit

* increase timeout

* fix stopping flag

* only lag compensate for braking

* no lead

* less tuning

* only do knockout if not readonly

* try controlling using jerk

* tuning

* try higher stopping rate

* set stopping flag at higher speed

* clip upper jerk when stopping

* remove comments

* tester present 1hz

* use positive start accel

* 1.0 to maybe improve low speed stuff

* no point going over 0

* bump panda

* bump panda

* revert that change

* update ref
old-commit-hash: c4bac6bd68ce2a91beb15bb4f4472d76525288e0
2021-09-13 22:03:08 -07:00
HaraldSchafer 65a1b386dc Fix 0 init bug for acados lateral (#22225)
* this is needed somehow

* new ref
old-commit-hash: 0dc45eaf1cebc4247b59a4508b4ef192ea7b0e56
2021-09-13 21:23:22 -07:00
Adeeb Shihadeh a9221d6eaf timing tests (#22214)
* timing tests

* tuning

* more tuning

* passes?

* increase min/max

* eon tuning

* more lax

* even more

* fix plannerd cpu

* should pass

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 369c5d5bff8d6635f86215540e3c34fc25d16998
2021-09-13 21:12:25 -07:00
HaraldSchafer c422cce205 Port lateral planning to ACADOS (#22080)
* lateral acados

* looks good!

* add another solve, needed for init somehow

* use copy

* init correctly

* cleanup sconstruct

* Update files_common

* update cpu usage

* reset when invalid

* fix cpu usage

* cost_set doesnt leak

* new ref

* non leaky reset

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7081ab4fb7473a5be424db4b63e6bdaacf62157f
2021-09-13 19:06:54 -07:00
ZwX1616 0e661532a2 refactor dm pitch/yaw thresholding (#22191)
* use indiviual pitch/yaw instead of norm

* update process replay
old-commit-hash: dac8597a08097235cc63a77e025043f618878d6f
2021-09-13 16:05:42 -07:00
Willem Melching 523219c678 Parameterize longitudinal control using carParams (#22200)
* use CP.startAccel

* missing values

* order

* update ref

* cereal
old-commit-hash: b7d1aac1972d8317e77d1f48edb22156b2c67bd6
2021-09-11 18:01:54 -07:00
Willem Melching b079219b93 Use CP.vEgoStopping and clean up CP.startAccel (#22199)
* use CP.vEgoStopping and clean up

* update ref
old-commit-hash: 1e62b09e5dd70cae6721d2da9f7bcef59aa87c10
2021-09-11 17:13:30 -07:00
Jason Young 03ba5918c8 VW MQB: Škoda Karoq Mk1 round 2 (#22190)
* VW MQB: Škoda Karoq Mk1

* Update README

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5e6dd3d5b3ef3aaae16b50e3ca5b34de0025368
2021-09-10 14:41:31 -07:00
HaraldSchafer cb1cd01bdf cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
old-commit-hash: 74b6c872545ac64055a914789a89ccc173168d8b
2021-09-10 10:34:18 -07:00
vanillagorillaa 1349e159e7 Honda e Port (#22108)
* Honda e Port

* Test route for Honda e

* remove

* Update README.md

* update values based on logs

* no need for Honda e specific DBC

* fix tests

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bcb8a11d7fe3868535bb7a66fcb767885c21a5e6
2021-09-07 16:46:44 -07:00
Adeeb Shihadeh 7fc6a76f04 reduce startup alert duration to 10s (#22163)
* reduce startup alert duration to 10s

* update refs

* update refs

* update refs
old-commit-hash: 1c750975fc179185b270f2063831431538d075d8
2021-09-07 13:40:31 -07:00
Adeeb Shihadeh 5bb5760a78 Revert "VW MQB: Škoda Karoq Mk1 (#22133)"
This reverts commit 601b5d15b0e5f6b3af2651d1f3ca0f0e4461aa60.

old-commit-hash: 82bd060a68e454cf4913312504e4fed1dee9dd57
2021-09-06 20:50:02 -07:00
Willem Melching 83ce6c65bb actually set longControlState in actuators packet (#22155)
* actually set longControlState in actuators packet

* update ref
old-commit-hash: 4f84e1b2ad689fb43b06d28def2bd58abf722748
2021-09-06 20:14:01 -07:00
Jason Young 31f0f101d1 VW MQB: Škoda Karoq Mk1 (#22133)
old-commit-hash: 04c50e5c0c3bd4217605b435a821068ccdba21d7
2021-09-06 19:56:50 -07:00
Adeeb Shihadeh 984fc2008d handle missing routes better in test car models
old-commit-hash: 81006b03c209aa93211e65c2bbbe1376df3522e7
2021-09-06 19:21:06 -07:00
Willem Melching 977cf8ca02 parameterize longitudinal actuator delay (#22153)
* paremetrize longitudinal actuator delay

* update ref
old-commit-hash: b39f6efa3fc91b3df851a133109ec18f598dce68
2021-09-06 17:56:52 -07:00
Willem Melching 6f5c9d5ad1 Clean up PID controller ACCEL_MIN/ACCEL_MAX (#22148)
* use ISO 15622:2018 limits in PID controller

* allow more for nidec

* limit PID inputs

* CP is not needed

* add GM

* not used

* update ref

* fix honda bosch
old-commit-hash: f941111dcdc9d651fe7169044fb7f52fd70f94ab
2021-09-06 17:29:32 -07:00
martinl c3d2766744 Subaru: universal signal for ACC speed units (#21995)
* Change ACC Speed Units signals for Global and Pre-Global

* Use Dash_State UNITS signal for Preglobal

* Change Subaru Preglobal to use Dash_State2 UNITS signal

* bump opendbc

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d3113fe01a16a25ec0c32b00cd53c08d98277dac
2021-09-02 14:21:35 -07:00
Willem Melching a06ffc48c1 Smarter longitudinal lag compensations (#22094)
* smarter lag compensations

* need to use speed from plan

* update ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: edae2218d76e3fb81839eabab344c9dabc852fe9
2021-09-01 15:28:16 -07:00
Willem Melching 2e285bea20 Continuously update offset between TSS2 angle sensors (#21943)
* Continuously update offset between TSS2 angle sensors

* add comment

* less lines

* only when initialized

* init to None

* update ref
old-commit-hash: c15a616ac44e238e6c5866bc57b5c6b524c765d6
2021-09-01 15:00:52 -07:00
Willem Melching 503fe7421a Add script to rerun process on route and generate new logs (#22100)
* add script to rerun process on route and generate new logs

* cleanup

* move to root

* newline
old-commit-hash: 3b13eb8c7de713d2dcd18fb3a731a6529d66aa82
2021-09-01 14:48:41 -07:00
grekiki afe4df11dd Add angleError to pid_log (#21611)
* add angleError

* Log all the time

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 21fad4d1adcaea1fd802f8dcb80f267d6d5b19d3
2021-09-01 13:45:22 -07:00
Willem Melching fe3e0532e2 Populate angle offset in carState for Toyota accurate angle sensor (#22091)
* populate angle offset in carstate for TSS2

* update ref
old-commit-hash: b8e4717f72ed8175e3c403711917c759ce2483c0
2021-08-31 11:34:00 -07:00
Adeeb Shihadeh 1244074094 add TSS2 replay route (#21953)
* add TSS2 replay route

* skip on sim

* do not set on import time

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 86f68ff22ed184dc40bfe58761a554aea1e3995e
2021-08-31 10:48:21 -07:00
HaraldSchafer a73a820338 Change car controller interface from gas/brake to acceleration (#21911)
* retune civic

* seems smooth

* back to normal

* new ref

* fix conflict

* runs

* rm

* accel scale is 4

* toyota should be good

* more cleanup

* fixup

* better naming

* update ref

* deprecated

* sending brake when not enable causes a fault

* rm gas and brake

* unused

* update ref

* acura logic is no more

* wrong before

* revert tuning cleanup

* adress comments

* update ref

* already on master

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1ac89f14aa7c45c56049e8dbb0d6c5bb83a0fc6b
2021-08-30 09:32:52 -07:00
Adeeb Shihadeh b3e3708dbc Revert 2021 Accord (#22063)
* bump panda

* Revert "Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)"

This reverts commit b305a94049606c7a92aebf0e50dc21eda58aa017.

* revert release notes

* bump panda
old-commit-hash: 4be956f8861ecbb521ef9503a3c87b07c9d36721
2021-08-28 21:28:14 -07:00
Adeeb Shihadeh 3c4005ed10 Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)
* Add 2021 Accord 2.0 Touring & Hybrid Touring

- Create the HONDA_BOSCH_EXT set for HONDA_BOSCH cars that utilize the new extended IDs for LKAS_HUD

* Remove ids added to the wrong car

* add comment

* fix undefined signal

* fix tests

Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 7e53a42984b38eb45cad8628c225ded3f843d4bb
2021-08-22 12:50:58 -07:00
Adeeb Shihadeh 67a7abb492 android health daemon (#21965)
* androidd

* three strikes

* better logging

* persistent

* add to release files

* cleanup

* no cpu usage

* colon

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8ca56dddd0ccf06bc85ed5e67b1b36f39006105
2021-08-19 16:00:05 -07:00
Adeeb Shihadeh 4c56864a1d raise thresholds for now
old-commit-hash: 0415d5ace78458406eac51e6115143eeeb9fa5da
2021-08-18 22:38:44 -07:00
HaraldSchafer a30fc4b5db Retune nidec long (#21941)
* retune civic

* add a deadzone

* large diffs may not be ok

* typo

* seems smooth

* improve pedal

* back to normal

* new ref

* new ref
old-commit-hash: da73249fc243fd3f926c1c8e3ed21d681de956bb
2021-08-16 17:06:19 -07:00
ZwX1616 7c2a076d0e DM 0.8.8 (#21897)
* update threshs

* e392

* 40% less

* ref
old-commit-hash: 00ea7c1c8210201b31b73c2bf603b47d04bc5e37
2021-08-16 12:44:45 -07:00
Adeeb Shihadeh 1ed6750e72 update tici controlsd cpu usage
old-commit-hash: 196f1c364c2f0ec46bf3c3ca057731a3d62ac151
2021-08-13 14:52:27 -07:00
Mitchell Goff b7b87efed9 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
old-commit-hash: 05b37552f3a38f914af41f44ccc7c633ad152a15
2021-08-12 21:06:26 -07:00
Greg Lincoln 44e376dae3 Kia Niro HEV 2021 port (#21779)
* Initial Niro HEV 2021 port.

* Add test route and update readme.

* Tweak configuration.
old-commit-hash: 1bb46d0cc863b50629ce7ce67017a5646bedb443
2021-08-12 10:45:37 -07:00
Adeeb Shihadeh a28bae6fcd Car Port: Kona Hybrid 2020 (#21912)
* Update carcontroller.py

* Update hyundaican.py

* Update interface.py

* Update interface.py

* Update values.py

* add test route

* merge the konas

* add to readme

Co-authored-by: haram-KONA <88036668+haram-KONA@users.noreply.github.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e598b78b5d0c72e3814e97087b88099d5c278fdf
2021-08-11 22:48:12 -07:00
Matthew Washburn 048eeb4be3 Sonata Hybrid 2021 (#21850)
* Add support for Hyundai Sonata Hybrid

* Update test_routes.py

* whitespace

* same params as sonata

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e364084fa68569e968e66a275461da35e19df3ac
2021-08-11 22:03:49 -07:00