Commit Graph

5516 Commits

Author SHA1 Message Date
Adeeb Shihadeh d5e39af4c6 bump opendbc
old-commit-hash: fbcb32969d0e3912705f56b81560847c0a71dbf3
2021-10-19 21:55:38 -07:00
George Hotz a6c031a9b1 transformations: preserve dtype in denormalize
old-commit-hash: cb01ef09194c5b473154626709b6c0161949ec8a
2021-10-19 19:46:35 -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
sshane b248cca6c6 Support 2022 Camry Hybrid (#22613)
old-commit-hash: 1299ec7582aa2e1dc3a78f0bbcd51d1645b0538e
2021-10-19 11:29:43 +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
Jason Wen 64a814af04 Hyundai: Add Hyundai Ioniq Hybrid 2017-2019 to CARS.md (#22606)
* Update CARS.md

* Update CARS.md
old-commit-hash: ae373ab5726f9ce0a99ca3f888476e522cee330b
2021-10-18 16:31:28 -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
Minjie Xu 8120ce0a98 tools/setup: use OP_ROOT in cd (#22600)
old-commit-hash: a9672eabf490b2088fe32e2ef8e09e18ff41e1b1
2021-10-18 10:51:20 -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
Willem Melching 064fcd72d0 more release notes
old-commit-hash: afc26b04f0247710f0219c8d82b36b9d29ccd71d
2021-10-18 10:46:51 +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
FM 8eb8313509 Update README.md (#22586)
old-commit-hash: f6dd5dde5c299b495851dfef78cfbed925d62626
2021-10-17 14:57:58 +02:00
Adeeb Shihadeh 39099120a5 can_replay: use segments without an FCW
old-commit-hash: 7b5d915a6827be907c4abfc40afe5c287201674e
2021-10-16 15:00:07 -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 09a378d1eb tools/ui.py: support playing qcamera (#22571)
old-commit-hash: f564eca51d72c00ba379fc7d891982bef4c92791
2021-10-16 11:32:24 -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
Adeeb Shihadeh 3802eab361 only check low battery on EON
old-commit-hash: 74a3c92704b1d6597002d6c5da020ba8ff4393a1
2021-10-15 15:04:19 -07:00
Adeeb Shihadeh d7fd6c3f00 sort toyota and lexus models
old-commit-hash: b427d4acc599a7cbcb58b9ba544d96894b0c3db2
2021-10-15 14:54:11 -07:00
Min CHO 2ecf9a9d55 Add fingerprint for 2022 Korean RAV4H_TSS2 (#22565)
old-commit-hash: 0f8c3cdbf8adc8f330ede73c1b194e8c71889564
2021-10-15 14:51:07 -07:00
Dean Lee f5335bd42d 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>
old-commit-hash: acc52ece20cd5b152d2a439c5c01c9498182f089
2021-10-15 14:35:17 -07:00
Dean Lee b87ec5ad68 watch3: fix layout warning (#22566)
old-commit-hash: 3de2cd897b4b4d4e4ccc7c4718d8d161ecee808b
2021-10-15 00:28:26 -07:00
Adeeb Shihadeh 3e3386f084 remove external/ (#22484)
old-commit-hash: 901f1e59524b369352074770fe82d8e5a4ec185c
2021-10-14 20:15:40 -07:00
Adeeb Shihadeh efa7998d5f update pre-commit hook versions (#22526)
* update pre-commit hook versions

* fix mypy
old-commit-hash: a255449539b690f2bc16fbdf4d3a27297451dcb0
2021-10-14 20:14:00 -07:00
Vivek Aithal 80600a77dc expose filter internal states and stds (#22564)
old-commit-hash: f1546e6552fdf51b99cb44eafff5f88b1de536f1
2021-10-14 19:44:31 -07:00
Jason Wen 748ef217c7 Hyundai: Add Kona EV and Kona HEV to higher STEER_MAX limit (#22520)
old-commit-hash: c2a5f0ade2efeb02ecce36fc164b7e70bab75b3a
2021-10-14 19:41:43 -07:00
Jason Wen 872f78e615 Hyundai: Add FW for 2022 Hyundai Santa Fe (#22559)
* Hyundai: Add FW for 2022 Hyundai Santa Fe

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fe7ab37b7be67eb8d5c3f20683a385011796ffc3
2021-10-14 19:37:01 -07:00