Commit Graph

4665 Commits

Author SHA1 Message Date
Willem Melching b60fb46be6 Disable jenkins camerad test until device is fixed 2021-09-18 10:56:20 -07:00
Vivek Aithal 3778592f50 locationd: modify factor for measurement STDEV in gps update (#22262)
* modify factor for measurement STDEV in gps update

* add new ref_commit
2021-09-17 22:33:46 -07:00
protonchang dc076baf39 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
2021-09-17 19:15:26 -07:00
Kyle Greenlaw 839147a333 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... ,
2021-09-17 19:12:54 -07:00
Dean Lee e0b5b4573e camerad: use the YUV buffer to create the jpeg thumbnail (#21936)
* yuv420_to_jpeg

continue

* add comments

* cleanup

* return ky::array
2021-09-17 17:00:21 -07:00
samuwh e8e83a3dcf 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>
2021-09-17 16:59:57 -07:00
Chris McCammon 5f85ea09cd Add Odyssey fw versions (#22266)
* 6a492387bdfcb4ba

* rerun ci
2021-09-17 16:55:34 -07:00
Adeeb Shihadeh f49e7629ee replay: add nice arg parser (#22264)
* replay: add nice arg parser

* demo

* cleanup
2021-09-17 00:33:23 -07:00
Dean Lee f5aa3a30c9 replay: thread-safe seek (#22228) 2021-09-16 23:45:46 -07:00
Adeeb Shihadeh 78b97eaa36 UI: show steering wheel icon while engaged or engageable 2021-09-16 23:43:19 -07:00
HaraldSchafer f0be9a57ac Dont run plannerd for long tests (#22260) 2021-09-16 20:45:13 -07:00
HaraldSchafer 2c04176b5f Add stopping for stopped car tests (#22250)
* add stopping for stopped car tests

* too extreme
2021-09-16 20:05:09 -07:00
Greg Hogan 3eac5fc177 hyundai: update radar message names (#22258) 2021-09-16 19:07:54 -07:00
HaraldSchafer 5e995e5aff sane lead clips to prevent reset (#22255) 2021-09-16 17:31:32 -07:00
Adeeb Shihadeh 07d23a1db9 fix up replay docs 2021-09-16 17:01:45 -07:00
George Hotz 83ff9ca331 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>
2021-09-16 14:13:03 -07:00
Kyle Greenlaw f10ac7d060 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>
2021-09-16 11:59:48 -07:00
Greg Hogan 9db5edae72 improve instructions for enabling hyundai radar tracks 2021-09-16 00:15:56 -07:00
HaraldSchafer 42d93e94df remove ACADO (#22247)
* remove acado

* not relevant anymore
2021-09-15 21:14:11 -07:00
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
Jason Young 019f319200 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>
2021-09-15 15:06:57 -07:00
Harald Schafer aed91c5906 add model exec time printout 2021-09-15 11:41:18 -07:00
Adeeb Shihadeh 3ab2d29fb8 fix count cars script 2021-09-15 11:31:45 -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 2e2184186a bump opendbc 2021-09-14 23:09:17 -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
Adeeb Shihadeh 082bbc9d27 add switch to master script 2021-09-14 16:27:11 -07:00
Chris McCammon 6102daa2b1 Update CARS.md 2021-09-14 16:15:17 -07:00
George Hotz 3a6c8d4678 Fix test relying on SAFETY.md being in the root 2021-09-14 16:02:36 -07:00
Trae b6c65aca08 Add 2022 Corolla Hatchback Engine FP (#22232) 2021-09-14 15:51:05 -07:00
George Hotz 105be028bd Update Docs (#22229)
* initial move of docs

* more cleanups

* more docs

* simpler

* more docs

* link fix

* typos

* more typos

* more info

* minor updates
2021-09-14 15:39:31 -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