Commit Graph

2633 Commits (spacecruft)

Author SHA1 Message Date
Willem Melching 9fb79024ef
Add more sanity checks to paramsd (#20820)
* add more sanity checks to paramsd

* Update selfdrive/locationd/paramsd.py
2021-05-04 09:50:45 -07:00
Willem Melching 7a8f61f4bf
Remove unnecessary trim levels from car name (#20815)
* remove unnecessary trim levels from car name

* remove hardcoded strings

* fix process replay

* more fixes

* fix migration

* update ref
2021-05-04 09:24:24 -07:00
Adeeb Shihadeh 0b26b08a7c CI: clear qcom replay build cache 2021-05-03 22:02:13 -07:00
Adeeb Shihadeh b9f9e2dfda
fix double DM sounds (#20811)
* fix double DM sounds

* debug script

* bool

* cleanup

* inf

Co-authored-by: Comma Device <device@comma.ai>
2021-05-03 21:38:22 -07:00
Adeeb Shihadeh 8a280fbb8e bump cereal 2021-05-03 20:47:11 -07:00
Dean Lee bdf4a94cd0
ui/replay: file extensions to .cc and .h (#20805) 2021-05-03 20:22:32 -07:00
Adeeb Shihadeh 5f3fe01002 don't init sentry on non-comma remote 2021-05-03 20:14:31 -07:00
Adeeb Shihadeh 6954eb6259
clear controls ready flag on falling edge of ignition (#20807) 2021-05-03 19:09:42 -07:00
Willem Melching 0b4d28b9d6
paramsd: check NaN in inputs and outputs (#20804) 2021-05-03 14:13:31 +02:00
Willem Melching b38e57eb2b
Improve community feature alert text (#20803) 2021-05-03 11:59:01 +02:00
Dean Lee 81491dc57f
c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h

* cleanup files_common
2021-05-03 11:53:11 +02:00
Dean Lee 4bb3619a0e
Fix build errors in qt/setup (#20795)
* fix build error

* remove line

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-02 16:50:14 -07:00
Comma Device 23faedd25e configure SSL globally on NEOS 2021-05-02 16:29:02 -07:00
HaraldSchafer daecf4247b
Revert "Locationd 100hz (#20759)" (#20797)
* Revert "Locationd 100hz (#20759)"

This reverts commit 333313cf0e.

* new ref
2021-05-02 15:06:34 -07:00
Shane Smiskol 5f61cd0531
Update route for 2017 Corolla (#20793) 2021-05-02 00:05:59 -07:00
Adeeb Shihadeh 5b764ab477
registration unit tests (#20792)
* start tests

* more test

* done
2021-05-01 17:16:58 -07:00
Dean Lee 4781598e12
Qt: use new signal slot syntax (#20783)
* new signal slot syntax

continue

* continue
2021-05-01 14:12:35 -07:00
Dean Lee f01c3c649b
CommaApi: passing arguments by reference (#20786)
* passing arguments by reference

* remove unused networkAccessManager

* ref
2021-05-01 14:11:35 -07:00
Dean Lee 228308b719
Replay: make response a const reference in parseResponse (#20787) 2021-05-01 09:50:32 -07:00
Dean Lee ad57cd3759
HttpRequest: passing references in signals (#20782) 2021-04-30 23:58:12 -07:00
Gabor 7d9aa1352f
Civic 2019 EU new ECU values added (#20774)
* Update values.py

* non essential

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-30 17:06:12 -07:00
Erich Moraga 5c9151478a
Add ESP f/w for RAV4_TSS2 (#20778)
`@Priyam#6501` 2021 RAV4 Limited AWD DongleID/route 6b0dae5689fa7dde|2021-04-29--23-45-18
2021-04-30 16:37:36 -07:00
Adeeb Shihadeh 1c89825d86 trigger sidebar status widget repaints on color change 2021-04-30 14:01:49 -07:00
Adeeb Shihadeh f9a961f6fb
delay controls start (#20761)
* delay controls start

* shouldn't need this stuff anymore

* only delay board

* bail after 2s

* fix loopback test

* fix process replay

* update refs

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
2021-04-30 13:55:17 -07:00
Comma Device 065e2bc7d0 spinner is a qwidget 2021-04-30 11:11:05 -07:00
Adeeb Shihadeh ebceadf089 small UI cleanup 2021-04-29 15:21:40 -07:00
Adeeb Shihadeh db9319405b
Qt Sidebar (#20775)
* revive #19877

* looks like a sidebar

* more like a sidebar

* cleanup

* fix qcom2

* style

* that's the sidebar

* more space

Co-authored-by: Comma Device <device@comma.ai>
2021-04-29 15:05:04 -07:00
Willem Melching a57f10c202
Fix ability to change lane change direction while in progress (#20765) 2021-04-29 13:03:16 -07:00
Adeeb Shihadeh 140e6248e2
UI: refactor GLWindow (#20764) 2021-04-29 11:18:59 -07:00
qadmus 0d10f9c4ad
ignore_avg_freq of longitudinalPlan, which is triggered by radarState (#20743) 2021-04-29 11:06:44 -07:00
Slevner bb34014e3b
Skoda Kodiaq fingerprint (#20744) 2021-04-28 19:43:11 -07:00
nongnoobjung 576b808613
Civic Bosch fingerprint (#20762) 2021-04-28 19:42:15 -07:00
Goesreallyfast 68e2c65b1a
LEXUS NX 300 2020 Car Port (#20769) 2021-04-28 19:28:29 -07:00
Adeeb Shihadeh 3a9133fb8a
Honda Bosch: fix reading ACC_CONTROL (#20748) 2021-04-28 17:20:12 -07:00
Adeeb Shihadeh ee5bbcb53c
update test routes (#20772) 2021-04-28 17:19:58 -07:00
HaraldSchafer 333313cf0e
Locationd 100hz (#20759)
* fix std transform

* 100Hz

* new ref

* no more decimation

* clean up confusing maths

* static typing

* Revert "static typing"

This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.

* 100Hz costs more
2021-04-28 15:29:14 -07:00
Adeeb Shihadeh 4d8a35d639
update registration policy (#20770)
* update registration policy

* move that

* handle 403

* fix that
2021-04-28 14:09:13 -07:00
Dean Lee e151425c1c
reserve space for vector of can_frame (#20771) 2021-04-28 13:50:21 -07:00
Adeeb Shihadeh 8fb26b95e9 rate limit offroad mem logging 2021-04-28 00:09:03 -07:00
iejMac aeafb8e00c Replay: fix crashing from trimSegment 2021-04-27 23:32:42 -07:00
Adeeb Shihadeh 42af09b15b clear scons cache more aggressively 2021-04-27 19:16:03 -07:00
ZwX1616 2c0b0f927f
C2 dim displays: remap in shader to avoid screen deadzone (#20757) 2021-04-27 17:41:59 -07:00
Samuel Keeley f7ea2cd761
VW lane lines visual indicator changes (#20676)
* Improve VW HUD with laneless and LDW

* No longer depend on laneless param

* update behavior

* update note

* update test route to make CI happy\?

* Revert "update test route to make CI happy\?"

This reverts commit 21aeecacd578ee287eda52cb674a51611092f272.

* always show lane visibility

* notes

* notes

* spelling

* reality

* remove notes

Co-authored-by: Ambroos Vaes <ambroos@fb.com>
2021-04-27 11:40:19 -07:00
Adeeb Shihadeh 83e8ccb4ef make memory usage cloudlog an event 2021-04-27 11:27:43 -07:00
Adeeb Shihadeh 3c9e46d8a2
updated: fix surfacing exceptions and errors (#20754)
* updated: fix surfacing exceptions and errors

* can't rely on that

* unused

* ugh pylint

* try this

* this makes pylint happy

Co-authored-by: Comma Device <device@comma.ai>
2021-04-26 20:58:21 -07:00
Adeeb Shihadeh c45dbbc737
fix process replay on local files (#20758) 2021-04-26 20:50:47 -07:00
iejMac a337097b5e
CommaApi: use auth.py for request authentication when on PC (#20755)
* CommaApi: use auth.py for request authentication when on PC

* whitespace

* only when replay

* nicer way to do this

* tabs

* use bool

* tabs

* tabs

* prefer this to just be state

* initialize with stdString

* tabs

* include order

* fix order + ifdef fix

* whitespace'
2021-04-26 17:25:22 -07:00
Adeeb Shihadeh 1083d14f40 honda crv: add BSM frequency check 2021-04-26 14:43:36 -07:00
iejMac a759c12c1b
Replay: print timestamp every 5 seconds (#20752)
* Replay: print timestamp every 5 seconds

* include abs

* rename last_print
2021-04-26 14:37:34 -07:00
Adeeb Shihadeh 754c6f4e62
check cloudlog volume (#20753)
* check cloudlog volume

* adjust threshold

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-04-26 13:55:02 -07:00
iejMac a8e231f8b1 print error when HttpRequest fails 2021-04-26 10:16:57 -07:00
Adeeb Shihadeh 4f02b4386c log for high offroad memory usage 2021-04-25 17:48:37 -07:00
Adeeb Shihadeh 7f16554ee3
Check panda safety against CarState (#1995)
* check panda safety against CarState

* filter out bad honda routes

* bump a bit more
2021-04-25 15:32:05 -07:00
Adeeb Shihadeh b0503e534a
Hyundai: add BSM detection (#20747)
* Hyundai: add BSM detection

* update refs
2021-04-25 13:12:03 -07:00
Adeeb Shihadeh 6c7ed8f2e4
enforce message checks in can parser (#20742)
* enforce message checks in can parser

* nissan

* vw

* hkg

* subaru

* toyota

* honda bosch

* gm

* honda nidec

* bump opendbc

* not all tss2 have bsm

* toyota fixes

* honda fixes

* vw fix

* fix subaru

* fix long tests

* update refs

* crv bsm
2021-04-25 12:52:16 -07:00
Greg Hogan c9a29d6deb
generate jwt every registration call (#20740)
* generate jwt every registration call

* min not max
2021-04-24 11:01:58 -07:00
Adeeb Shihadeh 01cb8d401a only build replay if tools/ exists 2021-04-24 09:59:10 -07:00
iejMac 19d962cdf3
qt replay (#20602)
* initial commit, works

* remove nui

* working again

* visionipc

* cleanup

* cleanup

* moving VisionIpcServer to Unlogger class

* works

* tab cleanup

* headless mode

* headless mode works

* working headless mode

* gitignore update

* small unlogger refactor

* refactor param in UIState

* works, very slow, hacks

* cleanup

* works

* cleanup

* cleanup

* unused

* works for whole route

* nicer

* a little nicer

* different threshold

* maintains 1 segment window

* works with public api

* comments

* networkTimer works

* cleanup

* unified HttpRequest

* tabs

* tabs

* comments'

* gitignore

* gitignore

* only on PC

* same line else

* no changes in home.cc

* scons

* update scons

* works

* revert mainc.c

* revert home

* else

* just api + problem with api send

* works

* include cleanup

* general json fail

* whitespace

* remove active

* adding request repeater

* removing comments

* tabs

* update comment

* cereal

* fix

* trailing new lines

* grammar

* if whitespace

* indentation

* Update selfdrive/ui/SConscript

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

* Update selfdrive/ui/qt/request_repeater.cc

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

* works

* sort by dir

* no blockSignal

* replay is now QOBject

* cant take const char

* rename inner it

* get width and height from frame readeR

* resolve TODO

* seek in next pr

* spaces

* ui stuff

* fix CI

* remove comments

* no repalce

* trim segment fix

* remove seek from stream

* no cache key

* final changes'

* fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-24 00:59:09 -07:00
iejMac 0fe155b7c3
UI: close dialogs on settings close (#20541)
* this works

* fix

* fix

* fix

* blacklist

* style

* tabs

* tabs

* temporary

* hideEvent

* fix

* changes

* dont need this

* works

* no signal

* Merge branch 'master' of github.com:commaai/openpilot into ui_close_after_timeout

* works

* cleanup

* little more cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-23 21:24:53 -07:00
Jafar Al-Gharaibeh 426faa02f0
Mazda 3 2014 Fingerprint (#20735)
* mazda: don't passthrough unused signals

Some older models do have these, newer models don't.
Either way, they all work just fine if set to zero.

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

* mazda: improve auto resume after full stop. Thanks number1pete

Auto resume doesn't always work after a full stop.
sending RES presses at a higher rate fixes the issue.

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

* Add Mazda 3 2014 fingerprint

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

* Merge mazda 3 fingerprints

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-04-23 17:25:58 -07:00
Adeeb Shihadeh 9813c0ddbd
log encodeIdx packets in qlog (#20738) 2021-04-23 16:14:45 -07:00
Adeeb Shihadeh 47ad2a485f
disable sentry for devices without a dongle ID (#20729)
* disable sentry for devices without a dongle ID

* import pc

* unused
2021-04-23 11:29:38 -07:00
Willem Melching 01c5d7f7ed manager.py: fix git commit param write outside of git repo 2021-04-23 13:28:49 +02:00
Ryan Gorman 578bf62dc9
2021 Camry Hybrid engine fw (#20733) 2021-04-22 23:29:33 -07:00
iejMac 4866a39244
cereal: SubMaster refactor, update is now void (#20730)
* cereal: SubMaster refactor, update is now void

* bump cereal

* mistake

* update void

* checks

* semicolon

* Update selfdrive/camerad/cameras/camera_frame_stream.cc

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

* check sensorEvent

* update cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-22 22:13:32 -07:00
Adeeb Shihadeh 1786d04239
handle unregistered devices (#20728)
* handle unregistered devices

* cleanup

* no uploader or athena

* clean up
2021-04-22 21:03:57 -07:00
George Hotz 36d7a86579 allow core voltage setting 2021-04-22 19:42:32 -07:00
Joost Wooning d2a2ccfee4
compare carspeed float to epsilon instead of zero (#20714)
* compare carspeed float to epsilon instead of zero

* update ref

* add ref commit again

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2021-04-22 17:55:41 -07:00
George Hotz 4a710bfc16 core voltage sweep 2021-04-22 17:22:31 -07:00
George Hotz a1fb21e066 script to do voltage sweep 2021-04-22 17:07:31 -07:00
George Hotz b88aa6b57f
log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727) 2021-04-22 12:02:12 -07:00
Joost Wooning 5fdcce2551
unittests for locationd uncommon events (#20715)
* unittests for locationd uncommon events

* params test using process

* test for posenet spike

* fix library path

* move random seed to setup
2021-04-22 15:31:18 +02:00
Willem Melching ea0e611872
Switch to new sentry_sdk (#20690)
* remove unused crash.install

* use sentry_sdk in crash.py

* athena crashes dont rely on excepthook

* make default crash handler work

* make it work in athena

* fixup tombstoned
2021-04-22 15:24:35 +02:00
ZwX1616 3692bb83b3 fix sound test after alert change 2021-04-21 15:12:04 -07:00
Shane Smiskol 858f7c0715
infinite orange alert sound (#20723) 2021-04-21 14:37:27 -07:00
robbederks 13a6e3c68f
add lower limit to prevent triggering on power loss (#20720)
Co-authored-by: Comma Device <device@comma.ai>
2021-04-21 13:15:44 +02:00
Willem Melching 64d2ec38f2 Ignore radarState average frequency 2021-04-21 10:59:26 +02:00
Adeeb Shihadeh 836668f105
less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
2021-04-20 21:01:28 -07:00
Adeeb Shihadeh 31dd0cbd42
set display power + brightness in spinner and text window (#20719)
* set display power + brightness in spinner and text window

* update aarch64

* update larch

Co-authored-by: Comma Device <device@comma.ai>
2021-04-20 20:45:46 -07:00
Adeeb Shihadeh a7d4cf6e39
Fix VW trans type detection (#20716) 2021-04-20 14:49:58 -07:00
Adeeb Shihadeh 437e054d11 add golf to ignored fingerprints 2021-04-20 11:36:09 -07:00
Joost Wooning e08a570a13
create library for using locationd in python using ffi (#20711)
* create library for using locationd in python using ffi

* lib is not required in release

* cleanup

* dont build liblocationd on release

* add check on buffer size
2021-04-20 17:50:40 +02:00
Joost Wooning ed8acfa284
params put in locationd async (#20713)
* params put in locationd async

* remove reference in thread call
2021-04-20 16:02:57 +02:00
Willem Melching 34328ba305
Remove panda set power functions (#20712)
* remove panda set power functions

* removed
2021-04-20 15:31:19 +02:00
Adeeb Shihadeh a19d94ae2d
Toyota: use FW query for DSU detection (#20615)
* Toyota: use FW query for DSU detection

* make sure we have at least some fw responses

* bool

* add test to test_startup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-04-20 14:32:34 +02:00
Willem Melching b27bad8776
Remove sympy import from paramsd at runtime (#20710) 2021-04-20 14:29:37 +02:00
Willem Melching aae849ea45
Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
2021-04-20 14:01:59 +02:00
Willem Melching e4f73fbda5
Fuzzy match on ECU FW versions (#20687)
* Fuzzy match on 3+ ECUs

* reuse dict

* exclude some shared ecus to be sure

* show alert for fuzzy match

* use title case

* require community toggle

* refactor

* do both exact and fuzzy in test script

* update test script

* add fuzz test and lower matches to >= 2

* strip alert length

* sort mismatches

* add fw tests to test_startup

* bump cereal
2021-04-20 12:00:36 +02:00
Joost Wooning 3420707ad5
convert locationd to c++ (#20622)
* live_kf to c++

* first locationd code

* Running in process_replay

* locationd handle cam_odo and live_calib

* log event handlers

* working message receiving

* compiling message sending

* correctly sending some messages

* correct receiving and sending

* update ref_commit with some all_alive_and_valid being false, minor fixes

* fix std abs

* linking on device fix

* fix cpu usage test

* generate kf constants and defines

* fix replay test

* replay without acks, cleanup

* operate on bytearray messages

* cleanup

* send msg fix

* small sleep, less flaky test

* remove python locationd

* review feedback

* bump rednose
2021-04-20 11:56:43 +02:00
Willem Melching 96836eb1e5
Add batch of FW versions from 0.8.3 (#20702)
* honda

* hkg

* toyota
2021-04-20 11:12:14 +02:00
Chris McCammon fead4b694b
remove Ioniq EV 2020 from BSM list (#20706) 2021-04-19 16:56:58 -07:00
Willem Melching e2e2587e00 50% is more realistic for controlsd 2021-04-19 17:53:28 +02:00
Joost Wooning ff813b6b45
Add flag to process replay config to use real submaster (#20701) 2021-04-19 17:27:36 +02:00
Dean Lee 737d002d80
params.cc clarify conditional compilation(#20699) 2021-04-19 12:16:30 +02:00
Adeeb Shihadeh 3fa86657cb show gps alert when lte's enabled 2021-04-15 22:12:16 -07:00
Adeeb Shihadeh a3df0e9827 upload raw on tici 2021-04-15 21:36:09 -07:00
Willem Melching f7e276fcce pigeon init add max retry count 2021-04-15 16:49:09 +02:00
Willem Melching a6b3a44459
remove suspicious toyota fw versions (#20686) 2021-04-15 14:55:20 +02:00
Willem Melching a163daf5e0
Improve robustness of ublox init procedure (#20685)
* improve ublox init robustness

* cleanup

* only log if running at 1hz

* not needed
2021-04-15 14:11:53 +02:00
Willem Melching b3d1ef77ee tici bump loggerd cpu usage 2021-04-15 13:11:24 +02:00
Willem Melching 8eaf3d2410 tici test onroad, increase camerad cpu usage 2021-04-15 11:24:17 +02:00
Adeeb Shihadeh aaa8d937f5
GL spinner fix (#20684)
* GL spinner fix

* update larch spinner

Co-authored-by: Comma Device <device@comma.ai>
2021-04-15 00:49:34 -07:00
Willem Melching fc478ff920
disable GC for locationd and paramsd (#20680) 2021-04-14 23:59:29 -07:00
Adeeb Shihadeh 2eac604993
lte toggle (#20683) 2021-04-14 21:19:06 -07:00
Adeeb Shihadeh 9adaff5379 raw upload off by default 2021-04-14 21:06:30 -07:00
Adeeb Shihadeh a60effc112 UI: fix initial toggle state after #20670 2021-04-14 21:02:34 -07:00
Adeeb Shihadeh 1adf34f033
update time from RTC on manager init (#20678)
* set time on manager init

* earlier

* handle exception

* logging

* add to release files

* run in launch script too

Co-authored-by: Comma Device <device@comma.ai>
2021-04-14 12:04:02 -07:00
Willem Melching e7b4e4f7ea
rotate Sentry API keys (#20681) 2021-04-14 17:23:37 +02:00
Willem Melching eacacb8fba
Cleanup ubloxd message parsing (#20664)
* use kaitai to generate parsers

* add scons flag to generate parsers

* add outer layer ephemeris parsing

* create ephemeris packet at the right time

* parse subframe 1 and 2

* add more fields

* add generated files to release

* fix signs

* no cast

* add unordered map include

* add exception handling

* small cleanup

* parse iono data

* cleanup
2021-04-14 16:17:30 +02:00
Willem Melching 343fea2bf9
Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
2021-04-14 11:25:43 +02:00
Adeeb Shihadeh 9ddb12a69e hyundai: fix CAN error for Santa Fe's without BSM 2021-04-13 20:04:34 -07:00
Dean Lee f0a1a6e4d6
camerad: SubMaster never updated (#20651)
* fix sm has not been updated

* update submaster in processing driver cam thread

* move Subbmaster to driver camera thread

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-04-13 15:26:24 -07:00
Adeeb Shihadeh 3956adc6df script to dump events from route 2021-04-13 15:08:45 -07:00
Adeeb Shihadeh d90136c1d0 ate sets failbit on some platforms 2021-04-13 14:40:40 -07:00
Comma Device 6f21993915 fix reading procfs files 2021-04-13 13:56:08 -07:00
iejMac 928fbecec0
UI: Reset settings state when hiding panels (#20670)
* git stat

* first panel and button reset

* progress

* toggles parent + list

* check if label nullptr

* style

* fixes

* fixes

* remove line

* white space

* tabs and spaces
2021-04-13 13:42:13 -07:00
Dean Lee fe2f63849a
util.cc: reduce two read_file functions into one (#20655)
* no need to malloc one extra byte

* combine two read_file into a faster one

* cleanup #include

* use resize

* apply suggestions from review

* space

* rebase master
2021-04-13 11:43:43 -07:00
Dean Lee eb4666b38f
util.h: remove unused macro ALIGN (#20673) 2021-04-13 10:42:36 +02:00
Adeeb Shihadeh 9edda6fbc1
tici: offline big cluster while offroad (#20668)
* tici: offline big cluster while offroad

* shuffling

Co-authored-by: Comma Device <device@comma.ai>
2021-04-12 23:06:24 -07:00
Dean Lee 5a3c22d804
camerad: refactor RGBToYUVState into a class (#20310)
* struct RGBToYUVState to class Rgb2Yuv

* clFinish

* blank line

* rebase master

* use event
2021-04-12 22:42:53 -07:00
Erich Moraga d5b0c1503b
Add multiple missing f/w for LEXUS_ESH (#20669)
* Add multiple missing f/w for LEXUS_ESH

`@wei#4597` 2017 ES300h DongleID/route `d7a11201f3c617e3|2021-04-12--19-56-12`

* Expanded ES Hybrid to include 2017
2021-04-12 20:42:26 -07:00
Adeeb Shihadeh f308430c11 hyundai: remove Niro EV from BSM list, not on all trims 2021-04-12 17:07:18 -07:00
iejMac e6d210d526
ui update_sockets refactor (#20625)
* separate updates

* update

* no if

* no return

* fix
2021-04-12 16:08:38 -07:00
Adeeb Shihadeh 11cc0b52ce
Raw upload toggle (#20665)
* upload toggle

* better description

* icons
2021-04-12 14:05:43 -07:00
Adeeb Shihadeh aab822a352
Revert "hide set speed for stock long (#20585)" (#20666)
This reverts commit e4d7ee3716.
2021-04-12 13:34:44 -07:00
rgmane bbc06d1dd2
Added FPv2 for 2016 VW Golf (#20663) 2021-04-12 10:50:22 -07:00
Dean Lee cf80675369
Use std::size for element counts (#20654) 2021-04-12 12:22:22 +02:00
Adeeb Shihadeh b0bd123445
tici power saving (#20644)
* start power saving

* set power save in thermald

Co-authored-by: Comma Device <device@comma.ai>
2021-04-12 01:40:58 -07:00
Adeeb Shihadeh 4e03e37381 Revert "CameraBuf: avoid busy waiting on safe_queue (#20643)"
This reverts commit e562a69a4d.
2021-04-11 17:56:38 -07:00
mahlzeit1948 f6d800a89e
Fix Chrysler Pacifica weight (#20647)
* Update interface.py

2858 is the gross vehicle weight of the hybrid (maximum weight of vehicle + cargo).
Curb weight for the ICE is 1964 kg, for the hybrid it is 2242 kg

* hybrid & update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-11 17:18:31 -07:00
Dean Lee e562a69a4d
CameraBuf: avoid busy waiting on safe_queue (#20643)
* 20ms timeout

* Update camera_common.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-11 16:49:38 -07:00
Adeeb Shihadeh 01dc011f9f
more tici CI coverage (#20639)
* run onroad test in tici

* run in jenkins

* no /data/media

* doesn't exists there yet

* more updates

Co-authored-by: Comma Device <device@comma.ai>
2021-04-11 15:56:17 -07:00
speedking456 4dd4528787
Kia Seltos 2021 INDI Tuning + Increased Steer Limit (#20560) 2021-04-11 15:48:43 -07:00
Comma Device 242a8ba17a build all installers simulataneously 2021-04-11 15:14:06 -07:00
Anthony Foerster 02ff5663b8
2019 Acura RDX Tech fingerprint (#20656)
* 2019 RDX Tech fingerprint

* Updated README

* Fix ordering
2021-04-11 14:31:04 -07:00
vanillagorillaa 337ac2b4c5
2021 Corolla Hybrid FW (#20650) 2021-04-10 22:25:00 -07:00
Greg Hogan 71654f141b
hyundai: update steer warning (#19628)
* update steer warning for hyundai

* hyundai: add CF_Mdps_ToiFlt to steerWarning
2021-04-10 18:29:57 -07:00
Dean Lee 8c3ec9dd31
Faster spinner, reduce cpu usage (#20618)
* Faster spinenr

* correct  path

* remove binary

* 30 fps

Co-authored-by: Comma Device <device@comma.ai>
2021-04-10 15:06:16 -07:00
Adeeb Shihadeh 58dabdda00
more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-04-10 14:53:51 -07:00
afoltz3 2f1e05f46b
Add carFw values to support 2020 Acura RDX Base (#20642)
* Add carFw values to support 2020 Acura RDX Base

* Update values.py

* Remove duplicate firmware versions

Removing 7 duplicate fw versions which caused unit tests Github Actions to fail.

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-10 13:54:44 -07:00
HaraldSchafer c92f171866
Loosen ecamera calib checks (#20629)
* relax thresholds for widecamera

* cleaner
2021-04-09 20:38:09 -07:00
Adeeb Shihadeh 32d317239a
let GPU sleep while offroad (#20640)
* better script

* let adreno sleep

* remove

Co-authored-by: Comma Device <device@comma.ai>
2021-04-09 17:27:35 -07:00
Willem Melching 4dd4b12140
Ubloxd cleanup (#20637)
* clean out locationd/test

* get rid of ubloxd_main

* remove ubloxd_test.cc

* less includes
2021-04-09 18:01:24 +02:00
Willem Melching 2967e79296 use put_bool to set Passive 2021-04-09 17:56:50 +02:00
Willem Melching 74aa6e29c9
Params: new class FileLock (#20636)
* new class LockFile

* lock->try_lock

* rebase master

* close if fd_ >=0

* rename try_lock to lock

* keep tryring if flock() return EINTR

* throw exception on error

* keep trying if open() gets interrupted by a signal

* close fd_ before throw flock exception

* add macro HANDLE_EINTR

* HANDLE_EINTR for open & write

* add errno in exception

* add destructor

* don't throw exception,log err and return

* Revert "don't throw exception,log err and return"

This reverts commit 6e1ba4a1bd82de3d4d07db5238a82184fd2ec9b4.

* add lock file name in exception

* cleanup  exception text

* use lock_guard in function put

* anonymous namespace

* use do-while(0) instead of goto

* cleanup read_db_all

* cleanup FileLock

* remove fchmod 0666 for apks

* Revert "remove fchmod 0666 for apks"

This reverts commit b389c31762417c4465d73be2453efcf7bc693aee.

* log instead of runtime error

* keep libs

Co-authored-by: deanlee <deanlee3@gmail.com>
2021-04-09 16:35:44 +02:00
Willem Melching 9790c6d0b6
agnos 0.13 (#20635)
* agnos 0.13

* update launch env
2021-04-09 15:49:14 +02:00
Willem Melching 11de9df3a1 filter_log_message use qlogs 2021-04-09 14:06:47 +02:00
Willem Melching 8ede1b30aa
tici: move real-time processes to high-performance cores (#20634) 2021-04-09 13:41:43 +02:00
Richi e283f065b9
Hyundai Ioniq 2019 EV FW versions (#20633)
* Update values.py

add fingerprint Hyundai Ioniq Facelift 2019 BEV (EV)

* Replace \000 with \x00

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-04-09 10:41:18 +02:00
Willem Melching 44c395165b plannerd: use get_bool to read param 2021-04-09 10:32:31 +02:00