Commit Graph

5529 Commits

Author SHA1 Message Date
Adeeb Shihadeh
cd5bc565d3 camerad: allow core affinity setting to fail while offroad (#22664)
Co-authored-by: Comma Device <device@comma.ai>
2021-10-22 20:57:21 -07:00
Adeeb Shihadeh
4749815419 little sound tester 2021-10-22 17:50:15 -07:00
lipniak
38420a1bef ubuntu_setup.sh: add 21.10 support and change packages (#22628) 2021-10-22 15:45:20 -07:00
Adeeb Shihadeh
c4de1fef4f UI: don't block UI on vipc recv (#22644)
* UI: don't block UI on vipc recv

* use a timer

* move that
2021-10-22 14:16:14 -07:00
Jason Young
68333dce60 VW MQB: Volkswagen Taos Mk1 (#22653)
* VW MQB: Volkswagen Taos Mk1

* add test route
2021-10-21 20:26:33 -07:00
Chris McCammon
132f40c819 Leaf 2022 confirmed working
f49cbfe935911658
2021-10-21 18:53:21 -07:00
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
Adeeb Shihadeh
6a587ac873 bump cereal 2021-10-21 13:52:54 -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
Willem Melching
5f2d3d4f51 bump opendbc 2021-10-20 16:14:23 +02:00
Willem Melching
cf42e71c16 remove cysignals from pipfile (#22630) 2021-10-20 12:26:12 +02:00
Adeeb Shihadeh
76a8751497 tools/setup: install git-lfs from standard apt source 2021-10-19 22:37:08 -07: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
Adeeb Shihadeh
fbcb32969d bump opendbc 2021-10-19 21:55:38 -07:00
George Hotz
cb01ef0919 transformations: preserve dtype in denormalize 2021-10-19 19:46:35 -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
sshane
1299ec7582 Support 2022 Camry Hybrid (#22613) 2021-10-19 11:29:43 +02:00
Adeeb Shihadeh
168493767e relax the no connectivity time to two weeks (#22607) 2021-10-18 16:58:41 -07:00
Jason Wen
ae373ab572 Hyundai: Add Hyundai Ioniq Hybrid 2017-2019 to CARS.md (#22606)
* Update CARS.md

* Update CARS.md
2021-10-18 16:31:28 -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
Minjie Xu
a9672eabf4 tools/setup: use OP_ROOT in cd (#22600) 2021-10-18 10:51:20 -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