Commit Graph

6054 Commits

Author SHA1 Message Date
ZwX1616 de4031c98e DM: more precision running on DSP + e2e outputs (#23900)
* update cereal

* run but not use

* log distraction type

* regression scaling

* clean up naming

* add calib buf

* add to header

* fake model

* no calib model

* adjust threshs

* 018a305f

* fix bn

* tweak1

* tweak2

* 0ff2/666

* tweak3

* t4

* t5

* fix out of bound

* skip when replaying old segments

* update ref

* fix onnxmodel

* get calib

* update model replay refs

* up ref
2022-03-15 19:02:21 -07:00
Adeeb Shihadeh 7deba690e2 Honda: fix possible controls mismatch on Nidecs (#23973)
* Honda: fix possible controls mismatch on Nidecs

* bump panda
2022-03-15 17:55:15 -07:00
Vivek Aithal dfc1292614 locationd: Commissue fix (#23951)
* check allAliveAndValid only at filter init

* revert cereal and bugfix test

* rename filterValid to filterInitialized

* bump cereal

* correct err

* update refs
2022-03-15 14:40:29 -07:00
cydia2020 d7c758d4bf Toyota: parking brake state (#23970) 2022-03-14 19:19:31 -07:00
Adeeb Shihadeh ae19308e83 add parkingBrake to carState (#23968)
* add parkingBrake to carState

* fix gm
2022-03-14 16:32:20 -07:00
Adeeb Shihadeh 8718a59330 cleanup selfdrive/test (#23967)
* move test routes and test_models

* move fingerprints

* little more

* remove that
2022-03-14 15:46:16 -07:00
George Hotz fa4b434e43 camerastream: update receive.py with some options 2022-03-14 15:02:42 -07:00
George Hotz 814741dafe thermald: use named thermal zones (#23936)
* thermald: use named thermal zones

* remove print

* and for c2

Co-authored-by: Comma Device <device@comma.ai>
2022-03-14 14:45:50 -07:00
Gijs Koning 57b6fdc17a Rename RGB vision streams to match YUV streams (#23961)
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER

* little more

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-14 14:03:54 -07:00
Gregor Kikelj 08c2d066cf Improve style in drive_helpers (#23962) 2022-03-14 14:03:28 -07:00
Adeeb Shihadeh f1aab78d08 longitudinal MPC: add MAX_T in T_IDXS_LST (#23960)
* longitudinal MPC: add MAX_T in T_IDXS_LST

* update refs

Co-authored-by: KexianShen <shenkexian@gmail.com>
2022-03-13 21:45:23 -07:00
George Hotz a9b7f3bdd8 12bit only (#23953)
Co-authored-by: Comma Device <device@comma.ai>
2022-03-13 21:43:38 -07:00
Adeeb Shihadeh 5c3f3e44bc break up selfdrive.config (#23959)
* break up selfdrive.config

* add to release files

* fix import order
2022-03-13 21:42:39 -07:00
Adeeb Shihadeh 8f99e59c92 bump panda 2022-03-13 21:26:24 -07:00
Adeeb Shihadeh 8ac30fea24 move pandad to boardd/ (#23958) 2022-03-13 21:21:30 -07:00
Shane Smiskol 629399a449 carControl: add long and lat active fields (#23859)
* proof of concept

* actuators packet describes which actuators are active

* bump cereal

* fixes

* not needed for this PR

* Do Toyota

* add back controlsState.active

* bump cereal

* rest of cars

* in actuators

* add active back

* which

* use controlsState.active for now

* will make an issue

* Update selfdrive/controls/controlsd.py

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

* move local lat_active checks into CC.latActive

* remove redundant checks

* move comment

move comment

* fix joystick mode

* get enabled from carcontrol

* do standstill check in controlsd

* make sure we consider the gas press case for GM

* use CC.actuators

* fix

* capitalization

* Bump cereal

Bump cereal

* make intermediate actuators

* similar convention to before

* clean that up

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-13 20:58:44 -07:00
Adeeb Shihadeh b9484a6a99 cars: remove duplicated cancel logic (#23956) 2022-03-13 20:22:49 -07:00
Adeeb Shihadeh a958213ec7 fix pre-commit install when subdirectories don't have a config 2022-03-13 20:00:23 -07:00
Adeeb Shihadeh d6f6e024b3 no git in CI 2022-03-13 16:37:53 -07:00
Adeeb Shihadeh 8252134e62 install pre-commit hooks for all submodules 2022-03-13 16:18:01 -07:00
George Hotz 69736877d6 add script to receive camerastream supported by camerad 2022-03-11 20:05:59 -08:00
Shane Smiskol 156337475e 2019+ Avalon: allow stop and go (#23952)
* Avalon actually has SNG

* update readme

* Revert "update readme"

This reverts commit 076561a0578bcc626fd6710bc411330ef13334d4.

* update readme

* fix

* variants as it includes hybrids
2022-03-11 19:45:30 -08:00
George Hotz 0adfef0b34 camera_qcom2 refactor (#23946)
* convert camerastate to a class

* more refactor

* do the refactor in file

* put that one back

* those changes can wait

* very minor

Co-authored-by: Comma Device <device@comma.ai>
2022-03-11 13:37:29 -08:00
Jonathan Frey d653dd843a Upstreamed and update acados (#23927)
* change acados version to finalized PR https://github.com/acados/acados/pull/791

* acados: update include and x86_64 build

* acados: update pyextra

* adapt mpc files to updated acados

* acados buid: clear acados_template and include dir before updating

* update acados again

* acados MPC: only generate solver, building is done via scons

* update acados to latest acados/master

* c3 libs

* c2 libs

* acados scons files: add acados build script as a dependency

* acados scons files: add libacados.so and ocp_nlp_interface.h, build script not in files_common

* update acados

* adapts long & lat MPC file

* update acados reference commit to acados/master

Co-authored-by: Comma Device <device@comma.ai>
2022-03-11 11:49:27 +01:00
George Hotz 107156cd58 bump submodules, fix swaglog (#23943) 2022-03-10 18:30:25 -08:00
Adeeb Shihadeh 4f8ff154f3 add table support 2022-03-10 17:54:13 -08:00
Adeeb Shihadeh bcf66c1271 this is pretty nice now 2022-03-10 17:06:13 -08:00
George Hotz 5c5a56c5e6 thneed: a more sane way of doing record/debug (#23938)
Co-authored-by: Comma Device <device@comma.ai>
2022-03-10 16:33:35 -08:00
Adeeb Shihadeh 2c0d68120f positional args are nicer 2022-03-10 14:35:44 -08:00
Adeeb Shihadeh 1680f1e251 can_print_changes improvements 2022-03-10 14:32:19 -08:00
martinl 30ae47de05 Subaru: add FW for 2019 Subaru Impreza Sport (#23945) 2022-03-10 13:01:04 -08:00
Shane Smiskol 4f4f18a648 Ford: add minEnableSpeed (#23940) 2022-03-09 12:40:20 -08:00
George Hotz 0ac4e8227d build: remove /system/comma (#23937) 2022-03-09 10:05:21 -08:00
Willem Melching da5a0c41a0 C3: detect metered Android hotspot (#23734)
* C3: detect metered networks

* show in ui

* fix text layout

* bump cereal

* revert ui changes

* set networkMetered

* add athena method

* add metered logging to uploader

* use in athena uploader

* remove param

* use networkmanager properties to set cell to unmetered

* fix indentation

* no need to check

* bump cereal

* review

* bump cereal
2022-03-09 11:36:52 +01:00
Lee Jong Mun 0b47800e74 ui: white color define (#23930) 2022-03-09 11:24:56 +01:00
Igor Biletksyy c6e0f1a941 bump opendbc 2022-03-08 16:36:41 -08:00
Gregor Kikelj 723560c20f Remove void argument (#23928) 2022-03-08 14:51:27 -08:00
ZwX1616 51638bfe4d DM: update wheeltouch timeouts to match EU guidelines (#23925)
* update time to match 15/30

* add ref
2022-03-08 13:11:39 -08:00
Igor Biletskyy 0b64ddb678 panda.cc: add panda deep sleep mode(#23911)
* needed for panda deepsleep mode

* add set_deepsleep to panda.cc

* rename to enable_deepsleep

* remove void

* fix value

* bump panda
2022-03-07 18:55:16 -08:00
Adeeb Shihadeh ab8c4f0396 real can table column header 2022-03-07 17:21:07 -08:00
Robbe Derks 9facd366fb Add --dbc argument to plotjuggler (#23919)
* add --dbc argument

* Update tools/plotjuggler/juggle.py

* update readme

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-07 16:04:02 -08:00
Adeeb Shihadeh 41d8395729 jenkins: don't rely on SSH params (#23924)
* jenkins: don't rely on SSH param

* better ssh enabling

* fix path

* fix that
2022-03-07 15:57:18 -08:00
Adeeb Shihadeh 6ff643c478 Honda: remove redundant steer fault check (#23920) 2022-03-07 10:37:23 -08:00
xx979xx da50930450 tools: add MultiLogIterator example to readme (#23917)
* update LogReader doc

use MultiLogIterator to read the entire route, get timestamps and deal with exceptions

* bring back the old example

* clean f-strings

* simplify

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-07 10:04:41 -08:00
royjr 82bc052dc6 UI: remove redundant condition (#23918) 2022-03-07 09:57:32 -08:00
Chris Frank b9541d66c0 HKG: Add FW for 2022 Hyundai Santa Fe (#23889)
* 2022 Hyundai Santa Fe fingerprint

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Chris Frank <chrsfr@users.noreply.github.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-03-07 13:13:00 +01:00
Willem Melching f7fa712b69 bump cereal 2022-03-07 11:50:26 +01:00
Willem Melching bd3eab62a2 bump cereal 2022-03-07 11:06:07 +01:00
Willem Melching 492398826f modeld: sync based on frame timestamp (#23901)
* sync based on frame ts

* log extra frame id

* ints only

* update ref

* no rounding errors
2022-03-07 10:46:15 +01:00
Willem Melching 37a8b09cad lower model FCW + stock longitudinal threshold to -1.25m/s^2 (#23915) 2022-03-07 10:42:07 +01:00