Commit Graph

4036 Commits

Author SHA1 Message Date
Adeeb Shihadeh
4e005ead0a UI: don't block UI on vipc recv (#22644)
* UI: don't block UI on vipc recv

* use a timer

* move that
old-commit-hash: c4de1fef4f925e9ba5292f501c2acd70dd0f1505
2021-10-22 14:16:14 -07:00
Jason Young
eea6847ac0 VW MQB: Volkswagen Taos Mk1 (#22653)
* VW MQB: Volkswagen Taos Mk1

* add test route
old-commit-hash: 68333dce602de8637855b6d61b9f321dcc385dde
2021-10-21 20:26:33 -07:00
Adeeb Shihadeh
b773f6711c loggerd: always run encoders (#22649)
* loggerd: always run encoders

* fix raw logger

* bump loggerd cpu usage
old-commit-hash: 76bd932cf555305a1e00d723bb5bb69d7fba39e9
2021-10-21 16:37:03 -07:00
Adeeb Shihadeh
01043f505a more specific no fw startup alert
old-commit-hash: 897492d27c416b1b8f70fee00de5e4db8c168ba8
2021-10-21 16:24:01 -07:00
Greg Hogan
cab0fbed7e ModelDataRaw struct part 3 (#22639)
* lane lines and road edges

* roll back some changes to find what broke things

* rollback more changes to find issue

* fix order of lane line probs

* try outputs on stack again

* initialize output array
old-commit-hash: 755a0a63a2ff7d62ee3eef723a761548e4b437a5
2021-10-21 14:59:07 -07:00
qadmus
b88eea00b5 GM: improved Volt lateral tuning (#22621)
* GM Volt lateral tuning and feedforward function

* improve comments, lower P 5% to 0.17, which matches all my notes over time, 0.18 was a last test change.

* don't justify actuator delay for now

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2e0bc9d3653defb51e229d45e0c68447c51785a4
2021-10-21 14:10:41 -07:00
qadmus
dcf3fc2089 [Lateral PID] Function for steer feedforward (#22638)
* store a function for steer feedforward

* use classmethod

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 778374d3dd8ebd3bdd51149228b3c70767bc64ec
2021-10-21 11:38:03 +02:00
Willem Melching
f78eacb3a5 athena: listUploadQueue, check None first
old-commit-hash: bde568205e5fe930d99fa4a7f16830077e962c15
2021-10-21 11:15:09 +02:00
Adeeb Shihadeh
e761c4da22 fix snapshot camerad crash due to core affinity setting (#22648)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e9cb2104e6eb64a0a1d0e7dc342064523219dc74
2021-10-21 00:26:01 -07:00
Adeeb Shihadeh
556b80397b remove unused camry hybrid fingerprint
old-commit-hash: dffff03c37e0c5021d8be23c82580cb05618c6a3
2021-10-21 00:07:30 -07:00
Adeeb Shihadeh
5dddf7515e Remove CAN fingerprints + FW dump (#22647)
* add missing pilot fw

* toyotas

* camry hybrid
old-commit-hash: c85c8fee3c8ba363edbf19aad21e2e2462279f73
2021-10-20 23:12:04 -07:00
Adeeb Shihadeh
477f87a885 remove unused can fingerprints (#22646)
old-commit-hash: 66c20026f6b6bd7056f84060d9436f42c92d3984
2021-10-20 22:32:51 -07:00
Jafar Al-Gharaibeh
febe8bf636 Mazda: Fix OP steer warning in cars with lockout (#22612)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: ca1f96ac725f0cbacfad41c6f277cd86acbee9a1
2021-10-20 21:36:22 -07:00
cydia2020
85bfd29c72 Toyota longitudinal: Illuminate PCS Warning Light If DSU is Unplugged (#22631)
* display amber "PCS Off" indicator when DSU is unplugged

* Update opendbc

* update ref

* Update opendbc

* update ref

* bump opendbc

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9a2ecec1a839e063347d0cbbb563ffaf28dba40e
2021-10-20 15:41:31 -07:00
Mitchell Goff
3e3b875111 Only trigger model FCW on stock long when not already braking (#22620)
* Only trigger model FCW on stock long when not already braking

* Split model_fcw checks for better readability
old-commit-hash: 38f775edfc12736f590885705c3a92a785d531f8
2021-10-20 16:16:40 +02:00
Devin Leamy
5b5269cb06 athena: Do not show canceled upload items in listUploadQueue (#22627)
* do not show canceled upload items in listUploadQueue

* return item._asdict()

* athena: updated test for listUploadQueue
old-commit-hash: 12165c8865d8534e133af483cd15d7dfb3a0579a
2021-10-20 16:16:05 +02:00
Jason Young
23806c01fe VW MQB: Audi S3 Mk3 (#22633)
old-commit-hash: b983f8aa9bf2b2c1cebdcad7e48d9165a4a19def
2021-10-20 16:15:48 +02:00
Dean Lee
c35975072e replay: improve seeking, queuing segments (#22625)
* improve seeking, queuing segments

* cleanup,init current_segment_ to 0

* use isSegmentLoaded

* remove to isSegmentMerged
old-commit-hash: 317deeae847747810f632acd762595da759b41a2
2021-10-19 22:23:53 -07:00
cydia2020
260b065e0e Toyota longitudinal: display PCS off when DSU is unplugged and no SDSU is found (#22626)
* display pcs off in car settings when DSU is unplugged

* Update opendbc

* fix checks

* bump opendbc

* use 0

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0b6b9b595ddf646dd3afb9e64a1cae28737468e7
2021-10-19 22:01:47 -07:00
Greg Hogan
0e89533b19 ModelDataRaw struct part 2 (#22554)
* model pose more struct

* constexpr seems useful

* more concise

* fix order

* seems more readable

* plan struct

* attempt to fix compiling on device

* fix constexpr errors on device

* fix rotation rate in log

* maybe this fixes compiling constexpr on device

* exp() cannot be used in constexpr on c2

* only copy what we actually log

* simplify pivot()

* fix setting position std

* see if this works

* try lambda again

* giving up on the lambda to select member

* fix position std

* fix param order
old-commit-hash: a7f36c9daf65f0642aa395c07c140d82bc2a7a1e
2021-10-19 19:04:01 -07:00
Jason Wen
618e4c64e1 Hyundai: Car Port for 2022 Hyundai Ioniq Hybrid (#22610)
* Add car port: Hyundai Ioniq Hybrid 2022

* Update RELEASES.MD

* Update CARS.md

* Add test route: Hyundai Ioniq Hybrid 2022
old-commit-hash: d01c340f1fec72b8d13ded7076cfe2f77034e441
2021-10-19 16:59:10 -07:00
Dean Lee
3542dfeacd replay: fix replay looping (#22618)
old-commit-hash: 702fc5850cf9d1e5a5b5e22e29c03abf998075c3
2021-10-19 12:59:06 -07:00
Willem Melching
872ec535f4 Honda Bosch longitudinal: show AEB disabled status on HUD (#22617)
* Honda Bosch longitudinal: show AEB disabled status on HUD

* also set acc hud
old-commit-hash: 17067549bcf44dddf81623c80e3f2d88ca676aa5
2021-10-19 16:09:14 +02:00
Dean Lee
ea6ee497e5 replay: parse route string, replay from the specified segment (#22503)
* parse segment name

* return 0

* update regexp

* with |

* dd

* use struct

* move to class Route

* refactor loadFromLoacal

* simplify loadFromJson

* cleanup load from server

* const ref
old-commit-hash: 107ed35d1ea0abca29bca41596eccb6aab1e5681
2021-10-19 14:45:07 +02:00
Dean Lee
ed5bd9719b replay/camera: publish each camera in a separate thread (#22591)
* publish frames in a seperate thread for each camera

* cleanup

* cleanup

* prefetch next frame

* cleanup
old-commit-hash: 4678903a6193ee707657be8b939174823f26eb5a
2021-10-19 14:39:47 +02:00
Jason Wen
3ab1ab4b91 Hyundai: Add FW for 2022 Hyundai Sonata Hybrid (#22543)
* Hyundai: Add FW for 2022 Hyundai Sonata Hybrid

* Add additional FW
old-commit-hash: 7f5ffe54c03a0807a85eff094a7cbcb5e46584de
2021-10-19 14:10:40 +02:00
Jason Wen
71d42e30e6 Hyundai: Add FW for 2018 Hyundai Ioniq Hybrid (#22585)
old-commit-hash: e62442a9f3eb20e9a13892076d9beee7fad25ef2
2021-10-19 14:09:01 +02:00
Willem Melching
03ed20610b replay: improve download prints
old-commit-hash: e5e90aeae5f1c05a50eac3ccc4f2e19d56c18bdc
2021-10-19 12:48:38 +02:00
Dean Lee
e7aa4f16e5 replay: improve segment downloading (#22504)
* improve segment downloading

dd

* continue

* log retrying

* check aborting_ in loop

* std::endl

* log download information

* cleanup

* continue

* dd

* move download to seperate funciton

* simplify logging

* continue

* guard ts

* cleanup

* typo
old-commit-hash: 8d1d0c2cd715638b9b0fd8b3cd692bdfd2474ea9
2021-10-19 12:33:12 +02:00
Adeeb Shihadeh
16aed2e43d relax the no connectivity time to two weeks (#22607)
old-commit-hash: 168493767e3f551fe790f2cc766d5ac3b16cb9ce
2021-10-18 16:58:41 -07:00
Dean Lee
4f44e47aa1 replay: refactor FrameReader (#22438)
* decode from the previous keyframe after seek

* less memory

* some stream seems to contian no keyframes

* test random seek

* merge master

* continue

update test_cases

use fr

* merge master
old-commit-hash: 0189a19b8ebd18d9155328204da550c7ff1715f4
2021-10-18 14:19:23 -07:00
Adeeb Shihadeh
25cfa2b65a tici: affine loggerd to efficiency cores (#22581)
old-commit-hash: 84de248fa7cbee37ecb2fd6a9d4df50ba60a1e04
2021-10-18 13:21:24 -07:00
Dean Lee
26d7db6649 replay: just load one segment to start replaying (#22598)
old-commit-hash: ccc07db1eebe0fb9077bf4bcd0f35af520f59037
2021-10-18 12:03:34 -07:00
Greg Hogan
824e71c885 hyundai: match stock when aeb is disabled (#22580)
* match stock when aeb is disabled

* add comment about instrument cluster warning
old-commit-hash: 3b60a250106063b81e6e46997eafd80ae7bea7af
2021-10-18 10:55:53 -07:00
Dean Lee
e88d98223b replay: allocate events in contiguous memory pool (#22535)
* memory pool

* reserve events too

* remove dctor

* cleanup

* move pool into class LogReader

* cleanup include
old-commit-hash: 94b3d4d26745bb2b982da064230155698d61cf44
2021-10-18 11:10:08 +02:00
Dean Lee
5afb4b9731 replay: start streaming after segment loaded (#22575)
* start streaming  after segment loaded

dd

* loop from beginning if reaches the end

* isSegmentLoaded

* one loop

* move to ctor

* delete stream_thread_ on exit

* pause streaming while testing seek

* Revert "one loop"

This reverts commit f029cd118f7ac876dee1dbf2b91478403211ad47.

* test:dummy stream thread

* cleanup

* start thread after vipcserver
old-commit-hash: f6de10b55a089a0600dd9826ffa3bfc140752370
2021-10-18 11:05:03 +02:00
Dean Lee
c39afc1b7a replay: fix hanging on shutdown while downloading (#22592)
old-commit-hash: c73d9ddaa61af2e04146e9be5c51f80dc7450f09
2021-10-18 11:03:30 +02:00
Dean Lee
457266ce89 CameraView: fix possible crash on 'fit in widget' mode (#22594)
old-commit-hash: 5735d69d47a1de021e2949b192ffdda7a9144aab
2021-10-18 11:02:08 +02:00
Harald Schafer
92c2da52a9 plannerd: position std size check bug
old-commit-hash: 791de686896c45aa400d9e5f8c1b2bb2ba09e89f
2021-10-17 19:52:11 -07:00
Greg Hogan
961ca7d880 model position std should be exp(std) (#22593)
old-commit-hash: c1c402a821b1d121bb9843f16be8d0c2edd2888f
2021-10-17 19:42:20 -07:00
HaraldSchafer
b8af16f22e Update model_replay_ref_commit
old-commit-hash: e6545a723803a381c7a367f0d4eafa1eb955f916
2021-10-17 19:41:53 -07:00
Jason Wen
095e5b55ff Hyundai: Fix Ioniq Hybrid signals (#22583)
old-commit-hash: 03f41882196fe042b20188937159b3962f2ae5b5
2021-10-17 11:50:21 -07:00
Adeeb Shihadeh
087a332532 flush progress print from agnos and neos updaters
old-commit-hash: 7c611cd71120de694f7e6f5186a832578036dac0
2021-10-16 14:13:17 -07:00
Dean Lee
5873c32178 framereader: remove swscale (#22578)
old-commit-hash: 085c424cf923f8a2886dbfaf7be71b1c38d28101
2021-10-16 13:56:04 -07:00
lipniak
69fb512da8 UI: add missing header to fix Ubuntu 21 build (#22577)
Co-authored-by: predicate@bonzo <noreply@example.com>
old-commit-hash: df9492d1e118aa610d355a7220fdeaeef46efdc1
2021-10-16 13:30:14 -07:00
Comma Device
c28abda1d2 installer: fetch all for internal installer
old-commit-hash: d4b35dc130f51b08c58d8f9779408dc4324cb029
2021-10-16 13:17:51 -07:00
Dean Lee
37212cdd24 Replay/framereader: fix c3 qcamera padding problem (#22572)
old-commit-hash: ae5eedb0b1ab295881750f005230a195aa2f8d26
2021-10-16 12:24:34 -07:00
Dean Lee
4e2be9ccda replay: added a missing #include <array> on Mac (#22573)
old-commit-hash: 47ce0b4cd2df77a1583aaac2a4143bdc3e05f047
2021-10-16 09:02:19 -07:00
Adeeb Shihadeh
18b2d1fee0 thermald: log screen brightness (#22570)
* thermald: log screen brightness

* bump cereal
old-commit-hash: d708b5b5464811dc6b58b7e88dfe614f90170723
2021-10-15 17:19:45 -07:00
Dean Lee
50cf6fd948 replay: fix possible segfault in CameraServer (#22556)
old-commit-hash: 20b0ae0e65c9e5237a6b9f89329d31254ffab20e
2021-10-15 15:34:54 -07:00