Commit Graph

6031 Commits (d653dd843adbd994fce6cf4088d9cf10fdbe0c52)

Author SHA1 Message Date
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
Adeeb Shihadeh 95da470795 same check 2022-02-15 16:44:13 -08:00
Adeeb Shihadeh 00d469dbc9
UI: fix power buttons disable logic (#23774) 2022-02-15 16:18:09 -08:00
Adeeb Shihadeh bdf4245e00 bump to 0.8.14 2022-02-15 15:32:44 -08:00
George Hotz 90beaebefb
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>
2022-02-15 15:32:00 -08:00
Shane Smiskol 7176f5c401
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>
2022-02-15 14:07:13 -08:00
Willem Melching f8c81103fc
nav: set settings stack based on uiState.prime_type (#23770)
* nav: set settings stack based on uiState.prime_type

* also show on success
2022-02-15 16:39:10 +01:00
Willem Melching 14f7a78251
nav: handle route responses with duplicate points (#23769) 2022-02-15 16:14:57 +01:00
Adeeb Shihadeh e5edbe98da bump panda 2022-02-14 14:52:57 -08:00
Adeeb Shihadeh e43e6e8765 update release date 2022-02-14 13:26:06 -08:00
Willem Melching e76ef93a83
ui: fix onroad transition with active nav (#23757) 2022-02-14 13:55:30 +01:00
Shane Smiskol 31228ce560
Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
2022-02-12 16:28:53 -08:00
Shane Smiskol 7410160d09
unsafe mode: update safety declaration comment (#23753)
* update safety declaration comment

* whoops
2022-02-11 19:20:27 -08:00
Adeeb Shihadeh 2a0307a8cb Revert "disable until dos can be reflashed"
This reverts commit f231caf1e3.
2022-02-11 11:45:22 -08:00
Vivek Aithal 3e915cf628
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>
2022-02-11 13:54:17 +01:00
Willem Melching f03549c276
athena: expire items after 31 days (#23751)
* athena: expire items after 31 days

* add test
2022-02-11 13:52:44 +01:00
Willem Melching 7765bc2166
improve logging around uploading (#23750)
* improve logging around uploading

* use int

* use raw

* duplicate
2022-02-11 12:58:41 +01:00
Lee Jong Mun ab9fb0541d
missing optional include (#23749) 2022-02-11 12:08:09 +01:00
Adeeb Shihadeh 0786463122 fix format 2022-02-10 22:45:47 -08:00
Adeeb Shihadeh 44e76247ac 0.8.13 release notes 2022-02-10 21:15:00 -08:00
Shane Smiskol 47211400f5
bump opendbc (#23741) 2022-02-10 20:59:02 -08:00
Adeeb Shihadeh f231caf1e3 disable until dos can be reflashed 2022-02-10 20:31:02 -08:00
Adeeb Shihadeh 0412190a42 bump panda 2022-02-10 20:30:28 -08:00
suryad 12e79761e1
Mazda: add 2017 CX-9 firmware (#23742) 2022-02-10 16:30:00 -08:00
Jason Young 4416c21b1e
VW MQB: EPS configuration tool (#23737)
* VW MQB: EPS configuration tool

* a bit more help text

* typo

* Update selfdrive/debug/vw_mqb_config.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update selfdrive/debug/vw_mqb_config.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* better handling of vendor constants

* comment tweak

* more constant clarity

* move help text to argparse

* add parameterization parsing

* refactor param read, skip length byte

* touch up section headers

* removing; low value and acting weird

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-10 13:57:12 -08:00
ZwX1616 cdf0bb887a
Update RELEASES.md 2022-02-10 13:32:05 -08:00
Shane Smiskol dd76cfcf28
GM: Fix noisy brake pressed (#23712)
* GM: Use ECMEngineStatus.Brake_Pressed

* consistent style

* add TODO

* bump panda

bump panda

* it should

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-02-10 13:08:19 -08:00
Adeeb Shihadeh bfdfa4be05 bump panda 2022-02-10 13:05:40 -08:00
Shane Smiskol 209bfe536b
Honda: fix brake pressed signal (#23683)
* or brake_switch

* remove car exceptions

* Revert "remove car exceptions"

This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.

* does have ts noise, use updated

* bump panda for tests

* bump

* messsssy draft

* clean up

* clean up

* bump

* CS: process all messages at once, like we do during real openpilot usage

* handle multiple messages updated in one cycle

* bump

* bump

* use less confusing, but equivalent cp.vl

* Update selfdrive/test/test_models.py

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

* no msg

* bump opendbc

* Update selfdrive/car/honda/carstate.py

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

* same test logic

* add brake_switch_prev to class

* need to set previous brake switch when not lagging (most of the time)

* need to compare

* only update previous if updated this cycle

rm

* need to maintain previous active state

* move brake_switch

* bump opendbc

* bump

* bump

* bump

* bump

* bump

* bump

* bump opendbc

* rename

* oops

* bump opendbc

* bump

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-02-10 13:04:37 -08:00
Adeeb Shihadeh 5d34c4c66b disable macos CI for now 2022-02-10 12:57:18 -08:00
Willem Melching f2eb84eef0
handle usb error in reading panda state (#23686) 2022-02-10 13:52:24 +01:00
Willem Melching 955c7435f8
fix UI segfault when starting onroad and receiving radarState before modelV2 (#23739) 2022-02-10 13:52:03 +01:00
Vivek Aithal 8a2cbfe00b
paramsd: fix VehicleModelInvalid errors (#23726)
* bound steerratio, stiffness std

* remove start steer_ratio limits after looking at data

* reduce sf obs noise

* update refs

* update refs

* add comment explaining change
2022-02-09 17:37:28 -08:00
Adeeb Shihadeh d0060a9d9b script to disable power save 2022-02-09 13:39:17 -08:00
Willem Melching 4e4cb07297
ui: configure tethering based on prime type (#23733)
* Store prime type in param

* set tethering metric based on prime type

* update existing connections

* returning zero is fine

* always set

* add callback on activate

* call systemctl

* match server enum

* add delay

* assume field is there

* snake case
2022-02-09 20:27:58 +01:00