Commit Graph

2804 Commits

Author SHA1 Message Date
Comma Device eda1bcaef9 configure SSL globally on NEOS
old-commit-hash: 23faedd25eb6895c86bb890fdbf4f48889ecf4c3
2021-05-02 16:29:02 -07:00
HaraldSchafer fd28911282 Revert "Locationd 100hz (#20759)" (#20797)
* Revert "Locationd 100hz (#20759)"

This reverts commit 995b89e6424a7b717fb2c725a64d617fb24a1a85.

* new ref
old-commit-hash: daecf4247be74fbe56ae84b4c6585c4c8cbc49b5
2021-05-02 15:06:34 -07:00
Shane Smiskol 1846ddbc14 Update route for 2017 Corolla (#20793)
old-commit-hash: 5f61cd0531d6fc2d9280b1964a3407e25e2c2d27
2021-05-02 00:05:59 -07:00
Adeeb Shihadeh c9d5447edd registration unit tests (#20792)
* start tests

* more test

* done
old-commit-hash: 5b764ab47760f6b8b751cff074b245b988650051
2021-05-01 17:16:58 -07:00
Dean Lee 309a873e7d Qt: use new signal slot syntax (#20783)
* new signal slot syntax

continue

* continue
old-commit-hash: 4781598e1228b3f8707afa7237864f4cb4df9d71
2021-05-01 14:12:35 -07:00
Dean Lee f3cc81721f CommaApi: passing arguments by reference (#20786)
* passing arguments by reference

* remove unused networkAccessManager

* ref
old-commit-hash: f01c3c649b07b7aefe9917506d094cb44927d689
2021-05-01 14:11:35 -07:00
Dean Lee 5957d8cc05 Replay: make response a const reference in parseResponse (#20787)
old-commit-hash: 228308b719a5e1fb24ce912eeaa13eaf2db0a22e
2021-05-01 09:50:32 -07:00
Dean Lee ee9280d9d3 HttpRequest: passing references in signals (#20782)
old-commit-hash: ad57cd37595919c84c7c8315222a1141d10993fa
2021-04-30 23:58:12 -07:00
Gabor 9b78f835ce Civic 2019 EU new ECU values added (#20774)
* Update values.py

* non essential

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7d9aa1352f305312ee1d9c28f3c6316fafae600d
2021-04-30 17:06:12 -07:00
Erich Moraga f2d0b34bab Add ESP f/w for RAV4_TSS2 (#20778)
`@Priyam#6501` 2021 RAV4 Limited AWD DongleID/route 6b0dae5689fa7dde|2021-04-29--23-45-18
old-commit-hash: 5c9151478a2d5240c4c918a7ee1e26a6a02e8958
2021-04-30 16:37:36 -07:00
Adeeb Shihadeh 8b38c339f6 trigger sidebar status widget repaints on color change
old-commit-hash: 1c89825d8607e912e974dd4609957f32674c8806
2021-04-30 14:01:49 -07:00
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: f9a961f6fb69f36f8a113246920b2d71e6af8ae1
2021-04-30 13:55:17 -07:00
Comma Device ef4a479880 spinner is a qwidget
old-commit-hash: 065e2bc7d0d0e3f3e356b4f1147538c4f6417280
2021-04-30 11:11:05 -07:00
Adeeb Shihadeh 16688e2170 small UI cleanup
old-commit-hash: ebceadf08905a40f7e019c6b680111ec2ee787ef
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: db9319405b5a650627a45de78a81afaed4ae2128
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: a57f10c202fe7dc63023d45ef612c4ec849882ab
2021-04-29 13:03:16 -07:00
Adeeb Shihadeh b263a8d934 UI: refactor GLWindow (#20764)
old-commit-hash: 140e6248e26cfa370ccdb13fda8edc4fae0321ca
2021-04-29 11:18:59 -07:00
qadmus 99d3a5e553 ignore_avg_freq of longitudinalPlan, which is triggered by radarState (#20743)
old-commit-hash: 0d10f9c4ad0e11ecd25e0c29355e1c825333f740
2021-04-29 11:06:44 -07:00
Slevner 6be23700ec Skoda Kodiaq fingerprint (#20744)
old-commit-hash: bb34014e3b455c511dc6f97f610040963f28df04
2021-04-28 19:43:11 -07:00
nongnoobjung 999a7891e0 Civic Bosch fingerprint (#20762)
old-commit-hash: 576b80861337321150188fc2983e2310f7c3cbe9
2021-04-28 19:42:15 -07:00
Goesreallyfast 4b26364439 LEXUS NX 300 2020 Car Port (#20769)
old-commit-hash: 68e2c65b1aff2aa45ac26d62dc1c420202b3d508
2021-04-28 19:28:29 -07:00
Adeeb Shihadeh d37b2b6fd4 Honda Bosch: fix reading ACC_CONTROL (#20748)
old-commit-hash: 3a9133fb8a22359380b8e340d5100c6150197d96
2021-04-28 17:20:12 -07:00
Adeeb Shihadeh caccd0f239 update test routes (#20772)
old-commit-hash: ee5bbcb53cb03f2c159fccd4350d70ccd810436d
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: 333313cf0e6819767d8dcc4a55bea70f0354579f
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: 4d8a35d639739e9e00c5f5317e4489c4cb66524c
2021-04-28 14:09:13 -07:00
Dean Lee d76b938a03 reserve space for vector of can_frame (#20771)
old-commit-hash: e151425c1c7f3e642b06504c165d7db8bab8a603
2021-04-28 13:50:21 -07:00
Adeeb Shihadeh 9aa9d33f92 rate limit offroad mem logging
old-commit-hash: 8fb26b95e92620d3d3c6e5e94d6f7a97b35bbad7
2021-04-28 00:09:03 -07:00
iejMac 86a1616de9 Replay: fix crashing from trimSegment
old-commit-hash: aeafb8e00c0003f5148781070d4c2743234e5119
2021-04-27 23:32:42 -07:00
Adeeb Shihadeh 13dbb65b98 clear scons cache more aggressively
old-commit-hash: 42af09b15b873981682b17e3145b59283a901981
2021-04-27 19:16:03 -07:00
ZwX1616 6c04391277 C2 dim displays: remap in shader to avoid screen deadzone (#20757)
old-commit-hash: 2c0b0f927fc517f728b6f35feded278e4f8152ce
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: f7ea2cd761a7c497a816f317a6890caa6dd8a195
2021-04-27 11:40:19 -07:00
Adeeb Shihadeh 8708cf5577 make memory usage cloudlog an event
old-commit-hash: 83e8ccb4ef7f26ae857ac3b0345bb51a15fecbe4
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: 3c9e46d8a2ec3f9c347b0f455f66179c8220c1e2
2021-04-26 20:58:21 -07:00
Adeeb Shihadeh 9531bf9d88 fix process replay on local files (#20758)
old-commit-hash: c45dbbc737c95a68de3b1f9c1bc6b1e08a23cb36
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: a337097b5ee515560e9f1a804b997753767d3c9a
2021-04-26 17:25:22 -07:00
Adeeb Shihadeh 7cc1e11929 honda crv: add BSM frequency check
old-commit-hash: 1083d14f40e3164e7925a3453bee7bcd6b6151c1
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: a759c12c1bce473788b9321da5a49a92b2f624fa
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: 754c6f4e62b3be6067521f5db7497b4b6383aa17
2021-04-26 13:55:02 -07:00
iejMac 0b4949057c print error when HttpRequest fails
old-commit-hash: a8e231f8b1805f4b2f9b6692d9c3d0c2c6728087
2021-04-26 10:16:57 -07:00
Adeeb Shihadeh ea01368644 log for high offroad memory usage
old-commit-hash: 4f02b4386caeb6868ea8704c2f4d0ef655b59779
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: 7f16554ee3eac009d626eb555f52c1b2e1caf4e6
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: b0503e534ac4e515af2c82294a387f0ca405f13c
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: 6c7ed8f2e4a3769c12e61be57e802920b84dcc29
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: c9a29d6debc93e42a4f3b0e730cb68d0682d4ca7
2021-04-24 11:01:58 -07:00
Adeeb Shihadeh 21071dfa9b only build replay if tools/ exists
old-commit-hash: 01cb8d401a340462bebf788119ca9bb18b5d8093
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: 19d962cdf37b80523deba6518057f2e860f65fee
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: 0fe155b7c30e9db4bd08b61d8e7e325ec58ac24a
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: 426faa02f02a6b778035fada27242dbf4594272c
2021-04-23 17:25:58 -07:00
Adeeb Shihadeh 467811edf1 log encodeIdx packets in qlog (#20738)
old-commit-hash: 9813c0ddbdbd00716710a24c7edbdd509b66d9b7
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: 47ad2a485f927134ee2f93c497b1b6cb831def30
2021-04-23 11:29:38 -07:00