Commit Graph

4201 Commits

Author SHA1 Message Date
Adeeb Shihadeh
86beb9a81a UI: fix getting stuck after vipc recv timeout 2021-09-15 20:31:24 -07:00
Scott Adair
3be48c5cde Update FW Version for the 2020 Palisade (#22245)
Confirmed the FW version for my 2020 Palisade. Updated and executed the script without issue.
2021-09-15 20:27:33 -07:00
Adeeb Shihadeh
2f57f1729d add shouldBeRunning field to managerState (#22246) 2021-09-15 19:51:55 -07:00
Adeeb Shihadeh
174aa908ba temporarily relax camerad timings 2021-09-15 19:26:20 -07:00
John Belmonte
7ee9ba34dd Honda carstate: refactor MAIN_ON signal (#22226)
* Honda carstate: refactor MAIN_ON signal

MAIN_ON handling was scattered throughout the code since
the enclosing message differed by model.  Store the message
name in the instance.

Several cases in get_can_signals() and update() were
subsequently collapsed.

* remove duplicate BRAKE_HOLD_ACTIVE signal

* Update selfdrive/car/honda/carstate.py

* add some whitespace

* cleanup carstate

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-15 19:00:44 -07:00
HaraldSchafer
66c275b711 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
2021-09-15 19:00:12 -07:00
Chris McCammon
d6201ce95a 2020 Corolla Engine fw (#22244) 2021-09-15 17:13:22 -07:00
Willem Melching
6fd980c63e Hyundai radar parser (#22241)
* add radar parser for 0x5XX range

* fix speed

* enable based of fingerprint

* fix speed scale

* use proper signal names

* add to release files

* hyundai: script to enable radar points

* typo

* add comment

* fix tests

* cleanup

* add note about persistent

* Update selfdrive/car/hyundai/radar_interface.py

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

* fix bugs in hyundai enable radar points script

* accidentally removed comment

* add some other cars

* add cosine to dRel

* fw versions do not match openpilot

* bump opendbc

* include state 4

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-15 15:43:01 -07:00
Harald Schafer
aed91c5906 add model exec time printout 2021-09-15 11:41:18 -07:00
Jason Young
b7e74f3b24 VW MQB: Škoda Kamiq Mk1 (#22240)
* VW MQB: Škoda Kamiq Mk1

* footnote about the China market Kamiq
2021-09-15 11:29:37 -07:00
Adeeb Shihadeh
ed70c5aaf5 updated: add persistent param for build date (#22237) 2021-09-14 20:24:41 -07:00
Adeeb Shihadeh
b670868bcd add TSS2 Rav4 hybrid fw versions from #22216 2021-09-14 19:37:22 -07:00
Willem Melching
417e229624 Add upper/lower bounds for longitudinal lag (#22235)
* Add upper/lower bounds for longitudinal lag

* add ref

* update ref

* bump cereal

* bump cereal
2021-09-14 18:57:16 -07:00
Trae
b6c65aca08 Add 2022 Corolla Hatchback Engine FP (#22232) 2021-09-14 15:51:05 -07:00
HaraldSchafer
96a8f8a831 Less QP iterations for lateral acados (#22231)
* Less QP iterations for lateral acados

* update ref
2021-09-14 13:55:30 -07:00
George Hotz
8d554abbf7 demo route note in replay 2021-09-14 13:53:49 -07:00
Willem Melching
abae4ef72c Revert "ui: use C3 video sizes by default on PC"
This reverts commit cf4cd3b693.
2021-09-14 11:48:34 -07:00
Willem Melching
cf4cd3b693 ui: use C3 video sizes by default on PC 2021-09-14 11:27:34 -07:00
George Hotz
362f067c9c allow PC to emulate TICI with TICI=1 2021-09-14 10:48:43 -07:00
John Belmonte
f07e1ae99e 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>
2021-09-13 22:41:50 -07:00
Willem Melching
c4bac6bd68 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
2021-09-13 22:03:08 -07:00
HaraldSchafer
0dc45eaf1c Fix 0 init bug for acados lateral (#22225)
* this is needed somehow

* new ref
2021-09-13 21:23:22 -07:00
Adeeb Shihadeh
369c5d5bff 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>
2021-09-13 21:12:25 -07:00
Adeeb Shihadeh
c4e9f4de99 fix live_cpu_and_temp.py for c3 2021-09-13 20:27:53 -07:00
Adeeb Shihadeh
a7cc34fd77 check_timings.py: start printing immediately 2021-09-13 20:08:43 -07:00
HaraldSchafer
7081ab4fb7 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>
2021-09-13 19:06:54 -07:00
ZwX1616
dac8597a08 refactor dm pitch/yaw thresholding (#22191)
* use indiviual pitch/yaw instead of norm

* update process replay
2021-09-13 16:05:42 -07:00
Dean Lee
e90eb79ceb boardd: new function get_time_str (#22158)
* new function get_time_str

* apply review
2021-09-13 10:32:12 -07:00
Dean Lee
a89bdb6a05 fix Replay::mergeEvents: use std::end() (#22215) 2021-09-13 09:49:32 -07:00
Dean Lee
365e8bfd93 replay: unlock mutex before sleep (#22213) 2021-09-13 00:57:03 -07:00
Dean Lee
eb4a28af11 replay: fix bugs in merging events (#22205) 2021-09-12 16:29:37 -07:00
Adeeb Shihadeh
a19738cba8 version.py: set terms and training version 2021-09-11 21:07:41 -07:00
Dean Lee
2d640e25c3 UI: lazy onboarding widgets init (#21780)
* don't show onboarding on startup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-11 18:18:58 -07:00
Willem Melching
b7d1aac197 Parameterize longitudinal control using carParams (#22200)
* use CP.startAccel

* missing values

* order

* update ref

* cereal
2021-09-11 18:01:54 -07:00
Dean Lee
a1a0201069 replay: thread safe merge & free logs (#22196) 2021-09-11 17:35:04 -07:00
Willem Melching
1e62b09e5d Use CP.vEgoStopping and clean up CP.startAccel (#22199)
* use CP.vEgoStopping and clean up

* update ref
2021-09-11 17:13:30 -07:00
Dean Lee
f3683dd4cb test_replay.cc: temporarily comment out the rand seek test (#22192)
* Temporarily comment out the rand seek test

* enable ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci
2021-09-10 21:53:46 -07:00
Adeeb Shihadeh
b3705ede5e Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
2021-09-10 17:03:54 -07:00
Jason Young
d5e6dd3d5b VW MQB: Škoda Karoq Mk1 round 2 (#22190)
* VW MQB: Škoda Karoq Mk1

* Update README

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-10 14:41:31 -07:00
ntegan1
54b5972cf6 Upload when on ethernet (#22188)
in addition to when on wifi

Co-authored-by: ntegan <nick@egan.gg>
2021-09-10 12:05:12 -07:00
Andrew
d2e751f108 add another missing FW for elantra_hev-2021 (#22186)
popped up during drive: `715ac05b594e9c59|2021-09-10--05-58-04`
2021-09-10 11:39:12 -07:00
Jason Young
7d5ee9fbd1 VW MQB: Cleanup stock LKAS signal forwarding (#22180)
* VW MQB: Cleanup stock LKAS signal forwarding

* apply review suggestion
2021-09-10 11:23:38 -07:00
HaraldSchafer
74b6c87254 cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
2021-09-10 10:34:18 -07:00
speedking456
1f639e38b2 Remove Kia Seltos from Legacy Safety Model (#22179) 2021-09-10 08:19:58 -07:00
Jason Young
5a4d03da29 VW MQB: Fixes for network location detection (#22174)
* VW MQB: Fixes for network location detection

* apply review suggestion

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

* FP back to 100ms; VIN state poll at 50Hz

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-09 17:49:31 -07:00
Adeeb Shihadeh
da74a6cf73 plannerd: remove last of liveMpc 2021-09-09 14:09:09 -07:00
Dean Lee
81a128cd76 FrameReader: do not depend on Qtunit tests (#21379)
* add timeout and test case

* remove useless comment

* reduce to 1s

* fix gotframe fail when Duplicate POC in a sequence

* cleanup

* remove space

* fix
2021-09-09 13:40:12 -07:00
Jason Young
11730b8077 VW MQB: Fix for rare autoresume problems (#22176) 2021-09-09 13:21:04 -07:00
Adeeb Shihadeh
0a75a66537 bump version to 0.8.10 2021-09-08 15:07:55 -07:00
Dean Lee
a034926264 Qt/onroad: use CameraViewWidget (#21821)
* use CameraViewWidget

* no timer, updateFrame after frameSwapped

* use QOpenGLShaderProgram

* merge master

* remove that

* new function setStreamType

* continue

* remove showEvent

* cleanup

* cleanup

* little more

* fix black screen on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-08 13:13:27 -07:00