Commit Graph

7421 Commits

Author SHA1 Message Date
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
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
Vivek Aithal f1546e6552 expose filter internal states and stds (#22564) 2021-10-14 19:44:31 -07:00
Jason Wen c2a5f0ade2 Hyundai: Add Kona EV and Kona HEV to higher STEER_MAX limit (#22520) 2021-10-14 19:41:43 -07:00
Jason Wen fe7ab37b7b 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>
2021-10-14 19:37:01 -07:00
Dean Lee 1e78a06b84 HardwarePC::TICI() : use util::getenv (#22532) 2021-10-14 14:23:05 -07:00
dlsp c6b210da02 params: include optional header (#22553) 2021-10-14 13:09:51 -07:00
Vivek Aithal d22f57e36d remove confusing logic in live_kf, move to locationd (#22558) 2021-10-14 11:57:50 -07:00
Greg Hogan 21e58f9f4a ModelDataRaw struct with fixed size arrays (#22544)
* convert pose

* fix indexes
2021-10-13 20:03:15 -07:00
Chris McCammon 12353bbea9 C-HR Firmware (#22549) 2021-10-13 19:33:07 -07:00
Dean Lee ac9bef1f64 modeld: more readable fill_model (#22540)
* more readable fill plan_t_attr

* remove parameter column_offset from fill_xyzt
2021-10-13 19:01:08 -07:00
ZwX1616 8574e79fec wider FOV DM on comma three (#22286)
* c3 is straightforward

* c2 transform

* c3 preview

* alpha model

* Revert "alpha model": wrong quantization data

This reverts commit b50e5739735b30d960aca22bcf3cbe23b0121e13.

* yuv looks good

* a55b

* const int

* block top deadzone

* new box alpha curve

* update k

* fix debug

* rhd use same offset

* box shift for rhd

* 7e3e

* set new thresh

* update ref

* explain

* remove e2e

* same metric thresh

* process isocc

* model

* cancel extra policy

* update numbers

* new model

* update cereal

* up cereal

Co-authored-by: Comma Device <device@comma.ai>
2021-10-13 17:00:46 -07:00
Erich Moraga f640772980 Add missing LEXUS_ESH_TSS2 engine & fwdRadar f/w (#22517)
`@LeoCar#9563` 2019 Lexus ES300 Hybrid DongleID/route 480aecfc70a26bb7|2021-10-10--19-20-25
2021-10-13 16:02:38 -07:00
Erich Moraga 973ccc5ec9 Add missing RAV4_TSS2 engine f/w (#22545)
`@James Tai#3141` 2020 RAV4 ICE  DongleID/route  5f3ff874ab5b3e0d|2021-10-14--02-22-22
2021-10-13 14:32:16 -07:00
Mitchell Goff fd3fdea7b4 Use TICI intrinsics by default on PC (#22546) 2021-10-13 12:44:36 -07:00
Adeeb Shihadeh 112df19d38 add some docs for selfdrive/debug 2021-10-12 20:17:12 -07:00
Chris McCammon 649d70eafa CH-R Hybrid fw (#22538) 2021-10-12 12:36:07 -07:00
Dean Lee 43a846843f c++ replay: support local routes (#22288)
* support local route

* kind of works

* works

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-12 00:51:22 -07:00
Adeeb Shihadeh ff771d9fcf add tool to watch all three beautiful cameras (#22528) 2021-10-12 00:23:31 -07:00
Adeeb Shihadeh 2f2b9116d4 set arg types 2021-10-11 20:41:28 -07:00
Adeeb Shihadeh 2456296858 fix decode errors in can printer 2021-10-11 20:06:00 -07:00
Adeeb Shihadeh 14a1441cbb show ascii in can printer 2021-10-11 20:03:35 -07:00
Adeeb Shihadeh 683ddeebc8 add arg parser to can printer 2021-10-11 19:47:49 -07:00
HaraldSchafer c4510024da Remove accel cost in long MPC (#22527)
* ACCEL not useful

* new ref
2021-10-11 17:20:40 -07:00
Adeeb Shihadeh f1fcf17c4c replay: support old, pre-pandaStates routes (#22525)
* replay: support old, pre-pandaStates routes

* cleanup
2021-10-11 15:58:44 -07:00
HaraldSchafer 0885790e34 more readable (#22519) 2021-10-11 14:20:44 -07:00
Dean Lee c801c65b9d replay: get EncoderIndex from capnp::AnyStruct (#22518)
* get EncoderIndex from capnp::AnyStruct

* const
2021-10-11 09:57:35 -07:00
Kyle Greenlaw 3412388b8c Additional FW for 2021 Hyundai Sonata Hybrid (#22482)
* New FW for 2021 Hyundai Sonata Hybrid

* Removed duplicates

* Wild cards

* Update selfdrive/car/hyundai/values.py

* restore old value

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-11 06:22:02 +02:00
Jason Wen f8750f66c8 Hyundai: Add FW for 2021 Hyundai Santa Fe (#22485)
* Hyundai: Add FW for 2021 Hyundai Santa Fe

* Add additional FW

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-11 06:20:53 +02:00