Commit Graph

4201 Commits

Author SHA1 Message Date
Adeeb Shihadeh
76bd932cf5 loggerd: always run encoders (#22649)
* loggerd: always run encoders

* fix raw logger

* bump loggerd cpu usage
2021-10-21 16:37:03 -07:00
Adeeb Shihadeh
897492d27c more specific no fw startup alert 2021-10-21 16:24:01 -07:00
Greg Hogan
755a0a63a2 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
2021-10-21 14:59:07 -07:00
qadmus
2e0bc9d365 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>
2021-10-21 14:10:41 -07:00
qadmus
778374d3dd [Lateral PID] Function for steer feedforward (#22638)
* store a function for steer feedforward

* use classmethod

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

* toyotas

* camry hybrid
2021-10-20 23:12:04 -07:00
Adeeb Shihadeh
66c20026f6 remove unused can fingerprints (#22646) 2021-10-20 22:32:51 -07:00
Jafar Al-Gharaibeh
ca1f96ac72 Mazda: Fix OP steer warning in cars with lockout (#22612)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-20 21:36:22 -07:00
cydia2020
9a2ecec1a8 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>
2021-10-20 15:41:31 -07:00
Mitchell Goff
38f775edfc 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
2021-10-20 16:16:40 +02:00
Devin Leamy
12165c8865 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
2021-10-20 16:16:05 +02:00
Jason Young
b983f8aa9b VW MQB: Audi S3 Mk3 (#22633) 2021-10-20 16:15:48 +02:00
Dean Lee
317deeae84 replay: improve seeking, queuing segments (#22625)
* improve seeking, queuing segments

* cleanup,init current_segment_ to 0

* use isSegmentLoaded

* remove to isSegmentMerged
2021-10-19 22:23:53 -07:00
cydia2020
0b6b9b595d 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>
2021-10-19 22:01:47 -07:00
Greg Hogan
a7f36c9daf 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
2021-10-19 19:04:01 -07:00
Jason Wen
d01c340f1f 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
2021-10-19 16:59:10 -07:00
Dean Lee
702fc5850c replay: fix replay looping (#22618) 2021-10-19 12:59:06 -07:00
Willem Melching
17067549bc Honda Bosch longitudinal: show AEB disabled status on HUD (#22617)
* Honda Bosch longitudinal: show AEB disabled status on HUD

* also set acc hud
2021-10-19 16:09:14 +02:00
Dean Lee
107ed35d1e 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
2021-10-19 14:45:07 +02:00
Dean Lee
4678903a61 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
2021-10-19 14:39:47 +02:00
Jason Wen
7f5ffe54c0 Hyundai: Add FW for 2022 Hyundai Sonata Hybrid (#22543)
* Hyundai: Add FW for 2022 Hyundai Sonata Hybrid

* Add additional FW
2021-10-19 14:10:40 +02:00
Jason Wen
e62442a9f3 Hyundai: Add FW for 2018 Hyundai Ioniq Hybrid (#22585) 2021-10-19 14:09:01 +02:00
Willem Melching
e5e90aeae5 replay: improve download prints 2021-10-19 12:48:38 +02:00
Dean Lee
8d1d0c2cd7 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
2021-10-19 12:33:12 +02:00
Adeeb Shihadeh
168493767e relax the no connectivity time to two weeks (#22607) 2021-10-18 16:58:41 -07:00
Dean Lee
0189a19b8e 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
2021-10-18 14:19:23 -07:00
Adeeb Shihadeh
84de248fa7 tici: affine loggerd to efficiency cores (#22581) 2021-10-18 13:21:24 -07:00
Dean Lee
ccc07db1ee replay: just load one segment to start replaying (#22598) 2021-10-18 12:03:34 -07:00
Greg Hogan
3b60a25010 hyundai: match stock when aeb is disabled (#22580)
* match stock when aeb is disabled

* add comment about instrument cluster warning
2021-10-18 10:55:53 -07:00
Dean Lee
94b3d4d267 replay: allocate events in contiguous memory pool (#22535)
* memory pool

* reserve events too

* remove dctor

* cleanup

* move pool into class LogReader

* cleanup include
2021-10-18 11:10:08 +02:00
Dean Lee
f6de10b55a 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
2021-10-18 11:05:03 +02:00
Dean Lee
c73d9ddaa6 replay: fix hanging on shutdown while downloading (#22592) 2021-10-18 11:03:30 +02:00
Dean Lee
5735d69d47 CameraView: fix possible crash on 'fit in widget' mode (#22594) 2021-10-18 11:02:08 +02:00
Harald Schafer
791de68689 plannerd: position std size check bug 2021-10-17 19:52:11 -07:00
Greg Hogan
c1c402a821 model position std should be exp(std) (#22593) 2021-10-17 19:42:20 -07:00
HaraldSchafer
e6545a7238 Update model_replay_ref_commit 2021-10-17 19:41:53 -07:00
Jason Wen
03f4188219 Hyundai: Fix Ioniq Hybrid signals (#22583) 2021-10-17 11:50:21 -07:00
Adeeb Shihadeh
7c611cd711 flush progress print from agnos and neos updaters 2021-10-16 14:13:17 -07:00
Dean Lee
085c424cf9 framereader: remove swscale (#22578) 2021-10-16 13:56:04 -07:00
lipniak
df9492d1e1 UI: add missing header to fix Ubuntu 21 build (#22577)
Co-authored-by: predicate@bonzo <noreply@example.com>
2021-10-16 13:30:14 -07:00
Comma Device
d4b35dc130 installer: fetch all for internal installer 2021-10-16 13:17:51 -07:00
Dean Lee
ae5eedb0b1 Replay/framereader: fix c3 qcamera padding problem (#22572) 2021-10-16 12:24:34 -07:00
Dean Lee
47ce0b4cd2 replay: added a missing #include <array> on Mac (#22573) 2021-10-16 09:02:19 -07:00
Adeeb Shihadeh
d708b5b546 thermald: log screen brightness (#22570)
* thermald: log screen brightness

* bump cereal
2021-10-15 17:19:45 -07:00
Dean Lee
20b0ae0e65 replay: fix possible segfault in CameraServer (#22556) 2021-10-15 15:34:54 -07:00
Adeeb Shihadeh
74a3c92704 only check low battery on EON 2021-10-15 15:04:19 -07:00
Adeeb Shihadeh
b427d4acc5 sort toyota and lexus models 2021-10-15 14:54:11 -07:00