Commit Graph

4956 Commits

Author SHA1 Message Date
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
Dean Lee 5735d69d47 CameraView: fix possible crash on 'fit in widget' mode (#22594) 2021-10-18 11:02:08 +02:00
Willem Melching afc26b04f0 more release notes 2021-10-18 10:46:51 +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
FM f6dd5dde5c Update README.md (#22586) 2021-10-17 14:57:58 +02:00
Adeeb Shihadeh 7b5d915a68 can_replay: use segments without an FCW 2021-10-16 15:00:07 -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 f564eca51d tools/ui.py: support playing qcamera (#22571) 2021-10-16 11:32:24 -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
Min CHO 0f8c3cdbf8 Add fingerprint for 2022 Korean RAV4H_TSS2 (#22565) 2021-10-15 14:51:07 -07:00
Dean Lee acc52ece20 replay: refactor Route and Segment (#22531)
* new functions

* fix wrong call to qUrl::isLocalFile

* cleanup

* keep extension in cached files

* cleanup

* simplify segment

* delete thread

* add output

* pre-decompress

* remove suffix

* revert remove suffix

* 1 connection for log file

* cleanup

* segment may not be continuous,use map

* don't emit finish if aborting_

* use QFuture and thread pool

* cleanup

* fix segfault in LoadFromLocal

* cleanup

* handle segment failed to load

* output info

* continue error handling

* Remove redundant testSeekTo

* cleanup

* always return true

* keep time is ok now

change to 1s

write 1 byte at the end of the sparse file

* log loading segment

* merge #22476

* Update selfdrive/ui/replay/logreader.cc

* correct connect

* pub message in function

* typo

* Update selfdrive/ui/replay/replay.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-15 14:35:17 -07:00
Dean Lee 3de2cd897b watch3: fix layout warning (#22566) 2021-10-15 00:28:26 -07:00
Adeeb Shihadeh 901f1e5952 remove external/ (#22484) 2021-10-14 20:15:40 -07:00