Commit Graph

4671 Commits (master)

Author SHA1 Message Date
Dean Lee 4e0c08c0a6
WifiManager: fix crash if no wifi device found (#23701) 2022-02-03 15:33:29 -08:00
Jason Wen 4715510e91
UI: hide power off button on C3 while onroad (#23689)
* Grey out power button while onroad - comma three only

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-02-03 15:32:57 -08:00
Shane Smiskol fccb80e9a5
GM: remove noisy ignition signal (#23698)
* move BUICK_REGAL to dashcamOnly

* bump to master
2022-02-03 12:32:33 -08:00
Jonathan Frey a39e635b5c
replay: fix pause key doc (#23697) 2022-02-03 09:59:07 -08:00
Adeeb Shihadeh 5a9657cad5
logcat: include all logs since boot (#23692) 2022-02-02 11:33:06 -08:00
Erich Moraga 3e094bc7c4
Toyota: Add missing LEXUS_RX_TSS2 engine & fwdCamera (#23691) 2022-02-01 23:32:40 -08:00
Adeeb Shihadeh edcee81796 manager: kill UI when manager failed to start 2022-02-01 11:06:32 -08:00
Shane Smiskol 31af75f2e3
Toyota: merge Lexus ESH params into similar vehicles (#23673)
* merge LEXUS_ESH

* min and max of all variants
2022-01-31 17:30:48 -08:00
Shane Smiskol 61de3788ff
CANParser: remove rest of default values (#23676)
* forgot honda somehow!

* forgot some more signal defaults
2022-01-31 17:29:55 -08:00
Adeeb Shihadeh e6d8a84578 for those who want to live in the moment 2022-01-31 14:30:40 -08:00
Jafar Al-Gharaibeh 1c31c9b7a3
Mazda: alert when LKAS is disabled (#23288)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update refs

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-30 21:04:07 -08:00
Adeeb Shihadeh af33998335 update refs 2022-01-30 20:46:40 -08:00
Adeeb Shihadeh 602f92fc0e
controlsd: only add startup event until initialized (#23671)
* controlsd: only add startup event until initialized

* update refs

* update again
2022-01-30 20:38:05 -08:00
VAHAMAISEN 9ec99b5230
Toyota: add COROLLA_TSS2 fw (#23661)
* Update values.py

Added Toyota Corolla fingerprint.

* a
2022-01-30 20:04:36 -08:00
Adeeb Shihadeh 8d9afa7171
Log panda signature to param (#23670) 2022-01-30 13:07:05 -08:00
Adeeb Shihadeh c8429f913e
test car models improvements (#23668)
* run on all routes

* min segment length

* invalid

* revert that
2022-01-30 11:17:51 -08:00
Willem Melching 96743c1067
Honda Pilot, Passport, Ridgeline: increase user brake threshold (#23641) 2022-01-30 19:45:24 +01:00
Adeeb Shihadeh d2735d73fc
test car models: fix all panda safety mismatches (#23616)
* remove tolerance

* fix nissan mismatches

* warm up

* remove additional bosch check

* another honda exception

* little more

* Update selfdrive/test/test_models.py
2022-01-29 22:14:27 -08:00
Adeeb Shihadeh 52d4189e96 don't show registration error on pc 2022-01-29 18:10:41 -08:00
Adeeb Shihadeh 5219554b85
Honda: fix controls mismatch for stock PCM configs (#23662)
* Honda: fix controls mismatch for stock PCM configs

* ready to remove

* bump panda
2022-01-29 17:01:26 -08:00
Shane Smiskol a584436328
Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
2022-01-28 22:26:18 -08:00
Adeeb Shihadeh 661d47325a Volkswagen: no actuation while pre-enabled 2022-01-28 19:14:14 -08:00
Adeeb Shihadeh 72e00a0768
No actuation while in pre-enabled state (#23658)
* No actuation while in pre-enabled state

* update refs
2022-01-28 16:03:44 -08:00
Adeeb Shihadeh 8eb6a6a535
Honda: no actuation while in pre-enabled state (#23657)
* Honda: no actuation in pre-enabled state

* Honda: no actuation while in pre-enabled state
2022-01-28 15:28:17 -08:00
Adeeb Shihadeh 2aa2031352 Honda: minor carState cleanup 2022-01-28 14:29:40 -08:00
Adeeb Shihadeh e9cd0a059c
setup: add OS version to user agent (#23656) 2022-01-28 14:21:37 -08:00
Shane Smiskol 95caa5f399
CANParser: consistent style for adding signals/checks (#23646)
* consistent style, like toyota

* typo
2022-01-28 13:20:13 -08:00
Dean Lee fa3a787e9a
replay: fix wrong logging for local route (#23652) 2022-01-28 12:03:19 -08:00
Dean Lee 520c99a050
replay: add test case for local route (#23650)
* add test for local route

* retry download on network error

* sleep 500ms before retry

* read 100 frames

* read more segments from route

* add REQUIRE
2022-01-28 12:02:29 -08:00
Dean Lee 2f91441382
replay: cleanup functions (#23655)
* cleanup function seek

* cleanup signals&slots

* use false

* add comment back
2022-01-28 12:02:11 -08:00
vanillagorillaa 06541abddc
Honda: Merge Passport interface (#23651) 2022-01-27 20:16:13 -08:00
Dean Lee a901104a96
log error on avcodec_receive_frame (#23649) 2022-01-27 19:35:18 -08:00
Adeeb Shihadeh 9dca040ed9
boardd: get health struct from panda (#23648) 2022-01-27 19:22:44 -08:00
Adeeb Shihadeh 43c6ea8e73
boardd: add blocked msg cnt (#23647)
* boardd: add blocked msg cnt

* bump panda

* bump panda
2022-01-27 17:48:24 -08:00
Shane Smiskol 3645186d7c
CANParser: remove default values (#23642)
* draft

* remove rest

* bump

* update radar interfaces

* do rest and formatting

* bump

* fix mising check

* try this

* Revert "try this"

This reverts commit 0d26d9a072.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-27 17:06:18 -08:00
Adeeb Shihadeh fe5056ffd8 Toyota: merge IS and RC params 2022-01-27 16:20:57 -08:00
【TIM】 eaebf01e58
Toyota: Prius V fixups (#23640)
* Fine tune Prius-V control parameter

* Adjust DBC file and enable SNG support

*Adjust the DBC file to CT200H, the parameters of this model are closer to PRIUS V
*Add PRIUS V to NO_STOP_TIMER_CAR list to enable SNG support

* Update interface.py

remove spaces

* Update values.py

Mod DBC to toyota_rav4_2017_pt_generated

* Update values.py

The file has been updated to resolve the conflict and can be directly merged

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-27 15:33:18 -08:00
Dean Lee 3ca8e3653b
replay: ncurses GUI (#23608)
* initial version

* print all message's in ncurses window

* show download progress bar

* move all to class ConsoleUI

* timeline

* improve timeline&stats

* fix logMessage

* add warning indicator

* continue

* cleanup

* cast type to int

* simplify seekToFlag

* more

* <=

* handle enter

* add box to logging window

* fix multiple threads problem

* fix concurrency issues

* draw indicator

* many improvements

* more

* fix multipe threads logging

* stop replay before exit

* use lambda instead of std::bind

* cleanup

* small cleanup

* use carFingerPrint

* don't emit signal in replay::stream

* merge car_events into timeline

* cleanup DonloadStats

* cleanup

* rename carname to carFingerprint

* improve alert

* add comments

* add help functions

templete function

* handle term resize

* display replaying status

* rename to INSTANT

* helper function pauseReplay

* more

* cleanup

use rDebug

* no template

* less colors

* remove function mv_add_str

* use BORDER_SIZE

* tune colors

* add spaces

* apply reviews

use /
2022-01-27 13:17:41 -08:00
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
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
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
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 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
Dean Lee 498d54be9c
boardd: move main() to main.cc for test cases (#23564)
* move main() to main.cc

* move includes back
2022-01-18 14:59:42 +01:00
Willem Melching f76328b426
Log MPC solver time (#23566)
* add solve time to plan output

* add to process replay ignore list

* print in CI
2022-01-18 14:51:03 +01:00
Dean Lee e6a73e400c
camerad: return 0 from main() (#23565) 2022-01-18 14:21:30 +01:00
Erich Moraga 14bb145532
Add missing COROLLA_TSS2 ESP f/w (#23562)
`@Dom#5007`  2022 Corolla ICE  DongleID/route 2517a9ee480ef37f|2022-01-15--09-20-12
2022-01-18 10:42:00 +01:00
Adeeb Shihadeh 59894a6666
clear no entry alerts if engaged (#23559)
* clear no entry alerts if engaged

* fix test
2022-01-17 13:57:53 -08:00
Adeeb Shihadeh 3f89834e4e master and forks aren't dirty 2022-01-17 13:51:30 -08:00
Dean Lee f7932f874d
ui/networking: async dbus calls (#23535)
* async dbus calls

* simplify get ip address

* Revert "simplify get ip address"

This reverts commit 7ade7ec57d.

* cleanup getConnectionPath()

* remove unused functions

* cleanup

* rename to getIp4Address

* clenup class definition
2022-01-17 12:12:58 -08:00
Erich Moraga e38564b154
Add missing CAMRY_TSS2 engine & fwdCamera f/w (#23555)
`@Koda(Sleepy)#4682`  2021 Camry LE (ICE)  DongleID/route  3653e5d0dbd0d7ed|2022-01-16--21-15-20
2022-01-17 18:07:52 +01:00
Dean Lee 5cd103c3d4
controlsd: remove extra space (#23553) 2022-01-17 13:51:44 +01:00
Willem Melching 850a2307d6
thermald: move dbus and other slow calls into thread (#23525)
* split thermald in threads

* small cleanup

* type

* already done that

* add none check

* fix sleep

* shut down on exception
2022-01-17 12:06:37 +01:00
Willem Melching fe0f9aaa4f test_logcatd_android.py: catch unicode decode error 2022-01-17 11:33:26 +01:00
Dean Lee 1221d8887c
swaglog: Fix random test failure (#23546)
* print info

* retry zmq_recv on errors

* get line no from __LINE__

* cleanup

* renmae msg to thread_id
2022-01-16 09:36:52 -08:00
Cameron Clough a6e8d31602
Toyota: fix typo (#23548) 2022-01-16 09:35:53 -08:00
Adeeb Shihadeh cf89ded041 sentry: rotate keys 2022-01-15 10:13:11 -08:00
Adeeb Shihadeh 345c48abbb sentry: rename release environment to release 2022-01-15 09:15:46 -08:00
Dean Lee 6bd0e4b087
ui: fix invalid line vertices on startup (#23541) 2022-01-15 09:09:24 -08:00
Adeeb Shihadeh b63bc89bc9
sentry fixups (#23249)
* set env

* do init in same place

* no sentry for forks

* start session

* start session

* remove that

* val
2022-01-14 15:25:16 -08:00
George Hotz 7e83d9a618
camerad: Out of bounds memory write (#23534)
* parens were totally wrong

* cleaner
2022-01-14 15:22:28 -08:00
Adeeb Shihadeh c6b892fe58 shutdownd is non essential 2022-01-14 11:59:04 -08:00
Dean Lee 43a2674ffc
ui/networking: simplify dbus calls with a helper function (#23531)
* simplify d-bus calls

* move template function to source file
2022-01-14 11:46:45 -08:00
Adeeb Shihadeh 308a6f1730
manager: log exit reason (#23532) 2022-01-14 08:55:51 -08:00
Dean Lee 39d904d2aa
ui/networking: combine connect functions into one (#23522) 2022-01-14 08:42:29 -08:00
Dean Lee 75be1223f8
ui/WifiManager: inherit from QObject instead of QWidget (#23523) 2022-01-14 08:40:39 -08:00
Dean Lee 785180d234
MainWindow::eventFilter: add static keyword for evts (#23521) 2022-01-14 15:28:38 +01:00
Willem Melching b75e410779
boardd: panda_state_thread run closer to 2 Hz (#23529)
* boardd: panda_state_thread run closer to 2Hz

* make explicit
2022-01-14 15:08:39 +01:00
Willem Melching 53ca036006
thermald: let manager handle shutdown (#23528)
* thermald: let manager handle shutdown

* add warning so its actually sent
2022-01-14 14:13:32 +01:00
Willem Melching ed23177898
thermald: remove panda disconnect logic (#23526)
* thermald: remove panda disconnect logic

* keep that
2022-01-14 14:13:18 +01:00
Willem Melching e72eb1d472
thermald: remove brightness setting on ui crash (#23527) 2022-01-14 14:06:21 +01:00
Willem Melching ef3a549fac
thermald: remove modem version log (#23524) 2022-01-14 12:20:12 +01:00
Adeeb Shihadeh 610b99fd68
Log android system shutdown to param (#23520)
* Log android system shutdown to param

* comment

Co-authored-by: Comma Device <device@comma.ai>
2022-01-13 22:40:35 -08:00
Adeeb Shihadeh 8c53adf4ab
swaglog: add daemon name to context (#23518)
* cleanup first

* add daemon name

* add test

* fix

* daemon name
2022-01-13 20:23:08 -08:00
Dean Lee feae37541f
swaglog.cc: add test case. fixed the ctx of the first message is empty (#23226)
* test case

* add to selfdrive_tests.yaml

* fix ctx_j is empty

* check return value too
2022-01-13 20:03:07 -08:00
Dean Lee fd042a5924
controlsd: cleanup parsing android log (#23421)
* cleanup parse android log

* global CSID_MAP

* use generator express

* cleanup

* no walrus

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 19:43:22 -08:00
cydia2020 9f4fd73b52
Toyota: DBC signal renames (#23452)
* rename signals

bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 19:37:39 -08:00
Dean Lee 6dbae9593e
UI: reset interactivity timeout on PC (#23508)
* reset interactive timeout on pc

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 19:20:22 -08:00
Jason Young 57156c4482
Chrysler: remove standstill exception for gas disengage (#23515)
* Chrysler: remove standstill exception for gas disengage

* remove test exception

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 16:06:56 -08:00
Adeeb Shihadeh 2c94f15584
linter: don't allow implicitly concatenated strings (#23513)
* linter: don't allow implicitly concatenated strings

* fix hyundai
2022-01-13 14:19:38 -08:00
Drew Hintz 6d5dce2ed5
Subaru: fix missing commas in fingerprints (#23512) 2022-01-13 14:07:00 -08:00
Willem Melching 15380139ef
pandad: only reset pandas on first run (#23511) 2022-01-13 15:52:59 +01:00
Willem Melching 6d16b0c02b can_printer.py: default no ascii 2022-01-13 15:50:50 +01:00
jonjander fcfea4cadc
Kia Niro EV - replace \000 by \x00 (#23509)
Co-authored-by: Jon Jander <jon.jander@ptj.se>
2022-01-13 15:14:28 +01:00
Dean Lee 48b6dfa15d
controlsd: check self.enabled out of the any() (#23507) 2022-01-13 11:53:04 +01:00
Willem Melching 9e1428fd84
Do not disable loggerd when below 5% space (#23440) 2022-01-13 10:31:37 +01:00
Vivek Aithal f808b174af
use roll std from locationd (#23449)
* use roll std from locationd

* cleaner

* add todo

* new ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-01-12 21:37:09 -08:00
Dean Lee e5f9af4a6e
calibrationd: Don't repeatedly call get_valid_idxs() (#23473)
* optimize

* rpy_init should be np.array

* rename to rpys
2022-01-12 15:34:17 -08:00
Dean Lee de572c3755
calibrationd: fix indentation (#23502) 2022-01-12 14:40:02 -08:00
Adeeb Shihadeh 9941c99f7c process replay: handle inf and nan in absolute tolerance 2022-01-12 13:34:46 -08:00
Shane Smiskol eb9f35946d
Toyota: Support Avalon 2022 (TSS2.5) (#23381)
* Add AVALON_TSS2

* Is TSS2 now!

* Add Avalon to CARS.md

* add to test_routes

add to test_routes
2022-01-12 09:41:07 -08:00
Jason Young b1a226b28b
VW MQB: Add FW for 2022 Volkswagen Atlas (#23501) 2022-01-12 17:23:53 +01:00
Dean Lee dbae5e7601
lateral_planner: use nympy.isnan().any() (#23500) 2022-01-12 15:56:41 +01:00
Willem Melching 79577e4dca
boardd: remove ublox timestamp logging (#23498)
* boardd: remove ublox timestamp logging

* more cleanup

* add cmath
2022-01-12 15:00:46 +01:00
Dean Lee a186bcc9f1
cleanup iterate keys in dictionaries (#23497) 2022-01-12 12:42:50 +01:00
HaraldSchafer 85dcfbbf36
update comment (#23495) 2022-01-11 18:49:53 -08:00
Dean Lee 678732d0ce
AlertManager: cleanup add_many (#23438) 2022-01-11 14:16:52 -08:00
Willem Melching 5fb9c6aa68 thermald has slowly started to use more CPU 2022-01-11 15:40:18 +01:00
Willem Melching 8444f8267d
calibrationd: convert existing calibration to numpy (#23494)
* calibrationd: convert existing calibration to numpy

* use numpy functions
2022-01-11 15:25:01 +01:00
Dean Lee 35ec6ac1cb
use ndarray.tolist to convert numpy array to float (#23485) 2022-01-11 14:34:47 +01:00
Willem Melching 44592f4b0e
statsd: run at 2Hz (#23493) 2022-01-11 14:24:18 +01:00
Shane Smiskol 6e817f9eb5
manager: default driverview to False (#23492) 2022-01-11 14:07:35 +01:00
Shane Smiskol 233a6e4a62
LanePlanner: offsets cleanup (#23459)
* update comments

* model y axis was flipped so flip the offsets as well

* fix
2022-01-10 13:08:45 -08:00
hoomoose ed5e58c48a
Hyundai: use regular Hyundai safety mode and add radar DBC (#23461) 2022-01-10 13:01:58 -08:00
Robbe Derks 1a54d7f6ae
Ignore statsd for running process check (#23483) 2022-01-10 19:54:41 +01:00
Willem Melching 3ce4976db7
thermald: track engaged state in param and kmsg (#23478)
* thermald: track engaged state in param

* write in kmsg

* format string

* move to python
2022-01-10 19:54:07 +01:00
AlexandreSato 779e602de2
add missing toyota fw engine (#23272)
541c7e27e413735c|2021-12-17--14-21-53

Adding fingerprint of a corolla gr here from Brazil
2022-01-10 18:47:51 +01:00
Dean Lee 4208fe018e
LongControl: remove redundant check on active (#23481) 2022-01-10 18:46:02 +01:00
Dean Lee a653461dec
check in tuple instead of list (#23477)
* check in tuple instead of list

* Update selfdrive/car/toyota/carcontroller.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-10 16:36:51 +01:00
Robbe Derks 1b49ce6ec4
Statsd (#23413)
* device side of statsd

* need to start it

* enable in manager

* add sleep

* cleanup

* remove aggregates for now and standardize on industry terms

* manager needs main

* need to have a try/except

* atomic_write_on_fs_tmp does not work

* cleaner

* use dump

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* one file at a time

* limit amount of files

* move to influx line protocol and cleanup

* needs to be a list

* fix timezone bug

* actually rate limit

* add to release

* normalized origin

* also log deviceType

* more stats

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-10 15:21:48 +01:00
Dean Lee 8eec818ae6
events: cleanup function any (#23479) 2022-01-10 14:32:07 +01:00
Robbe Derks 842ba8e5e6
C2 detection (#23439)
* two detection

* fix CI

* catch all

* gotta catch em all
2022-01-10 13:13:52 +01:00
Dean Lee 67af095692
controlsd: check all_valid only if not initialized (#23437)
* check all valid in if statement

* apply review
2022-01-10 12:13:58 +01:00
Dean Lee 2d08f8b318
controlsd: save lat_plan.dPathPoints to local variable (#23462) 2022-01-10 11:27:31 +01:00
Dean Lee b2beb5e6ba
controls: check contents in tuple instead of list (#23463) 2022-01-10 11:26:58 +01:00
Dean Lee f6c6e34ea3
calibrationd: remove extra comma (#23472) 2022-01-09 14:32:33 -08:00
Shane Smiskol 0c075a66db
Toyota: use common DBC for TSSP Camry Hybrid (#23453)
* bump dbc

* use nodsu_hybrid dbc

* remove from files_common

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-08 18:41:05 -08:00
Greg Hogan a0eed0cdd2
hyundai enable radar points script cleanup (#23451) 2022-01-08 07:55:48 -08:00
Willem Melching d77782ea93
CameraView: sync pbo with glFence instead of calling glFinish (#23409)
* CameraView: sync pbo with glFence instead of calling glFinish (#23293)

* Sync pbo with fence

* use std::unique_ptr

* cameraview.cc: call glFlush after creating fence

Co-authored-by: Dean Lee <deanlee3@gmail.com>
2022-01-07 15:24:20 +01:00
Willem Melching c4b36ce11e Revert "ui/update_model: do not recalculate the max_idx If there is no lead (#23356)"
This reverts commit f561d84c62.
2022-01-07 14:31:23 +01:00
Dean Lee 09a835916b
optimize alertmanager (#23433) 2022-01-06 22:15:32 -08:00
Cameron Clough 1de0757c5e
fix typo in athena/registration.py (#23434) 2022-01-06 16:11:32 -08:00
Willem Melching 45280754d6
log ERROR messages in qlogs too (#23425)
* log ERROR messages in qlogs too

* own event

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-06 15:30:04 -08:00
Adeeb Shihadeh 1a6881edc6 skip falling device test 2022-01-06 14:05:13 -08:00
Adeeb Shihadeh ef225e3e35
locationd: disable falling device detector (#23431) 2022-01-06 12:01:14 -08:00
Dean Lee 86d730774d
replay: handle abort in getRemoteFileSize (#23427) 2022-01-06 15:56:14 +01:00
Dean Lee e0338fd77b
controlsd/state_transition: remove redundant check in elif (#23428) 2022-01-06 15:54:19 +01:00
kevinharbin c7fb8f4e32
selfdrive/car/gm/interface.py: fix typo in comment (#23429)
spelling
2022-01-06 15:53:48 +01:00
Adeeb Shihadeh 450656e2a7
GM: move abandoned cars into dashcam only (#23423) 2022-01-05 19:48:06 -08:00
Adeeb Shihadeh a12649564c
Subaru: remove all Pre-Global CAN fingerprints (#23422) 2022-01-05 14:18:38 -08:00
martinl 7faad75a44
Subaru: remove Ascent FPv1 (#23407)
* Remove Ascent FPv1

* bump cereal
2022-01-05 14:16:32 -08:00
Chris McCammon e499ebc711
Hyundai: Add Niro EV to 384 STEER_MAX (#23420)
* Niro EV confirmed working with 384

* SCC + LKAS is standard
2022-01-05 14:14:22 -08:00
Cameron Clough 64caee88eb
replay: add missing import for std::optional (#23416) 2022-01-05 09:19:51 -08:00
Joost Wooning 3ffebf4df5
athena: uploads, show which items fail on error (#23412)
* athena: uploads, show which items fail on error

* fix upload-id

* no more 404

* Update selfdrive/athena/athenad.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-05 18:18:11 +01:00
Willem Melching 8d80c0107f
catch gl_buffer->map() returning nullptr (#23411) 2022-01-05 14:23:57 +01:00
Dean Lee a2e762e0b9
longcontrol: check if speeds is empty (#23410)
* check if speeds is empty

* move into existing check

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-05 14:23:08 +01:00
Adeeb Shihadeh 25f51470fc Revert "CameraView: sync pbo with glFence instead of calling glFinish (#23293)"
This reverts commit 5dbdad3276.
2022-01-04 20:16:52 -08:00
Adeeb Shihadeh 34926dfab5 Revert "cameraview.cc: call glFlush after creating fence"
This reverts commit 8655f6df6b.
2022-01-04 20:16:42 -08:00
Dean Lee df7126b982
paramsd: follow capnp best practices (#23399) 2022-01-04 15:57:38 -08:00
Shane Smiskol cf9792dc53
Longcontrol: remove starting state (#23328)
* remove starting state

* new ref

* ready for merge

* try this

* cereal now on master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-01-04 15:40:39 -08:00
Dean Lee 0357cf2af0
controlsd: remove duplicate event relayMalfunction (#23392) 2022-01-04 14:07:36 -08:00
HaraldSchafer 7257f71739
Move over all tss2 long tunes (#23108)
* add all rest

* just commit to all TSS2

* forgot this line
2022-01-04 13:51:05 -08:00
HaraldSchafer d3f064f5ca
Controlsd: fix bug in curv rate limit (#23250)
* Controlsd: fix bug in curv rate limit

* update ref
2022-01-04 13:21:56 -08:00
martinl 15be8a8c1f
Subaru: initial FPv2 dump (#23389)
* Add FPv2 for Ascent, Forester, Impreza, Legacy, Outback

* remove comments
2022-01-04 13:07:11 -08:00
Joost Wooning 47bb62b875
athena: methods for adding and cancelling multiple upload requests (#23366)
* multiple upload cancel

* multiple uploads athena method

* cleanup

* cleanup

* more cleanup

* isnt used

* fix test

* actually fix test
2022-01-04 17:01:33 +01:00
Willem Melching aad7ebdc2a bump CPU usage slightly after adding glFlush 2022-01-04 16:26:59 +01:00
cydia2020 a6aa094461
Toyota: only send gas interceptor message when openpilot controls longitudinal (#23357)
* Toyota: gate enableGasInterceptor behind openpilotLongitudinalControl

* fix carcontroller typo

* Revert "Toyota: gate enableGasInterceptor behind openpilotLongitudinalControl"

This reverts commit a974e8f8cf.

* put condition in carcontroller

* gate building can messages

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-04 16:02:53 +01:00
Dean Lee d2948f250b
replay: Add next engagement / disengagement jump capabilities (#23248)
* seek engament/disengament in qlogs

* cleanup

* cleanup

* little more

* add output

* remove qinfo

* fix typo

* do nothing if tm less than current mono time

* const

* short variable name

* lgtm
2022-01-04 16:02:04 +01:00
Shane Smiskol 9cb0ebe37d
LongitudinalMpc: Remove class accel_limit_arr (#23295)
* remove class accel_limit_arr

remove class accel_limit_arr

* make it static

* only set static parameters once

* just use existing function

style

* Update selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py

* Update selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-04 16:00:29 +01:00
Willem Melching 8655f6df6b cameraview.cc: call glFlush after creating fence 2022-01-04 15:55:28 +01:00
Dean Lee 5dbdad3276
CameraView: sync pbo with glFence instead of calling glFinish (#23293)
* Sync pbo with fence

* use std::unique_ptr
2022-01-04 14:14:38 +01:00
Dean Lee cd9813ab6a
UI: run set_brightness in QtConcurrent (#23326)
* use QFuture

* update at 10 hz

* don't change frequency
2022-01-04 14:03:27 +01:00
Shane Smiskol 9f88ba188a
Longitudinal planner: make v_desired a FirstOrderFilter (#23341)
* make v_desired a FirstOrderFilter

* forgot one

* one more ref

* Add a new object for the filter

* fix

* fix tests

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-04 12:17:33 +01:00
Robbe Derks a1e201ef5a
MUI should be a status bar (#23287) 2022-01-04 12:15:18 +01:00
Dean Lee f2c17bbcde
logcatd: fix sd_journal_seek_tail doesn't go to end (#23319)
* fix sd_journal_seek_tail doesn't go to end

* add comment
2022-01-04 12:14:29 +01:00
Dean Lee 937a0df57b
replay/logreader: handle abort in load (#23321)
* handle abort

* handle abort in decompressBZ2
2022-01-04 12:06:23 +01:00
Shane Smiskol 0148b233cd
Add comment about vEgoStarting to interfaces (#23327) 2022-01-04 12:05:58 +01:00
Dean Lee 9295066dac
ui/get_path_length_idx: line_x[i] shoud be less than or equal to path_height (#23336)
* start loop index from 1

* use  islessequal

* use build in <=
2022-01-04 12:04:52 +01:00
Dean Lee 960e0cf6a7
controlsd/publish_logs: follow capnp best practices (#23372)
* follow follow capnp best practices

* cleanup
2022-01-04 12:04:03 +01:00
Dean Lee f561d84c62
ui/update_model: do not recalculate the max_idx If there is no lead (#23356) 2022-01-04 11:39:18 +01:00
Dean Lee 05b905d140
interfaces/apply: follow capnp best practices (#23371) 2022-01-04 11:34:49 +01:00
Dean Lee 5dc631fa1b
longcontrol/update: optimize capnp (#23382) 2022-01-04 11:32:54 +01:00
martinl 6b205347e5
Subaru FPv2 support (#1878)
* Add Subaru FPv2 support

* Add Subaru Ascent and Impreza FPv2 values

* Remove 10 second delay, use UDS for Subaru FPv2

* before VW

* before hyundai

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-04 11:06:29 +01:00
Anthony Foerster 1ca5e1c82b
Fix steering oscillations in 2019 RDX (#22677)
Steering wheel would oscillate quickly when going straight, oscillation
is gone after this modification.
2022-01-03 23:07:49 -08:00
Dean Lee 8dd8b1905b
replay tests: retry on network failure (#23383) 2022-01-03 20:10:57 -08:00
Dean Lee 21ee6d25c7
ui: emit offroadTransition in UIState::updateStatus (#23265) 2022-01-03 17:35:05 -08:00
Dean Lee 7b612d47b6
radard/update: optimize capnp (#23380) 2022-01-03 17:26:32 -08:00
Adeeb Shihadeh c70fc7dbe5 Revert "soundd: back to onroad only (#23236)"
This reverts commit 3bdb445c84.
2022-01-03 16:37:35 -08:00
Adeeb Shihadeh 231f74cd23
GM: Switch to AcceleratorPedal2 (#23376)
* GM: Switch to AcceleratorPedal2

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2022-01-03 16:09:53 -08:00
Adeeb Shihadeh a1a9a0f342
pre-commit: fix exclude patterns (#23375) 2022-01-03 15:24:34 -08:00
Dean Lee f2520b6e80
lane_planner.py/parse_model: follow capnp best practices (#23368) 2022-01-03 15:08:24 -08:00
Dean Lee 2a99bc6dde
ui: update lead's z position if modelV2 has been updated after startup. (#23355)
* model frame >= started_frame

* remove optional
2022-01-03 14:37:36 -08:00
Adeeb Shihadeh 1e41f4723b
CAN receive error is a comm issue (#23362) 2022-01-03 14:13:45 -08:00
Matt Barclay 162460ebd8
Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373) 2022-01-03 14:13:00 -08:00
Adeeb Shihadeh 24c741ea3d
Toyota: merge Lexus RX params (#23374)
* Toyota: merge Lexus RX params

* pick tuning

* add those back
2022-01-03 14:11:34 -08:00
Mr. V 7c51b4da67
add supported FW version for Palisade 2022 (#23337) 2022-01-03 19:52:07 +01:00
Jason Wen e1805574a8
HKG: Add and Fix FW for 2022 Kia Niro EV (#23253)
* Remove non-exist esp FW from Niro_EV

* HKG: Add FW for 2022 Kia Niro EV

* Add 2022 Kia Niro EV to STEER_MAX = 384

* Update CARS.md

* HKG: Add FW for 2022 Kia Niro EV

* Remove duplicate FW version

* Remove duplicate FW versions from 0.8.3 FW dump (#20702)

* Fix FW versions spacing

* Fix FW versions spacing

* Add additional FW version

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-03 18:59:23 +01:00
Nelson Chen ab2111adb0
Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
2022-01-03 18:41:36 +01:00
Jason Wen 30e8383f30
HKG: blacklist cars with lower steering max (#23255)
* HKG: Add Lower Steering Torque Cars to STEER_MAX = 255 Blacklist

* add comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-02 15:53:52 -08:00
Adeeb Shihadeh 92f194decc
MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
Dean Lee 2ca0925da7
lateral_planner.py/publish: follow capnp best practices (#23359) 2022-01-02 11:55:24 -08:00
Dean Lee 1e309a51f5
replay: add flag to disable video (#23353) 2022-01-02 11:54:49 -08:00
Jason Wen bd399693b6
Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (#23332)
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route
2021-12-31 17:28:07 -08:00
George Hotz dc96d4bee7
Add More Types for mypy (#23268)
* mypy passes

* a few more

* a few in manager

* more types, will lint

* more

* simple types

* events type

* Update selfdrive/thermald/thermald.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-28 18:07:00 +01:00
Shane Smiskol 5387806400
LongitudinalMpc: minor clean up (#23296)
* correct order

* formatting

* Revert "formatting"

This reverts commit 481c390f40.

* use np.zeros

* typos and formatting

* typo

* typo
2021-12-28 12:05:52 +01:00
Dean Lee 58a363e07d
replay/segment: pass member function pointer to QtConcurrent::run (#23312) 2021-12-28 11:38:31 +01:00
Dean Lee de6126ba06
replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed (#23324)
* add flag REPLAY_FLAG_FULL_SPEED

* use hasFlag
2021-12-28 11:37:33 +01:00
Dean Lee 5fe809b344
ui: set the bg color of controllerUnresponsivePermanent to blue (#23308)
* fix bg color

* blue
2021-12-27 23:50:24 -08:00
Adeeb Shihadeh 4c7c2cc75d palanteer seems pretty cool 2021-12-27 15:04:50 -08:00
Dean Lee 1fc1382480
posenet_publish: use const references (#23310) 2021-12-27 13:31:42 -08:00
Dean Lee 21fc9d5375
replay/util: initialize curl at startup (#23314) 2021-12-27 13:22:42 -08:00
Dean Lee c9da1403bc
replay: fix segfault or hanging on quit (#23323) 2021-12-27 13:02:18 -08:00