Commit Graph

4015 Commits

Author SHA1 Message Date
Adeeb Shihadeh
ec7913cbe5 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>
old-commit-hash: f9a961f6fb
2021-04-30 13:55:17 -07:00
Adeeb Shihadeh
263aa305f8 update 0.8.4 release notes
old-commit-hash: b4c21fe348
2021-04-30 12:01:22 -07:00
Comma Device
ef4a479880 spinner is a qwidget
old-commit-hash: 065e2bc7d0
2021-04-30 11:11:05 -07:00
Adeeb Shihadeh
16688e2170 small UI cleanup
old-commit-hash: ebceadf089
2021-04-29 15:21:40 -07:00
Adeeb Shihadeh
f5e6a0c9a0 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>
old-commit-hash: db9319405b
2021-04-29 15:05:04 -07:00
Willem Melching
002057e1f1 Fix ability to change lane change direction while in progress (#20765)
old-commit-hash: a57f10c202
2021-04-29 13:03:16 -07:00
Adeeb Shihadeh
b263a8d934 UI: refactor GLWindow (#20764)
old-commit-hash: 140e6248e2
2021-04-29 11:18:59 -07:00
qadmus
99d3a5e553 ignore_avg_freq of longitudinalPlan, which is triggered by radarState (#20743)
old-commit-hash: 0d10f9c4ad
2021-04-29 11:06:44 -07:00
Slevner
6be23700ec Skoda Kodiaq fingerprint (#20744)
old-commit-hash: bb34014e3b
2021-04-28 19:43:11 -07:00
nongnoobjung
999a7891e0 Civic Bosch fingerprint (#20762)
old-commit-hash: 576b808613
2021-04-28 19:42:15 -07:00
Adeeb Shihadeh
28aa7980fe add nx300 to release notes
old-commit-hash: e8f854c4e6
2021-04-28 19:29:50 -07:00
Goesreallyfast
4b26364439 LEXUS NX 300 2020 Car Port (#20769)
old-commit-hash: 68e2c65b1a
2021-04-28 19:28:29 -07:00
Adeeb Shihadeh
d37b2b6fd4 Honda Bosch: fix reading ACC_CONTROL (#20748)
old-commit-hash: 3a9133fb8a
2021-04-28 17:20:12 -07:00
Adeeb Shihadeh
caccd0f239 update test routes (#20772)
old-commit-hash: ee5bbcb53c
2021-04-28 17:19:58 -07:00
HaraldSchafer
cbc2cb24b7 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
old-commit-hash: 333313cf0e
2021-04-28 15:29:14 -07:00
Adeeb Shihadeh
c7cca3b07e update registration policy (#20770)
* update registration policy

* move that

* handle 403

* fix that
old-commit-hash: 4d8a35d639
2021-04-28 14:09:13 -07:00
Dean Lee
d76b938a03 reserve space for vector of can_frame (#20771)
old-commit-hash: e151425c1c
2021-04-28 13:50:21 -07:00
Adeeb Shihadeh
9aa9d33f92 rate limit offroad mem logging
old-commit-hash: 8fb26b95e9
2021-04-28 00:09:03 -07:00
iejMac
86a1616de9 Replay: fix crashing from trimSegment
old-commit-hash: aeafb8e00c
2021-04-27 23:32:42 -07:00
Adeeb Shihadeh
13dbb65b98 clear scons cache more aggressively
old-commit-hash: 42af09b15b
2021-04-27 19:16:03 -07:00
ZwX1616
6c04391277 C2 dim displays: remap in shader to avoid screen deadzone (#20757)
old-commit-hash: 2c0b0f927f
2021-04-27 17:41:59 -07:00
Samuel Keeley
de7f365f97 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>
old-commit-hash: f7ea2cd761
2021-04-27 11:40:19 -07:00
Adeeb Shihadeh
8708cf5577 make memory usage cloudlog an event
old-commit-hash: 83e8ccb4ef
2021-04-27 11:27:43 -07:00
Adeeb Shihadeh
f69e234419 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>
old-commit-hash: 3c9e46d8a2
2021-04-26 20:58:21 -07:00
Adeeb Shihadeh
9531bf9d88 fix process replay on local files (#20758)
old-commit-hash: c45dbbc737
2021-04-26 20:50:47 -07:00
iejMac
d991de5d30 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'
old-commit-hash: a337097b5e
2021-04-26 17:25:22 -07:00
Adeeb Shihadeh
7cc1e11929 honda crv: add BSM frequency check
old-commit-hash: 1083d14f40
2021-04-26 14:43:36 -07:00
iejMac
0af28bba44 Replay: print timestamp every 5 seconds (#20752)
* Replay: print timestamp every 5 seconds

* include abs

* rename last_print
old-commit-hash: a759c12c1b
2021-04-26 14:37:34 -07:00
Adeeb Shihadeh
0e6c74c4a1 check cloudlog volume (#20753)
* check cloudlog volume

* adjust threshold

* cleanup

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

* filter out bad honda routes

* bump a bit more
old-commit-hash: 7f16554ee3
2021-04-25 15:32:05 -07:00
Adeeb Shihadeh
b2d4441cff Hyundai: add BSM detection (#20747)
* Hyundai: add BSM detection

* update refs
old-commit-hash: b0503e534a
2021-04-25 13:12:03 -07:00
Adeeb Shihadeh
7546f7d084 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
old-commit-hash: 6c7ed8f2e4
2021-04-25 12:52:16 -07:00
Greg Hogan
f9bb625bf1 generate jwt every registration call (#20740)
* generate jwt every registration call

* min not max
old-commit-hash: c9a29d6deb
2021-04-24 11:01:58 -07:00
Adeeb Shihadeh
21071dfa9b only build replay if tools/ exists
old-commit-hash: 01cb8d401a
2021-04-24 09:59:10 -07:00
iejMac
ff2138d905 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>
old-commit-hash: 19d962cdf3
2021-04-24 00:59:09 -07:00
iejMac
fbe27337ca 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>
old-commit-hash: 0fe155b7c3
2021-04-23 21:24:53 -07:00
Jafar Al-Gharaibeh
c5484e5f6f 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>
old-commit-hash: 426faa02f0
2021-04-23 17:25:58 -07:00
Adeeb Shihadeh
467811edf1 log encodeIdx packets in qlog (#20738)
old-commit-hash: 9813c0ddbd
2021-04-23 16:14:45 -07:00
Adeeb Shihadeh
4c461b3f7f disable sentry for devices without a dongle ID (#20729)
* disable sentry for devices without a dongle ID

* import pc

* unused
old-commit-hash: 47ad2a485f
2021-04-23 11:29:38 -07:00
Willem Melching
ab900874db manager.py: fix git commit param write outside of git repo
old-commit-hash: 01c5d7f7ed
2021-04-23 13:28:49 +02:00
Ryan Gorman
c7af3872cb 2021 Camry Hybrid engine fw (#20733)
old-commit-hash: 578bf62dc9
2021-04-22 23:29:33 -07:00
iejMac
4abd8988e4 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>
old-commit-hash: 4866a39244
2021-04-22 22:13:32 -07:00
Adeeb Shihadeh
3e4eb2e343 handle unregistered devices (#20728)
* handle unregistered devices

* cleanup

* no uploader or athena

* clean up
old-commit-hash: 1786d04239
2021-04-22 21:03:57 -07:00
George Hotz
59fb5c6a72 allow core voltage setting
old-commit-hash: 36d7a86579
2021-04-22 19:42:32 -07:00
Joost Wooning
5b31cc281c 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>
old-commit-hash: d2a2ccfee4
2021-04-22 17:55:41 -07:00
George Hotz
fdb8e5683c core voltage sweep
old-commit-hash: 4a710bfc16
2021-04-22 17:22:31 -07:00
George Hotz
74b86a8938 script to do voltage sweep
old-commit-hash: a1fb21e066
2021-04-22 17:07:31 -07:00
George Hotz
26c0d9dd24 log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)
old-commit-hash: b88aa6b57f
2021-04-22 12:02:12 -07:00