Commit Graph

3441 Commits

Author SHA1 Message Date
Adeeb Shihadeh
e8f854c4e6 add nx300 to release notes 2021-04-28 19:29:50 -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
7dcda0e461 remove raven from pip packages 2021-04-22 15:29:43 +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
Willem Melching
c4189e158e bump panda 2021-04-22 12:00:27 +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