Commit Graph

5243 Commits

Author SHA1 Message Date
HaraldSchafer
0512c89d34 various cleanup (#22289)
old-commit-hash: cc6af379ce
2021-09-20 16:26:10 -07:00
Mitchell Goff
aa4b201b96 Added update_with_xva method to long_mpc so it can be used in sim (#22284)
old-commit-hash: 485afda79d
2021-09-20 14:20:01 -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: 869ae44ad3
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: 7495100177
2021-09-20 09:35:55 -07:00
Dean Lee
f235e39bda rename filereader.cc[h] to logreader.cc[h] (#22279)
old-commit-hash: dff6dbfbe9
2021-09-19 15:54:03 -07:00
Dean Lee
2fefa32476 UI: new class ListWidget (#21273)
* ListWidget

* continue

* remove function horizontal_line

* cleanup

* default spacing 25

* fix networkpanel margin on EON

* solid expanding

* 0 width

* cleanup

* apply reviews

* remove function addLayout,make it looks like QLIstWidget

* rename addWidget to addItem

* rebase master

* rebase master

* merge master

* cleanup

* fixed title bar position

* no flash while folding

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: abffc8b2ad
2021-09-19 15:14:54 -07:00
Dean Lee
e2332a0275 replay: pause/resume using spacebar (#22278)
* pause/resume using spacebar

* Update selfdrive/ui/replay/replay.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ec67d2b8f5
2021-09-19 14:47:17 -07:00
Dean Lee
b7f3d92c9b camerad: added replay camera (#21241)
* start refactor

* remove camera_frame_stream from files_common

* rename camera_pc to camera_replay

* continue

* loop one segment

* rename cam_frame_id to stream_frame_id

* apply review

* continue

* more

* publish camera state

* cleanup

* cleanup

* better comment

* delete s->pm in cameras_close()

* add function getFrameCount

* refactor loop

* fix typo

* restore freame stream

* disable roadcam

* dd

* move file

* merge master

* fix test case

* add todo

* white space

* remove from release files

* add files back to relase

* move framereader back to ui/replay

* merge master

test_replay
old-commit-hash: 9b302488f9
2021-09-19 14:43:54 -07:00
VictorLier
80aa074aa6 Add 2017 Ioniq EV fw versions (#22277)
* 2017 ioniq EV fingerprint

* Update values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9d42afe8c0
2021-09-19 14:35:28 -07:00
Dean Lee
5be69694ba replay improvements (#22203)
* refactor replay

* cleanup

small cleanup

* merge 22239

* cleanup

* add optional argument for start time

* small cleaup
old-commit-hash: 50ae7dd6a9
2021-09-19 12:24:28 -07:00
Dean Lee
e44eabb2f8 replay: don't splits empty strings (#22271)
old-commit-hash: 8eb92a98ba
2021-09-18 22:40:36 -07:00
Harald Schafer
f7357312a5 update ref for mpc lead accel clip
old-commit-hash: 32c57fee05
2021-09-18 22:35:11 -07:00
Harald Schafer
b1e2f219c9 Clip radar acceleration for mpc stability
old-commit-hash: a1fcedda21
2021-09-18 22:21:03 -07:00
Dean Lee
969f992d59 replay: remove array subscript (#22268)
old-commit-hash: cb49ceabf0
2021-09-18 18:58:37 -07:00
Willem Melching
efd535c88b Disable jenkins camerad test until device is fixed
old-commit-hash: b60fb46be6
2021-09-18 10:56:20 -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: 3778592f50
2021-09-17 22:33:46 -07:00
protonchang
d3f14d2787 Add FW versions for 2020 Toyota Corolla Cross (Taiwanese Version) (#21694)
* Add Fingerprint 2.0 for 2020 Toyota Corolla Cross (Taiwanese Version)

* Fix fingerprint typo
old-commit-hash: dc076baf39
2021-09-17 19:15:26 -07:00
Kyle Greenlaw
b7ceb31c26 Add Hyundai Sonata Hybrid Radar FW for OP Long support (#22259)
* add mondo dbc to Sonata Hybrid

* 2021 Sonata Hybrid radar FW

* Add Sonata Hybrid to openpilotLongitudinalControl

* Whoops... ,
old-commit-hash: 839147a333
2021-09-17 19:12:54 -07:00
Dean Lee
cd4e070b47 camerad: use the YUV buffer to create the jpeg thumbnail (#21936)
* yuv420_to_jpeg

continue

* add comments

* cleanup

* return ky::array
old-commit-hash: e0b5b4573e
2021-09-17 17:00:21 -07:00
samuwh
05d7ea39b4 Added fw versions for Hyundai Elantra 2021 (#22256)
* Added fingerprint for Hyundai Elantra 2021

This fingerprint started popping up on my 2021 Hyundai Elantra SEL (non-hybrid).

* Update values.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e8e83a3dcf
2021-09-17 16:59:57 -07:00
Chris McCammon
8329452a22 Add Odyssey fw versions (#22266)
* 6a492387bdfcb4ba

* rerun ci
old-commit-hash: 5f85ea09cd
2021-09-17 16:55:34 -07:00
Adeeb Shihadeh
cfed62dd36 replay: add nice arg parser (#22264)
* replay: add nice arg parser

* demo

* cleanup
old-commit-hash: f49e7629ee
2021-09-17 00:33:23 -07:00
Dean Lee
303cb411b4 replay: thread-safe seek (#22228)
old-commit-hash: f5aa3a30c9
2021-09-16 23:45:46 -07:00
Adeeb Shihadeh
757e768d9f UI: show steering wheel icon while engaged or engageable
old-commit-hash: 78b97eaa36
2021-09-16 23:43:19 -07:00
HaraldSchafer
e190dfaf13 Dont run plannerd for long tests (#22260)
old-commit-hash: f0be9a57ac
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: 2c04176b5f
2021-09-16 20:05:09 -07:00
Greg Hogan
e010874de8 hyundai: update radar message names (#22258)
old-commit-hash: 3eac5fc177
2021-09-16 19:07:54 -07:00
HaraldSchafer
8f84b2421a sane lead clips to prevent reset (#22255)
old-commit-hash: 5e995e5aff
2021-09-16 17:31:32 -07:00
Adeeb Shihadeh
9b50379537 fix up replay docs
old-commit-hash: 07d23a1db9
2021-09-16 17:01:45 -07:00
George Hotz
b4adcd2e56 Use thneed directly on the loaded YUV data (#22236)
* completely untested

* it builds now

* bug fixes, save 1ms

* using a kernel to copy works

* more sane API to loadyuv

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 83ff9ca331
2021-09-16 14:13:03 -07:00
Kyle Greenlaw
a73499c66d Additional FW for Sonata Hybrid (#22252)
* Additional Fingerprint for Sonata Hybrid

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f10ac7d060
2021-09-16 11:59:48 -07:00
Greg Hogan
e7ad7b91e6 improve instructions for enabling hyundai radar tracks
old-commit-hash: 9db5edae72
2021-09-16 00:15:56 -07:00
HaraldSchafer
3305024cfc remove ACADO (#22247)
* remove acado

* not relevant anymore
old-commit-hash: 42d93e94df
2021-09-15 21:14:11 -07:00
Adeeb Shihadeh
b3a1f2c67d UI: fix getting stuck after vipc recv timeout
old-commit-hash: 86beb9a81a
2021-09-15 20:31:24 -07:00
Scott Adair
ed25cf30f4 Update FW Version for the 2020 Palisade (#22245)
Confirmed the FW version for my 2020 Palisade. Updated and executed the script without issue.
old-commit-hash: 3be48c5cde
2021-09-15 20:27:33 -07:00
Adeeb Shihadeh
dbc41b847d add shouldBeRunning field to managerState (#22246)
old-commit-hash: 2f57f1729d
2021-09-15 19:51:55 -07:00
Adeeb Shihadeh
b41c5e2393 temporarily relax camerad timings
old-commit-hash: 174aa908ba
2021-09-15 19:26:20 -07:00
John Belmonte
a410244e3d 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>
old-commit-hash: 7ee9ba34dd
2021-09-15 19:00:44 -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: 66c275b711
2021-09-15 19:00:12 -07:00
Chris McCammon
9ffbc81b07 2020 Corolla Engine fw (#22244)
old-commit-hash: d6201ce95a
2021-09-15 17:13:22 -07:00
Willem Melching
4e529f843b 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>
old-commit-hash: 6fd980c63e
2021-09-15 15:43:01 -07:00
Jason Young
aa2559fc2b Fix CARS footnote markup (#22243)
* Fix CARS footnote markup

* punctuation

* Update docs/CARS.md

* Update docs/CARS.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 019f319200
2021-09-15 15:06:57 -07:00
Harald Schafer
985593f21a add model exec time printout
old-commit-hash: aed91c5906
2021-09-15 11:41:18 -07:00
Adeeb Shihadeh
2ded81d455 fix count cars script
old-commit-hash: 3ab2d29fb8
2021-09-15 11:31:45 -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: b7e74f3b24
2021-09-15 11:29:37 -07:00
Adeeb Shihadeh
ef33dbd110 bump opendbc
old-commit-hash: 2e2184186a
2021-09-14 23:09:17 -07:00
Adeeb Shihadeh
47a983fb00 updated: add persistent param for build date (#22237)
old-commit-hash: ed70c5aaf5
2021-09-14 20:24:41 -07:00
Adeeb Shihadeh
35e6e0f33b add TSS2 Rav4 hybrid fw versions from #22216
old-commit-hash: b670868bcd
2021-09-14 19:37:22 -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: 417e229624
2021-09-14 18:57:16 -07:00
Adeeb Shihadeh
c3b925685c add switch to master script
old-commit-hash: 082bbc9d27
2021-09-14 16:27:11 -07:00