Commit Graph

6115 Commits (master)

Author SHA1 Message Date
Adeeb Shihadeh 036c1799d4 Toyota: DBC rename 2022-01-27 11:44:57 -08:00
Adeeb Shihadeh 4c765acb6e Toyota: use common DBC for IS and RC 2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 9a211ee14b Toyota: remove Prius DBC 2022-01-27 08:59:16 -08:00
Adeeb Shihadeh 2f01bf3b6f Toyota: unify TNGA-K platform DBCs 2022-01-27 08:52:24 -08:00
Adeeb Shihadeh b321d65cac Toyota: CT200H DBC merged into Rav4 2022-01-27 08:43:40 -08:00
Robbe Derks 6366d1303f
Statlog in C (#23596)
* statlog in C

* fix swaglog and the test

* add missing files

* fix context initialization todo

* speed up test
2022-01-27 17:14:38 +01:00
Willem Melching ee71fd2fcc
clip steer saturation counter to steerLimitTimer (#23638)
* clip steer saturation counter to steerLimitTimer

* update ref
2022-01-27 12:31:36 +01:00
Willem Melching 6a9a573296
tesla: fix actuatorsOutput logging (#23637) 2022-01-27 11:46:35 +01:00
Adeeb Shihadeh 2240b802be
Toyota: Prius V 2017 support (#23636)
* Add Toyota Prius Alpha support

* Fix opendbc link

* Update interface.py

* v

* revert opendbc

Co-authored-by: CT921 <tim.chen242@gmail.com>
Co-authored-by: 【TIM】 <90225659+CT921@users.noreply.github.com>
2022-01-26 22:57:26 -08:00
Adeeb Shihadeh 33c8468e02 Toyota: rav4 DBC is same as corolla now 2022-01-26 22:13:51 -08:00
Shane Smiskol 3c62d9da09
Toyota: Move EPS torque factor to openpilot (#23635)
* use scaling

* or we can do it this way

* define default in one place

* just specify

* Revert "just specify"

This reverts commit 40b7b28f84.
2022-01-26 22:08:04 -08:00
George Hotz cb6a68373b
Prepare for using the ISP (#23621)
* parse out isp packet with structs

* dsp mode

* support only driver / comments for yuv

* minor touchups

* DEBUG_FRAMES

Co-authored-by: Comma Device <device@comma.ai>
2022-01-26 19:25:05 -08:00
Adeeb Shihadeh 013cccf6a8 update refs 2022-01-26 17:46:12 -08:00
Shane Smiskol 14133069e1
Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

* no longer exists
2022-01-26 17:10:32 -08:00
Igor Biletskyy 703efb9275
Panda: check libusb_open status (#23622) 2022-01-26 11:50:05 -08:00
Adeeb Shihadeh 8b5b0ae341
sentry improvements (#23627)
* sentry: filter out unregistered devices and PC

* add daemon name
2022-01-26 11:44:10 -08:00
Willem Melching cf9eee4272
INDI: replace internal rate limit by actuatorsOutput (#23243)
* INDI: replace internal rate limit by actuatorsOutput

* update ref
2022-01-26 17:45:05 +01:00
Willem Melching 5ac32705d0
compare_logs: catch typeError (#23632) 2022-01-26 17:13:32 +01:00
Shane Smiskol 9de8f8cd8c
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>
2022-01-26 17:10:41 +01:00
Ryan 1d4191956b
athena: unsuccessful upload handler requests. (#23620)
* Retry unsuccessful upload handler requests.

* test both cases

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-26 15:23:59 +01:00
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