Commit Graph

5795 Commits (a62e9140908f40f6966d977373e9d458bd9a53d2)

Author SHA1 Message Date
Willem Melching a62e914090 Revert "collect C++ code coverage (#23619)"
This reverts commit 698ab6ac97.
2022-01-26 10:59:21 +01:00
Shane Smiskol 173c3ae3a9
Toyota: add fw for 2020 Lexus UX250h (#23626) 2022-01-25 22:20:03 -08:00
Adeeb Shihadeh 818d4a0a96 manager: don't start uploader with dongle id 2022-01-25 15:42:38 -08:00
Willem Melching 698ab6ac97
collect C++ code coverage (#23619)
* collect cpp coverage

* install llvm

* compile with coverage

* cd to root

* remove broken gcda files

* remove newline

* delete more stuff

* script to collect coverage

* Update tools/collect_coverage.sh

* actually delete
2022-01-25 23:15:24 +01:00
Willem Melching ea2da86e81
use codecov action (#23618)
* use codecov action

* convert to xml

* also coverage in longitudinal test

* fix typo
2022-01-25 14:57:47 +01:00
Shane Smiskol 6be70a063d
LateralPlanner: Move lane change logic to another class (#23476)
* should work

* Revert "should work"

This reverts commit dabc2ea17a072a6c835e4bd1c75a2c1e2d10623d.

* move lane change logic to DesireHelper class

* clean up desires

clean up desires

* comments

* Revert "clean up desires"

This reverts commit 7301c921e305fcbd4746b19040631d935d50dfd9.

* Update selfdrive/controls/lib/desire_helper.py

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

* add to files_common

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-25 13:40:03 +01:00
Shane Smiskol 31d147dca2
controlsd: verify unsafe mode consistency (#23563)
* add unsafe mode check to controlsd

bump submodules

forgot to add to health_t struct

bump

ahh forgot to set it!

bump

bump

clean up

clean up

bump

* fix ordering

* move to end

* unsigned

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-25 12:09:13 +01:00
Willem Melching 4e87b2b527 bump panda 2022-01-25 11:50:44 +01:00
Willem Melching b5b70ca4d4 bump panda and cereal 2022-01-25 11:36:26 +01:00
Kevin Robert Keegan 347583d423
Use Wide Road Camera as Light Sensor for Screen Brightness (#23610)
Using the narrow camera as a light sensor meant that the
reflection of our own headlights, tail lights, and head lights
of opposing vehicles dominated the sensor value at night
even though the broader overall scene is very dark.

This has very little effect during daylight hours.  The change
affects nightime driving the most, resulting in a dimmer
screen when it is dark.

I think this makes more sense as the wide angle camera's
field of view is much closer to the human eye's field of
view than the narrow road camera.
2022-01-25 11:13:59 +01:00
Adeeb Shihadeh e50efd7671 controlsd: remove redundant condition 2022-01-24 21:28:30 -08:00
vanillagorillaa 4f827e2e9e
Honda: Merge Pilot_2019 into Pilot (#23590)
* merge pilot

* these weren't on the 2019 pilot

* add non essential ECUs
2022-01-24 21:19:40 -08:00
Adeeb Shihadeh 652ef27a72 loggerd: less error logging 2022-01-24 21:15:14 -08:00
Adeeb Shihadeh cdd3598146
GM: use generated DBC (#23615)
* Rename GM PT dbc to generated

* bump opendbc

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2022-01-24 20:51:57 -08:00
Adeeb Shihadeh b18c4eeb82
Toyota: move gas pedal definitions into common DBC (#23582)
* Toyota: move gas pedal definitions into common DBC

* add rest of cars

* auto detection

* cleanup

* update refs
2022-01-24 15:43:10 -08:00
Adeeb Shihadeh f295d51fe9 tools: auto plotjuggler install 2022-01-24 15:32:27 -08:00
Adeeb Shihadeh f006e392ad remove ridgeline DBC from release files 2022-01-24 15:18:17 -08:00
Adeeb Shihadeh 3e9cb7fa12
remove community features toggle (#23214)
* remove community features toggle

* bump cereal

* little more

* update refs
2022-01-24 14:49:47 -08:00
Dean Lee a4fefdcb94
RawLogger: downscale qcamera before encoding (#23607) 2022-01-24 13:41:44 -08:00
Willem Melching 1a96886dd1 thermald: increase kmsg loglevel to end up in console-ramoops-0 2022-01-24 13:19:48 +01:00
Willem Melching c51561c2ca process replay: disable alive checks for cpp replay 2022-01-24 12:06:43 +01:00
Dean Lee 1e906366f8
ui/setup: check http status code (#23597)
* check resp code

* always cleanup curl and close file

* curl_global_init

* space

* cleaner

* Revert "curl_global_init"

This reverts commit c3f1a7cee8.
2022-01-22 13:49:03 -08:00
Jakob Murko 2e6e566a7d
VW MQB: Add FW for 2015 Golf 7 2.0 TDI (#23603) 2022-01-22 13:21:44 -08:00
Kento Tokuhiro 0a5115d775
Toyota: add fwVersion for 2018 CHR (#23604) 2022-01-22 13:20:04 -08:00
Adeeb Shihadeh 3305a6f5b9 profiler setup 2022-01-21 21:59:40 -08:00
Adeeb Shihadeh 1e955b33ac bringing the android to agnos 2022-01-21 21:25:23 -08:00
Dean Lee 61383dcc42
camerad: cleanup main.cc (#23593)
* cleanup main.cc

* fix  ae_gray_test build errors
2022-01-21 16:19:50 -08:00
Dean Lee bca92a95cc
ui: fix lead vertex coordinates (#23550) 2022-01-21 15:14:18 -08:00
Ryan aa9e635311
Add more type hinting (#23595)
* Add more type hinting.

* Revert joystick_alert changes.

* Add typing to statsd.

* Update selfdrive/statsd.py

* Update selfdrive/test/test_fingerprints.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-21 15:11:16 -08:00
Robbe Derks 0f95e605f5
save dongleid as value to limit cardinality (#23594) 2022-01-21 17:10:43 +01:00
Willem Melching d3d10e014a
Ensure controlsd can engage again in process replay (#23556)
* hacks to make process replay engage again

* dont change that

* enable engagement check again

* chmod +x

* first working regen

* proper logMonoTime

* fix video framerate consistency

* mpc is valid again

* proper alive checks

* revert loggerd change

* ensure engaged in regen, fix managerState, peripheralState

* ubloxRaw is unused

* add submaster config for gm

* regen all services we can run without HW

* fix loggerd

* loggerd: matroska without the extension

* update ref
2022-01-21 13:13:34 +01:00
Adeeb Shihadeh 6a9514570c
NEOS 19 (#23586)
* NEOS 19

* prod manifest
2022-01-21 00:12:33 -08:00
Adeeb Shihadeh a4f4d4c2cd androidd: track system_server too 2022-01-20 14:37:15 -08:00
Harald Schafer 920829875f Update refs for PR:#23584) 2022-01-20 14:24:36 -08:00
Jason Young d898cccaa7
VW MQB: Update steering angle and actuator delay (#23584) 2022-01-20 14:00:05 -08:00
Adeeb Shihadeh fc8d402713 androidd cloudlogs are errors 2022-01-19 23:48:02 -08:00
Adeeb Shihadeh 5b2d2f31ef Honda: use Pilot DBC for Ridgeline 2022-01-19 22:11:21 -08:00
cydia2020 f85a75cf54
Toyota: LKAS_HUD expansion (#23573)
* bump opendbc

* add lkas_hud messages

* Remove duplicate

* bump opendbc

* fix comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 17:05:24 -08:00
Dean Lee 22d43211d9
loggerd: make test_loggerd.py run on PC (#23574)
* run on PC

* set frameId

* remove todo

* rawlogger: remove suffix mkv

* remove unused import PC

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 13:55:02 -08:00
cydia2020 783db0cf33
Toyota: unify Sienna, Avalon, Highlander Lexus NX, Lexus RX into single DBC (#23577)
* remove sienna dbc

same as avalon

* rx and nx are also the same as avalon

* highlander can also use avalon's dbc

* bump opendbc

* rename avalon to tnga-k

* pt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 11:46:07 -08:00
cydia2020 f32f53540e
Toyota: use single DBC for Lexus NXH, Lexus RXH, HighlanderH, Rav4H (#23576)
* use rav4h dbc for nx

also bump opendbc

* remove from release file

* same with highlander

* bump opendbc

* rav4h -> tngakh

also rxh

* bump opendbc

* bump again

* remove from release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 7a0e9d5b4e fix suffix 2022-01-19 10:55:41 -08:00
Adeeb Shihadeh 14e45df1c3 these dbcs are the same 2022-01-19 10:47:13 -08:00
Adeeb Shihadeh 22d6c054e3 bump opendbc 2022-01-18 19:34:40 -08:00
Dean Lee d3505fb8c7
dmonitoringd: remove duplicate call on update when driver engaged (#23539) 2022-01-18 18:27:21 -08:00
Michael Honan f239a50f4e
FW for Toyota Highlander 2021 Hybrid (#23571) 2022-01-18 17:55:17 -08:00
Willem Melching d31ff2cf49
dmonitoringd: make real-time process (#23554)
* dmonitoringd: make real-time process

* Update selfdrive/monitoring/dmonitoringd.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-18 13:39:11 -08:00
Erich Moraga acb17e2e01
Add missing ALPHARD_TSS2 f/w (#23567) 2022-01-18 13:37:21 -08:00
Jonathan Frey 0681474840
work on acados lateral MPC (#23558)
* lat_mpc: make v_ego, rotation_radius parameters instead of states

* lat_mpc: remove rotation_radius argument, since it is part of the parameters

* lat_mpc: use qp_solver_cond_N = 1

slightly faster and in line with case study in Fig. 2/ 3 in Frison2016 - https://cdn.syscop.de/publications/Frison2016.pdf
An Efficient Implementation of Partial Condensing for Nonlinear Model Predictive Control

* adapt test_lateral_mpc to formulation with parameters

* lat_mpc: set parameters in reset() and copy values

* acados_ocp_solver_pyx: make options_set useable

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-18 09:49:48 -08:00
Willem Melching 5b385c34a4 thermald refactor seems to have lower CPU usage 2022-01-18 16:17:54 +01:00