Commit Graph

6361 Commits

Author SHA1 Message Date
Shane Smiskol beeb0442ce base LatControl class (#21967)
* base LatControl class, move sat check out of pid.py

clean up

clean up

* fix

* global variable for min control speed

* nicer name

* unify latcontrol class init arguments

* add to release files

* saturated if close to limit

* move angle mode saturation checks into class

* check_saturation function takes in current saturated status

undo

* apply latcontrol_angle's active checking to all controllers

* clean up

* move those back

* make abstract baseclass

* add test for saturation

* keep clip

* update ref

* fix static analysis

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9de8f8cd8c384596868edf3307da51819b28bb4b
2022-01-26 17:10:41 +01:00
Ryan d947f4ff5b athena: unsuccessful upload handler requests. (#23620)
* Retry unsuccessful upload handler requests.

* test both cases

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1d4191956b117483a32e5fe217ff78a612976a80
2022-01-26 15:23:59 +01:00
Willem Melching 772f394423 Revert "collect C++ code coverage (#23619)"
This reverts commit a97b2e613b275f407576ddb3d7a3bd52b05f612a.

old-commit-hash: a62e9140908f40f6966d977373e9d458bd9a53d2
2022-01-26 10:59:21 +01:00
Shane Smiskol dc20ab6c42 Toyota: add fw for 2020 Lexus UX250h (#23626)
old-commit-hash: 173c3ae3a9ec77493527ccaa2844e2cdf14d651f
2022-01-25 22:20:03 -08:00
Adeeb Shihadeh 543860d318 manager: don't start uploader with dongle id
old-commit-hash: 818d4a0a96cce12d9952c0a111f755fe7ac9fdc1
2022-01-25 15:42:38 -08:00
Willem Melching 6c89b62dd9 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
old-commit-hash: 698ab6ac97bef2a00e0a6fa8111a5a0556a064d2
2022-01-25 23:15:24 +01:00
Willem Melching b8c3aab0d8 use codecov action (#23618)
* use codecov action

* convert to xml

* also coverage in longitudinal test

* fix typo
old-commit-hash: ea2da86e81927abfc3ac75d2f7516f501e73b2ae
2022-01-25 14:57:47 +01:00
Shane Smiskol a790a658f8 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>
old-commit-hash: 6be70a063dfc96b9e9f097f439bdc2e0be54d6d9
2022-01-25 13:40:03 +01:00
Shane Smiskol 183715ccea 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>
old-commit-hash: 31d147dca2ada336d14c08ae35f5af510c309730
2022-01-25 12:09:13 +01:00
Willem Melching 87735a44ba bump panda
old-commit-hash: 4e87b2b5276474b4d11336b54df65464726b603c
2022-01-25 11:50:44 +01:00
Willem Melching 4344b45e4f bump panda and cereal
old-commit-hash: b5b70ca4d482dbf9afe701a9d5b4c22d1506c8a4
2022-01-25 11:36:26 +01:00
Kevin Robert Keegan 6d8a141938 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.
old-commit-hash: 347583d4238d31dbd042d963b0dd37e3028bbd10
2022-01-25 11:13:59 +01:00
Adeeb Shihadeh d07d22c9b9 controlsd: remove redundant condition
old-commit-hash: e50efd7671e8c6a69f50eab794d33fa0c27b5196
2022-01-24 21:28:30 -08:00
vanillagorillaa 455fd17008 Honda: Merge Pilot_2019 into Pilot (#23590)
* merge pilot

* these weren't on the 2019 pilot

* add non essential ECUs
old-commit-hash: 4f827e2e9e62944dd804268780ffd410c3e628c1
2022-01-24 21:19:40 -08:00
Adeeb Shihadeh 1c4b6e38e9 loggerd: less error logging
old-commit-hash: 652ef27a7270ad770d8331347cffb2e3a4c07b45
2022-01-24 21:15:14 -08:00
Adeeb Shihadeh f96d34902f GM: use generated DBC (#23615)
* Rename GM PT dbc to generated

* bump opendbc

Co-authored-by: Jason Shuler <jshuler@gmail.com>
old-commit-hash: cdd3598146c9e06362683e2993af730157abf0b6
2022-01-24 20:51:57 -08:00
Adeeb Shihadeh badf4dff4f 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
old-commit-hash: b18c4eeb82f94a655c46e50750debcb37b49a598
2022-01-24 15:43:10 -08:00
Adeeb Shihadeh f8d4a599db tools: auto plotjuggler install
old-commit-hash: f295d51fe9c825150e46a1ba3244372258ba2877
2022-01-24 15:32:27 -08:00
Adeeb Shihadeh 6501708ad8 remove ridgeline DBC from release files
old-commit-hash: f006e392ad98e1b5aded1c1f60878f6c12af1eba
2022-01-24 15:18:17 -08:00
Adeeb Shihadeh 70f1418256 remove community features toggle (#23214)
* remove community features toggle

* bump cereal

* little more

* update refs
old-commit-hash: 3e9cb7fa12b5f686fdcf6122ef5979d01c41f0a3
2022-01-24 14:49:47 -08:00
Dean Lee 5752972827 RawLogger: downscale qcamera before encoding (#23607)
old-commit-hash: a4fefdcb945656fba180825e01f8ea7f38e066a6
2022-01-24 13:41:44 -08:00
Willem Melching 43ec802122 thermald: increase kmsg loglevel to end up in console-ramoops-0
old-commit-hash: 1a96886dd1396f5ae52373570402f6d5819a401a
2022-01-24 13:19:48 +01:00
Willem Melching cb45784238 process replay: disable alive checks for cpp replay
old-commit-hash: c51561c2ca716b88dd68a7e2d6937e590719ae2b
2022-01-24 12:06:43 +01:00
Dean Lee 0d468d6253 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 c3f1a7cee87804993ce8f5fd5939570a8e9ffd3a.
old-commit-hash: 1e906366f8439e3ef3f4f8fc01e2f2ec0f951a86
2022-01-22 13:49:03 -08:00
Jakob Murko 903863050b VW MQB: Add FW for 2015 Golf 7 2.0 TDI (#23603)
old-commit-hash: 2e6e566a7dc69c8da174060d83352c3e556f9698
2022-01-22 13:21:44 -08:00
Kento Tokuhiro 6cc3a5dcd1 Toyota: add fwVersion for 2018 CHR (#23604)
old-commit-hash: 0a5115d7750fc1e27dd4caf46c6ff50752b7a5d8
2022-01-22 13:20:04 -08:00
Adeeb Shihadeh 2e291cdddb profiler setup
old-commit-hash: 3305a6f5b9b5830a63033465e744d677c3933d3a
2022-01-21 21:59:40 -08:00
Adeeb Shihadeh 69e4c76089 bringing the android to agnos
old-commit-hash: 1e955b33ac73122d6311aa0c3df967e5257ed13c
2022-01-21 21:25:23 -08:00
Dean Lee 384e46644d camerad: cleanup main.cc (#23593)
* cleanup main.cc

* fix  ae_gray_test build errors
old-commit-hash: 61383dcc4289d3e976134495ad068fa4af5231a2
2022-01-21 16:19:50 -08:00
Dean Lee e3cc66beff ui: fix lead vertex coordinates (#23550)
old-commit-hash: bca92a95cc9fe3b83ead7ed604ad2f6fd3f8b0c1
2022-01-21 15:14:18 -08:00
Ryan 0dbb4fb3b0 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>
old-commit-hash: aa9e635311c4149b196f0c03afcb89d24106a62b
2022-01-21 15:11:16 -08:00
Robbe Derks caf4a4c8b8 save dongleid as value to limit cardinality (#23594)
old-commit-hash: 0f95e605f562b9cdb599882328c863031e86ac5a
2022-01-21 17:10:43 +01:00
Willem Melching 962201fff1 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
old-commit-hash: d3d10e014a69f77d3f67c8d01100b03fde8ab034
2022-01-21 13:13:34 +01:00
Adeeb Shihadeh 3aaf423dde NEOS 19 (#23586)
* NEOS 19

* prod manifest
old-commit-hash: 6a9514570cfeb2bf9b15929b2a6d3748ff2eb9a6
2022-01-21 00:12:33 -08:00
Adeeb Shihadeh 686a34fd32 androidd: track system_server too
old-commit-hash: a4f4d4c2cdd580917a0da5ce627e0a26feb56519
2022-01-20 14:37:15 -08:00
Harald Schafer 490f9efc7d Update refs for PR:#23584)
old-commit-hash: 920829875f87956fe6d0441cc2fa3a81d366b77a
2022-01-20 14:24:36 -08:00
Jason Young 6f8443ce26 VW MQB: Update steering angle and actuator delay (#23584)
old-commit-hash: d898cccaa7d772c92c8128092d42898607b08a40
2022-01-20 14:00:05 -08:00
Adeeb Shihadeh 5a5ef1bf74 androidd cloudlogs are errors
old-commit-hash: fc8d402713f1b84b3e75067f09794236852f4f20
2022-01-19 23:48:02 -08:00
Adeeb Shihadeh b0071e3742 Honda: use Pilot DBC for Ridgeline
old-commit-hash: 5b2d2f31ef1f63cbe778e6542104128b9c8bfad8
2022-01-19 22:11:21 -08:00
cydia2020 7b12bfbd9d 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>
old-commit-hash: f85a75cf542bbb05b929b959cb566d3f941410ea
2022-01-19 17:05:24 -08:00
Dean Lee 75a22388c7 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>
old-commit-hash: 22d43211d9bc828ea4e6bd6b84d865a597825eda
2022-01-19 13:55:02 -08:00
cydia2020 3b1b0a4dbf 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>
old-commit-hash: 783db0cf33bcf903c1ca6a58b2cb0bb9fd136b11
2022-01-19 11:46:07 -08:00
cydia2020 c607c5d30b 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>
old-commit-hash: f32f53540e9d4580a2d3e9fefda292b8a109d701
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 54c25aab2b fix suffix
old-commit-hash: 7a0e9d5b4ec8fd910d3309e80b0d7bb8e634f0ad
2022-01-19 10:55:41 -08:00
Adeeb Shihadeh 0786e943ce these dbcs are the same
old-commit-hash: 14e45df1c3be3f84ee29bbbcb437647098d4102d
2022-01-19 10:47:13 -08:00
Adeeb Shihadeh 33724d45f4 bump opendbc
old-commit-hash: 22d6c054e3e3316011721b6885dcab286fdd0985
2022-01-18 19:34:40 -08:00
Dean Lee c6b88e5d7b dmonitoringd: remove duplicate call on update when driver engaged (#23539)
old-commit-hash: d3505fb8c7bb26dbb9231832b8772fb97650928f
2022-01-18 18:27:21 -08:00
Michael Honan f69493e6a9 FW for Toyota Highlander 2021 Hybrid (#23571)
old-commit-hash: f239a50f4eae6fa0d95b89d7eaba85ac4e14deee
2022-01-18 17:55:17 -08:00
Willem Melching 139000950b dmonitoringd: make real-time process (#23554)
* dmonitoringd: make real-time process

* Update selfdrive/monitoring/dmonitoringd.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d31ff2cf496563f2ed4d8bc5ca45d06bb6df7831
2022-01-18 13:39:11 -08:00
Erich Moraga bb50cfa72a Add missing ALPHARD_TSS2 f/w (#23567)
old-commit-hash: acb17e2e01c9774f4f3d5d64195fdccf7835f5b1
2022-01-18 13:37:21 -08:00