Commit Graph

6509 Commits

Author SHA1 Message Date
HaraldSchafer fc042cd85a 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
old-commit-hash: 48154703a7ebad8cfea4b9cfd0e37eee132fc32f
2022-02-21 19:57:04 -08:00
Adeeb Shihadeh 41de03aa6e cabana for your terminal
old-commit-hash: 768bea48d04f8f6e517db0458c1d979b00508c89
2022-02-21 19:42:46 -08:00
Adeeb Shihadeh 6cbe5ff2fb docs: fix title typo
old-commit-hash: d468d6e890e62970be22a5cdcfeadb2393dfc71d
2022-02-21 13:30:56 -08:00
Comma Device 123fd2f6ee thneed: a few asserts in the optimizer for cases it will fail
old-commit-hash: 2b652605a08178e539d7ff7ab7e009b4da29bd46
2022-02-21 12:08:52 -08:00
Willem Melching d4f372cfd7 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
old-commit-hash: 724bab8ef3aaad2c69b53fafc68f7afa0ebbe659
2022-02-21 16:39:32 +01:00
Willem Melching 69588ca191 onroad_test: increase camerad cpu usage after debayer changes
old-commit-hash: ccdf069c8c1efb1c695e18ccbc9e6233c00421da
2022-02-21 16:18:01 +01:00
Willem Melching dc16307917 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
old-commit-hash: 428d412c1f5480c527b296ed85185de34f5082c2
2022-02-21 16:14:41 +01:00
Robbe Derks 7ef4b9115f 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>
old-commit-hash: 5f64f1c08906a06889617e88aecc2f8ae74b4f21
2022-02-21 12:17:47 +01:00
Willem Melching cc65efe7b0 ui.py: fix model lead plotting
old-commit-hash: efc9084409f61afb8da753353f25d336f51c2163
2022-02-21 11:56:20 +01:00
Adeeb Shihadeh f48147b333 bump panda
old-commit-hash: 65e4a3a3f68e4680e6fa084bf3f3a3ad98baa761
2022-02-20 21:32:31 -08:00
ClockeNessMnstr ee48659eee cleanup import chaining of T_IDXS (#23806)
old-commit-hash: f0b3593682c1e83c11c38a463063077e53cac5ad
2022-02-20 17:03:01 -08:00
George Hotz c033732242 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>
old-commit-hash: 2c7542d34ecaebe112071d40f81c966d56649fd7
2022-02-20 11:55:23 -08:00
Adeeb Shihadeh 4a0c03c7b7 boardd: connect to all pandas if none specified (#23805)
old-commit-hash: 719801845bf6274fd0858a5d6736b687266bcfc6
2022-02-19 20:21:05 -08:00
Adeeb Shihadeh bd6d3bfc0b paramsd cpu usage has been increasing
old-commit-hash: 12cd852fc0739086ce00e727f621a0898b93e54f
2022-02-19 17:10:29 -08:00
Adeeb Shihadeh e64e649575 add to release notes
old-commit-hash: 4e555903450aa55ee35ed8215c2cc6c5c1d0c31c
2022-02-19 16:07:18 -08:00
Willem Melching ad5ccabce3 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>
old-commit-hash: 85efde269da2680a77c75c248aafc8c29435ca98
2022-02-19 16:06:31 -08:00
Jason Wen a0d1f77394 HKG: Add FW for 2019 Veloster (#23756)
* HKG: Add FW for 2019 Veloster

* Add esp FW
old-commit-hash: 9a046e2ef34064c8f20148190c5584b790cd47f5
2022-02-19 13:57:07 -08:00
Erich Moraga d89d7e3c03 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
old-commit-hash: b9f0991df427834f6deb8c9d4d6948ecf60ecc23
2022-02-19 13:53:53 -08:00
George Hotz 10be5aad7a 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
old-commit-hash: 51767c037b141d2100d51ce7406ead2a711676e6
2022-02-19 13:31:11 -08:00
George Hotz 5c766bea95 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>
old-commit-hash: 92e9823cc0cf345d70530559e0e62d23c9b17be0
2022-02-18 20:15:20 -08:00
Shane Smiskol 1f5570a96d 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
old-commit-hash: 2c7845fce0be2bfa72a5d2429daa35fb735c154c
2022-02-18 00:45:00 -08:00
Adeeb Shihadeh 3e578e7409 camerad: adjust CL priority on comma three (#23790)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c6e0f1d84176cb4b65c81dff103b68b36862b700
2022-02-17 19:49:10 -08:00
George Hotz dc78fc6e45 fix in window for xmonad with SDL2 (#23786)
old-commit-hash: 3573a3043bab1c04db77387319dc99724482e552
2022-02-17 12:14:27 -08:00
Willem Melching 849bbc8a2f process replay: fix branch name alert (#23783)
* env is modified after start

* update ref
old-commit-hash: 14260c01c6a91554a63377acfce504758af4d096
2022-02-17 16:47:42 +01:00
Adeeb Shihadeh ddde46c503 keep the new alert consistent for process replay
old-commit-hash: f59adbeaaa4ac8634cba663fa39679f4af0c9325
2022-02-16 23:47:02 -08:00
Adeeb Shihadeh 693b66c1e0 add branch name to startup master alert (#23782)
* add branch name to startup master alert

* still orange

* update refs
old-commit-hash: ff965c772bd1bc85dec717d090cee4466033ce73
2022-02-16 20:27:07 -08:00
redacid95 fac6a207f9 Snpemodel: Clean up after #23772 (#23780)
* #clean up snpemodel after #23772

* Leave benchmark remove loop
old-commit-hash: 1c9bf108af71546acbea291c048f3c783ce994d2
2022-02-16 09:40:32 -08:00
ClockeNessMnstr c12656f397 Longitudinal: add Kf to carParams (#23752)
* sane_kf

* long_kf + cereal

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9535dc606dddfe6f0807e0b7b2e21867304e507a
2022-02-16 15:38:22 +01:00
Willem Melching c821ee6f31 bump cereal
old-commit-hash: 9ab1c74aa80d14dfc18c821af207a52fd8ef94e2
2022-02-16 15:00:15 +01:00
Jack Huang c0478078ee 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>
old-commit-hash: a84ddaecf1978fd5a812a2fb284a83f3669ba3ac
2022-02-16 14:30:54 +01:00
Adeeb Shihadeh 6ca0269f47 same check
old-commit-hash: 95da47079510afc91665263619e5939126da637c
2022-02-15 16:44:13 -08:00
Adeeb Shihadeh b695ffbfdb UI: fix power buttons disable logic (#23774)
old-commit-hash: 00d469dbc9d5ab8237247f7036892fe74c5e3c8a
2022-02-15 16:18:09 -08:00
Adeeb Shihadeh 66473b54b2 bump to 0.8.14
old-commit-hash: bdf4245e005b046c8c2d87dfa4f7e99202d8217d
2022-02-15 15:32:44 -08:00
George Hotz 37349c0fef add thneed optimizer (#23772)
* add thneed optimizer

* local work group opt

* kernels and final mods

* release files

* build system touchups

* fix kernel path, rand inputs for self test

* broken since extra is gone

* update model replay ref

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 90beaebefba444aacf16054d3b23847b26f05c47
2022-02-15 15:32:00 -08:00
Shane Smiskol e57c3413df Hyundai: move unused cars to dashcam only (#23767)
* Move OptimaH to dashcamOnly

* Elantra GT also has no users for a year

* Update selfdrive/car/hyundai/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7176f5c4013e09142bfac577952b4a524db77cfb
2022-02-15 14:07:13 -08:00
Willem Melching 3de449a993 nav: set settings stack based on uiState.prime_type (#23770)
* nav: set settings stack based on uiState.prime_type

* also show on success
old-commit-hash: f8c81103fc1dc98b0403a89c549947a9777f87ce
2022-02-15 16:39:10 +01:00
Willem Melching 06add8928d nav: handle route responses with duplicate points (#23769)
old-commit-hash: 14f7a7825151ab55975a24f53e4178fb7a595bea
2022-02-15 16:14:57 +01:00
Adeeb Shihadeh bc0245d104 bump panda
old-commit-hash: e5edbe98da16aeef7c7b9814c918bc7d646427db
2022-02-14 14:52:57 -08:00
Adeeb Shihadeh 4aaec27769 update release date
old-commit-hash: e43e6e876513450d235124fcb711f1724ed9814c
2022-02-14 13:26:06 -08:00
Willem Melching 5d55924fac ui: fix onroad transition with active nav (#23757)
old-commit-hash: e76ef93a833396dba4e3478966f9b48894c08638
2022-02-14 13:55:30 +01:00
Shane Smiskol 40a688983a Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
old-commit-hash: 31228ce5605b6ba231ac09e22fd41946bf80ab36
2022-02-12 16:28:53 -08:00
Shane Smiskol a2f9ac2b5e unsafe mode: update safety declaration comment (#23753)
* update safety declaration comment

* whoops
old-commit-hash: 7410160d09b09c529efece237f20cd0d5c062686
2022-02-11 19:20:27 -08:00
Adeeb Shihadeh 31cfc1b3bb Revert "disable until dos can be reflashed"
This reverts commit cc7114a516027639118040c7fd9b266d93f8bee5.

old-commit-hash: 2a0307a8cb1fb511df06a784b04baf6dd7ba77fb
2022-02-11 11:45:22 -08:00
Vivek Aithal 1329847be0 controlsd: Fix Toyota steer angle sensor race condition (#23747)
* fix steer angle race condition

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3e915cf628d24d04843730a9f5f664a20083291a
2022-02-11 13:54:17 +01:00
Willem Melching 8788555f10 athena: expire items after 31 days (#23751)
* athena: expire items after 31 days

* add test
old-commit-hash: f03549c276e3877081273c713470e5184ef07ff5
2022-02-11 13:52:44 +01:00
Willem Melching a7fa889605 improve logging around uploading (#23750)
* improve logging around uploading

* use int

* use raw

* duplicate
old-commit-hash: 7765bc216677026d7b8919525eff310716fd3e7d
2022-02-11 12:58:41 +01:00
Lee Jong Mun c5e11d7491 missing optional include (#23749)
old-commit-hash: ab9fb0541df1d3455060a24c3093f463a752951e
2022-02-11 12:08:09 +01:00
Adeeb Shihadeh 8126b80351 fix format
old-commit-hash: 07864631226157dcd0b4e931c02a0fdbf3be4f61
2022-02-10 22:45:47 -08:00
Adeeb Shihadeh 6676ee7ea0 0.8.13 release notes
old-commit-hash: 44e76247ac5978620f317a904ac7d399cd50b34a
2022-02-10 21:15:00 -08:00
Shane Smiskol 0296e11cdb bump opendbc (#23741)
old-commit-hash: 47211400f55881c4063579826764a42374ae66be
2022-02-10 20:59:02 -08:00