Commit Graph

6248 Commits

Author SHA1 Message Date
Willem Melching f1ca848ff7 filter_log_message: support errorLogMessage from qlogs 2022-04-15 11:06:28 -07:00
Gijs Koning 6dfdb04cb4 Remove visiontest files (#24219) 2022-04-15 09:54:05 -07:00
Erich Moraga f933d543b2 Extend Lexus RX compatibility to 2022 (#24217)
* Extend Lexus RX compatibility to 2022

Sorry, I should've done it when I submitted this PR a couple months ago...
https://github.com/commaai/openpilot/pull/23691

* Revert "Extend Lexus RX compatibility to 2022"

This reverts commit b6a4c5f82c50713d813e260086b71061f047a70a.

* Extend Lexus RX compatibility to 2022 via CarInfo

* Extend Lexus RX compatibility to 2022 in docs
2022-04-15 08:12:18 -07:00
Gijs Koning 0254a3fe11 Improve lagging message description (#24208)
* Improve lag prints process name

* Cleanup

* small change

* Add bridge process name

* Use getproctitle

* Remaining
2022-04-15 08:11:53 -07:00
Adeeb Shihadeh 1fa1c44342 agl plugins work nicely on latest profiler 2022-04-14 21:34:14 -07:00
Shane Smiskol 998cd7fa20 UI: new laneless design (#24169)
* stash

* Revert "stash"

This reverts commit f0019010e28ffb6d70b3c84666572f30c22077c9.

* new laneless ui

* clean up

* always draw lane lines

* no compensation

* make sure it's long enough

* debug time

* tune design

* tune design 2

* correct scaling with new updated curve hue

* debug time

* full test

* revert test

* move yellow back a bit
2022-04-14 20:09:51 -07:00
Adeeb Shihadeh 639255bd10 UI: double click to switch between body and onroad views (#24214)
* UI: double click to switch between body and onroad views

* fix that

* Update selfdrive/ui/qt/home.cc

Co-authored-by: Comma Device <device@comma.ai>
2022-04-14 17:33:17 -07:00
Shane Smiskol 52e5aa8409 uiview: show model (#24210)
* assume not car when using uiview

* write carparams
2022-04-14 16:37:09 -07:00
George Hotz df6c2b6af9 body: web joystick handle timeout 2022-04-14 16:12:30 -07:00
Cameron Clough acd455ed3a Ford: Support for LCA vehicles (#23331)
* Ford: add Focus Mk4

Also removes support for the Ford Fusion.

* Ford: LKAS/LCA steering and UI CAN commands

* Ford: implement CarController w/ steering and lanes ui

* Ford: FPv2 firmware request

* Ford: Add FW for 2018 Ford Focus

* Ford: add Escape Mk4

* bump panda

* cleanup

* add that back

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-14 14:32:03 -07:00
George Hotz b9e5ad8a64 fix csid map 2022-04-14 13:17:32 -07:00
Adeeb Shihadeh 5b098a1db5 test fw query: add nissan 2022-04-13 22:54:45 -07:00
Shane Smiskol 1a5ddfaedd regen: check if regenerated route is enabled (#24207)
* check if regenerated route is enabled

* elif

* initialize CUDA runner before all other processes

* Revert "initialize CUDA runner before all other processes"

This reverts commit 124e3dd4d3408b6649f40b3e6e7f217ca347f59f.

* add back fixes

* fix typo
2022-04-13 18:01:16 -07:00
George Hotz d7b849720c body: web joystick 2022-04-13 14:29:17 -07:00
Lukas Petersson 3ea92f6cd3 Latencylogger optimization (#24166) 2022-04-13 13:50:57 -07:00
Willem Melching 0b2b1f3e56 updated: reduce data usage (#24204)
* reduce updated data usage

* Update selfdrive/updated.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-13 13:48:38 -07:00
Adeeb Shihadeh c810198815 Subaru: remove rest of CAN fingerprints (#24195) 2022-04-13 11:48:14 -07:00
Gijs Koning e0845752e3 Fix camera error description (#24202)
* Fix camera error message

* Shorter
2022-04-13 09:56:37 -07:00
Shane Smiskol 5159878389 fix regen: specify frame timestamps for modeld (#24200)
* grab main frames when not using extra

* the actual fix
2022-04-12 23:07:33 -07:00
Adeeb Shihadeh 49c2164814 add alert for CAN bus timeout (#24162)
* add alert for CAN bus timeout

* add alert

* set in interface

* cleanup

* cleanup

* add event

* fix mock

* bump

* bump opendbc

* update refs

* return reader
2022-04-12 22:58:34 -07:00
Shane Smiskol 3ff14adbd6 Subaru: add missing Impreza fw versions (#24194)
* add missing impreza fw versions

* these are duplicate

* this fw version flipped on the 5th for michael and never switched back
2022-04-12 17:15:27 -07:00
Shane Smiskol 9f3245fea7 regen: use setup_env from process replay (#24197)
* use setup_env from process replay

* rm line
2022-04-12 16:36:02 -07:00
George Hotz 9318e02a52 Power draw test (#24196)
* power draw test

* power draw measure

* fix cam power draw

* no star import

* fix static

Co-authored-by: Comma Device <device@comma.ai>
2022-04-12 15:33:27 -07:00
Shane Smiskol f3bcbb1b50 car docs test: check car name (#24193) 2022-04-12 12:45:31 -07:00
George Hotz dab978083b loggerd: broadcast encoder data (#24177)
* encode data try 1

* fix pc build

* low quality compressed streamer with pyav

* nvidia streamer

* timestamp support

* fix latency measurement

* refactor

* camerastream updates

* fix linter

* compressed to vipc, clean

* remove print

* touchups

Co-authored-by: Comma Device <device@comma.ai>
2022-04-12 12:08:50 -07:00
Shane Smiskol e8faf9f985 Honda: resolve controls mismatch due to interceptor thresholds (#24173)
* make panda and openpilot thresholds match

* Revert "make panda and openpilot thresholds match"

This reverts commit dfcbd2058784de809564ada41e4cfbbfca7afe77.

* make panda and openpilot thresholds match

* remove interceptor scaling, compare int value

* remove honda exception

* bump panda

* bump opendbc

* add segment to check controls mismatch

* bump submodules
2022-04-12 11:20:55 -07:00
Shane Smiskol 85c714e350 test_models: support for specifying segment (#24185)
* support for specifying segment

* revert

* formatting

* revert

* Fix mypy

* raise exception if specified segment isn't available

oh, ndog param wasn't being set

* easier to read

* add to exception
2022-04-11 22:03:23 -07:00
Lukas Petersson 7034888cdb latency logger usable in testing closet (#24183) 2022-04-11 16:44:24 -07:00
mitchellgoffpc 25fdc95ea8 CALMODEL frame is dead 2022-04-11 16:33:24 -07:00
Adeeb Shihadeh c1388636a2 comma three: correctly set initial EPS bearer settings for AT&T sim cards (#24175)
* 3g sunset

* only for blue prime

* pass

* full att code

Co-authored-by: Comma Device <device@comma.ai>
2022-04-11 15:33:58 -07:00
Adeeb Shihadeh 37fc027e98 controlsd: fix soft disable while overriding (#24178) 2022-04-11 10:50:00 -07:00
Adeeb Shihadeh cf6c0ef19a tici IRQ tuning (#24170)
* first pass

* move that back

* move that

Co-authored-by: Comma Device <device@comma.ai>
2022-04-11 10:49:27 -07:00
Robbe Derks 863fed8fec Panda interrupt load (#24180)
* bump panda

* add to pandaState

Co-authored-by: Comma Device <device@comma.ai>
2022-04-11 12:35:14 +02:00
Adeeb Shihadeh fcf657763d nav: better reroute backoff policy (#24179)
* nav: reduce max reroute backoff

* remove that too
2022-04-10 20:53:07 -07:00
George Hotz cc8430b668 broadcast encode idx packets (#24176)
Co-authored-by: Comma Device <device@comma.ai>
2022-04-10 15:12:58 -07:00
HaraldSchafer f54e724b5d Body cleanup + 100Hz locationd (#24168)
* use PID

* 100hz on the branch

* Better defaults

* fix int clip

* More cleanup

* Fix pid comments

* only notcar gets 100hz

* cleanup

* fix tests

* ignore

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-09 15:22:29 -07:00
Adeeb Shihadeh 69368cce54 bump opendbc 2022-04-08 22:11:27 -07:00
Jason Wen 6214991d98 Hyundai: Car Port for Tucson Diesel 2019 (#24082)
* Add car port: Hyundai Tucson Diesel 2019

* SCC + LKAS trims only

* Add test route

* Update CARS.md

* remove from legacy safety mode

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-04-08 11:32:18 -07:00
Shane Smiskol 0f61a388c3 GM: resolve cruise faults (#24167)
* these should be enabled

* bump panda

* bump

* allow in pre-enabled state

* bump panda

* add comment

* bump and update refs

* bump panda

* bump panda
2022-04-07 20:44:09 -07:00
ZwX1616 720adbc49f DM: reduce model error on dsp by another 3.5x (#24159)
* a8236e30

* match

* update model ref
2022-04-07 16:53:06 -07:00
Lukas Petersson fecaac8eda latencylogger graph design (#24165)
* latencylogger graph design

* Update tools/latencylogger/latency_logger.py

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

* quotes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-07 13:18:26 -07:00
HaraldSchafer 634f7cebef Make PI into a PID (#24151)
* Make PI into a PID

* Cast like before
2022-04-07 11:34:45 -07:00
George Hotz 10d4766f76 camerad: cleanups, support running only one camera (#24157)
* support disabling the cameras

* disable instead of only. reduce camera startup time

* cleanups

* make all disables work

* add more logging to buffer creation

* make disable work

* disable on sensor probe failed

* tested, fix print

* tolerate sensor failure onroad

* enables should be honored in public methods only

* comments and whitespace

* debug starting sensor

* bring clear_req_queue into c++, add logging for error cases

Co-authored-by: Comma Device <device@comma.ai>
2022-04-07 10:43:14 -07:00
Adeeb Shihadeh 6c0fa7775c bump cereal 2022-04-06 22:27:29 -07:00
Adeeb Shihadeh 162e47456c bump cereal 2022-04-06 22:25:59 -07:00
Chris Souers 12ff38196d More Accord 2021 FW (#24154) 2022-04-06 22:06:26 -07:00
Chris Souers 7cea1ed6d9 Honda Bosch: fix undefined signal in can packing (#24155) 2022-04-06 22:04:45 -07:00
Adeeb Shihadeh 1ea66ee244 controlsd: fix long press set speed increment (#24161) 2022-04-06 22:03:40 -07:00
Adeeb Shihadeh 9ec0378842 bump opendbc 2022-04-06 21:57:26 -07:00
Willem Melching fb344021aa update camera CRC alert text (#24156) 2022-04-06 17:46:56 -07:00