Commit Graph

6044 Commits

Author SHA1 Message Date
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
Jason Young
7fc1b7dc0a VW MQB: Add FW for 2022 Volkswagen Tiguan (#23913) 2022-03-06 10:51:26 -08:00
Jason Young
ab8f3c4c12 VW MQB: Add FW for 2020 Volkswagen Jetta (#23908) 2022-03-05 15:40:48 -08:00
Jason Young
3d36c1c702 VW MQB: Add FW for 2018 Škoda Octavia (#23909) 2022-03-05 15:40:37 -08:00
Adeeb Shihadeh
c65ca6ab1d mac setup: add catch2 2022-03-05 15:29:06 -08:00
Jason Wen
2928507f44 Remove KIA_NIRO_HEV_2021 from STEER_MAX = 255 blacklist (#23906) 2022-03-03 21:10:03 -08:00
Shane Smiskol
274885fc4d controlsd: fix vCruise jumping on pcmCruise cars (#23388)
* clean up v_cruise_kph

fix

fix

* Revert "clean up v_cruise_kph"

This reverts commit 211b5c3dbe073414ef5c39b19d6d2c6e8de2cf0b.

* always update vCruise and don't init if pcmCruise

* revert change

* update refs
2022-03-03 05:23:14 -08:00
Shane Smiskol
7254db3906 LongControl: fix control state oscillation (#23333)
* check if plan is to accelerate or not

* remove comment

* needed to see it

needed to see it

* test logic with Toyota TSS2

* hackily log conditions

* Revert "hackily log conditions"

This reverts commit 7a6b5691e2b982c7a1e3911d980fb7530647affd.

Revert "test logic with Toyota TSS2"

This reverts commit e583d6e3caaa5f5b896165cd7949dfc1caabfd9a.

order

* revert

* fix
2022-03-03 03:27:24 -08:00
Jonathan Frey
ab371f888a Longitudinal MPC set qp tolerance to 1e-3 (#23899)
* initialize solverExecutionTime longitudinal_planner

* test_onroad: improve timing evaluation

* longitudinal MPC: set qp_tol to 1e-3

* update ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-03-02 21:38:40 -08:00
Jonathan Frey
1801baba68 remove trivial terminal constraint and associated CasADi generated functions (#23898)
* remove trivial terminal constraint and associated CasADi generated functions

* Update refs

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-03-02 20:53:21 -08:00
George Hotz
8d6f49aecf model: mse err from 0.02-> 0.000056 (#23891)
* mse err from 0.028070712 -> 5.8073703e-05

* build with weights fixup

* need thneed lib also

* don't break for binaries

* static analysis says i need init

* check the bias

* load_dlc_weights

* nicer scons

* tested scons

* fix static

* pylint issue

* new ref

* a few more asserts

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-03-02 20:52:17 -08:00