Commit Graph

6115 Commits (master)

Author SHA1 Message Date
Adeeb Shihadeh 767bc1aa3b boardd: handle missing pandas 2022-02-23 13:35:56 -08:00
Robbe Derks f4d91f71a5
this seems to about what my car converges to (#23836) 2022-02-23 16:03:31 +01:00
Willem Melching a03685c3f9
Fix watch3 on mac (#23834) 2022-02-23 14:31:28 +01:00
Willem Melching dc7de79dc9
replay: use VideoToolbox HW decoder on Mac (#23832)
* replay: support VideoToolbox HW decoding

* rename flag

* remove debug assert
2022-02-23 13:52:50 +01:00
Willem Melching cc1aab2a73
scons: use correct brew prefix (#23833) 2022-02-23 13:52:38 +01:00
Willem Melching df88280e0f
replay: use QCoreApplication (#23831) 2022-02-23 13:34:31 +01:00
Andrew df627de7bf
fix mac_setup w/ tools+plotjuggler (#23552)
* fix pycurl issue:
* use newer curl backend for pip install
* update lib paths based on brew prefix
* fix cert issue when using pycurl using certifi
* make output setup nicer

* fix linter

* typo

* dont need that actually

* revert

* pipenv in brew

* forgot this

* make brew available on fresh install

* undo

* more undo

* oops

* use sytem curl, but homebrew openssl

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-23 13:04:50 +01:00
Adam Wallner 52266b9cd1
Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 (#23823) 2022-02-23 11:58:14 +01:00
Adeeb Shihadeh c483a9724d
Honda: revert to button enable on Nidec (#23828)
* Honda: revert to button enable on Nidec

* fix test

* bump panda
2022-02-22 22:36:21 -08:00
Adeeb Shihadeh 3243d1a81e
move lock clearing to uploader (#23826)
* move lock clearing to uploader

* test case
2022-02-22 22:30:11 -08:00
Greg Hogan de178ea79c script to clear DTCs 2022-02-22 16:15:39 -08:00
Adeeb Shihadeh 0965155a5b
Toyota: fix flaky EV detection (#23825) 2022-02-22 16:15:09 -08:00
Adeeb Shihadeh c98d9791f0 adjust comma two model timing thresholds after bigmodel 2022-02-22 13:16:23 -08:00
Willem Melching 2f00271ce6
omx encoder: move writing into thread (#23771)
* omx encoder: move writing to separate thread

* fix include

* pop

* log buffers sizes

* split copy and write
2022-02-22 13:02:50 +01:00
Robbe Derks a6214ff3b1
Fix unmetered upload over cell (fix #23811) (#23820) 2022-02-22 13:01:53 +01:00
martinl 412e43206e
Subaru: add FW for Impreza Limited UDM 2017 (#23802)
* FPv2: Add Subaru Impreza Limited USM 2017

* test_fw_query_on_routes.py: add subaru support

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-22 12:17:48 +01:00
Caleb Stultz 989d072025
HKG: Kia Sorento FPv2 (#23815)
* Replace Kia Sorento FPv1 with FPv2

* keep old fingerprint

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-22 12:14:34 +01:00
Greg Hogan 35fe2605cf
hyundai: custom fw version for sonata eps (#23816)
* hyundai: custom fw version for sonata eps

* another comment
2022-02-22 12:02:35 +01:00
Willem Melching b1091d505e CARS.md add 2022 elantra 2022-02-22 11:58:36 +01:00
jdtram 6f766cbb10
2022 Hyundai Elantra firmware versions (#23818)
Added 2022 Hyundai Elantra fwdCamera, transmission, and engine fingerprints.
2022-02-22 11:57:54 +01:00
HaraldSchafer 48154703a7
Fix tici bigmodel (#23817)
* Fix bigmodel on tici: cam intrinsics arent static

* Give TICI route own name for import

* Make function useable in offline test

* typo

* change tici ecam focal to trained focal

* No shadow variable

* Fixed ref

* Force update this time

* Update model replay ref commit
2022-02-21 19:57:04 -08:00
Adeeb Shihadeh 768bea48d0 cabana for your terminal 2022-02-21 19:42:46 -08:00
Adeeb Shihadeh d468d6e890 docs: fix title typo 2022-02-21 13:30:56 -08:00
Comma Device 2b652605a0 thneed: a few asserts in the optimizer for cases it will fail 2022-02-21 12:08:52 -08:00
Willem Melching 724bab8ef3
Update raw_logger/framereader to new new ffmpeg api (#23799)
* Update raw_logger/framereader to new new ffmpeg api

* Can be removed now

* Handled by avcodec_free_context

* handle EAGAIN and clean up
2022-02-21 16:39:32 +01:00
Willem Melching ccdf069c8c onroad_test: increase camerad cpu usage after debayer changes 2022-02-21 16:18:01 +01:00
Willem Melching 428d412c1f
longitudinal planner: disable change cost when stopped. not engaged or gas pressed (#23639)
* disable change cost completely on standstill and gas press

* cleanup

* set accel to zero

* clean up logic around standstill

* update ref
2022-02-21 16:14:41 +01:00
Robbe Derks 5f64f1c089
Param to allow upload over cellular (#23811)
* param to allow upload over cellular

* brackets to be consistent

* move outside loop

* fix tests

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-21 12:17:47 +01:00
Willem Melching efc9084409 ui.py: fix model lead plotting 2022-02-21 11:56:20 +01:00
Adeeb Shihadeh 65e4a3a3f6 bump panda 2022-02-20 21:32:31 -08:00
ClockeNessMnstr f0b3593682
cleanup import chaining of T_IDXS (#23806) 2022-02-20 17:03:01 -08:00
George Hotz 2c7542d34e
Refactor convolutions (#23807)
* one conv with defines

* add conv

* building works on C3

* this is num_outputs too, process replay is so useful

Co-authored-by: Comma Device <device@comma.ai>
2022-02-20 11:55:23 -08:00
Adeeb Shihadeh 719801845b
boardd: connect to all pandas if none specified (#23805) 2022-02-19 20:21:05 -08:00
Adeeb Shihadeh 12cd852fc0 paramsd cpu usage has been increasing 2022-02-19 17:10:29 -08:00
Adeeb Shihadeh 4e55590345 add to release notes 2022-02-19 16:07:18 -08:00
Willem Melching 85efde269d
bigmodel (#23684)
* Added wide cam vipc client and bigmodel transform logic

* Added wide_frame to ModelState, should still work normally

* Refactored image input into addImage method, should still work normally

* Updated thneed/compile.cc

* Bigmodel, untested: 44f83118-b375-4d4c-ae12-2017124f0cf4/200

* Have to initialize extra buffer in SNPEModel

* Default paramater value in the wrong place I think

* Move USE_EXTRA to SConscript

* New model: 6c34d59a-acc3-4877-84bd-904c10745ba6/250

* move use extra check to runtime, not on C2

* this is always true

* more C2 checks

* log if frames are out of sync

* more logging on no frame

* store in pointer

* print sof

* add sync logic

* log based on sof difference as well

* keep both models

* less assumptions

* define above thneed

* typo

* simplify

* no need for second client is main is already wide

* more comments update

* no optional reference

* more logging to debug lags

* add to release files

* both defines

* New model: 6831a77f-2574-4bfb-8077-79b0972a2771/950

* Path offset no longer relevant

* Remove duplicate execute

* Moved bigmodel back to big_supercombo.dlc

* add wide vipc stream

* Tici must be tici

* Needs state too

* add wide cam support to model replay

* handle syncing better

* ugh, c2

* print that

* handle ecam lag

* skip first one

* so close

* update refs

Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2022-02-19 16:06:31 -08:00
Jason Wen 9a046e2ef3
HKG: Add FW for 2019 Veloster (#23756)
* HKG: Add FW for 2019 Veloster

* Add esp FW
2022-02-19 13:57:07 -08:00
Erich Moraga b9f0991df4
Add missing CAMRYH_TSS2 fwdCamera f/w (#23796)
`@Ty.ler#0303`  2022 Toyota Camry SE Hybrid  DongleID/route 9477a77ffc4e8bd4|2022-02-18--15-40-25
2022-02-19 13:53:53 -08:00
George Hotz 51767c037b
camerad: use open_v4l_by_name_and_index on c2 also (#23794)
* use open_v4l_by_name_and_index on c2 also

* remove open_v4l_by_name_and_index from qcom2
2022-02-19 13:31:11 -08:00
George Hotz 92e9823cc0
camerad: fast debayer on c2 cameras (#23795)
* fast debayer on c2 dcam

* add casts

* 128 local worksize on HDR debayer, 8 ms -> 3.5 ms

* width instead of saving rgb_width

Co-authored-by: Comma Device <device@comma.ai>
2022-02-18 20:15:20 -08:00
Shane Smiskol 2c7845fce0
Longitudinal control: interpolate longitudinal plan (#23787)
* interpolate longitudinal actuator delay

rename

* formatting

* interpolate v_target most importantly!

* fix interpolation and rename

* nicer setup

* left in from testing

* update refs
2022-02-18 00:45:00 -08:00
Adeeb Shihadeh c6e0f1d841
camerad: adjust CL priority on comma three (#23790)
Co-authored-by: Comma Device <device@comma.ai>
2022-02-17 19:49:10 -08:00
George Hotz 3573a3043b
fix in window for xmonad with SDL2 (#23786) 2022-02-17 12:14:27 -08:00
Willem Melching 14260c01c6
process replay: fix branch name alert (#23783)
* env is modified after start

* update ref
2022-02-17 16:47:42 +01:00
Adeeb Shihadeh f59adbeaaa keep the new alert consistent for process replay 2022-02-16 23:47:02 -08:00
Adeeb Shihadeh ff965c772b
add branch name to startup master alert (#23782)
* add branch name to startup master alert

* still orange

* update refs
2022-02-16 20:27:07 -08:00
redacid95 1c9bf108af
Snpemodel: Clean up after #23772 (#23780)
* #clean up snpemodel after #23772

* Leave benchmark remove loop
2022-02-16 09:40:32 -08:00
ClockeNessMnstr 9535dc606d
Longitudinal: add Kf to carParams (#23752)
* sane_kf

* long_kf + cereal

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-16 15:38:22 +01:00
Willem Melching 9ab1c74aa8 bump cereal 2022-02-16 15:00:15 +01:00
Jack Huang a84ddaecf1
statsd: fix crash if there is no git repository (#23775)
* fix crash if there is no git repository

* return default

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-16 14:30:54 +01:00