Commit Graph

5365 Commits

Author SHA1 Message Date
Dean Lee 3df339e1ed replay: refresh segment window after current segment is changed by seek (#22436)
old-commit-hash: 60b0c43c9061467e81d6bf3d35fb2a67c8d48f70
2021-10-05 15:15:33 +02:00
Dean Lee 38617c6c8f FrameReader: increase probesize to 10MB (#22437)
old-commit-hash: 97fc8b941e6144a395a93c09a0c90c53a8311d88
2021-10-05 15:15:11 +02:00
Dean Lee 1240e4a673 replay/ui.py: get image from vipc (#22433)
* get image from vipc

* cleanup import

* if not None

* lgtm

* bump cereal&do reconnect

* bump cereal

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2a8feb9eb91dad1c17d907543a33367aae109093
2021-10-05 15:14:38 +02:00
Lee Jong Mun f569655e61 hyundai clean up interface.py (#22408)
* Update interface.py

santa_fe / santa_fe_2022 same value 
kia_k5_2021 single value

* hyundai fw sort

# fwdRadar, fwdCamera, eps, esp, engine, transmission

kia ceed esp double fix 0x7d4 eps

* Update selfdrive/car/hyundai/interface.py

* Revert "hyundai fw sort"

This reverts commit 8ab24ffeeb84c3cb11f5fa44ae45fa35ed50ac06.

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: de88349ef045a1529d140772284c7f7208d97a26
2021-10-05 09:41:20 +02:00
Jason Young a2177b98f4 VW MQB: Add FW for 2019 Volkswagen Jetta (#22435)
old-commit-hash: 10ff1fefafae47e6b5869cb0ee7fba80ec937f94
2021-10-04 14:12:53 -07:00
speedking456 ca46acfd64 accel/decel button metric increments (#22399)
* add metric values

Freedom units have weird multiples compared to metric. Modified so that it increments by 10 km/h on long press and 1 km/h on short press, rather than 8 and 1.6 km/h. This mimics stock hyundai behaviour on metric vehicles.

* use is_metric from controlsd

* use actual mph value instead of rounded

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 23b931660336b7fdd21b8942cedb5f79401aa357
2021-10-04 21:11:17 +02:00
Willem Melching d0d63b7fb9 replace unlogger.py with c++ replay (#22430)
old-commit-hash: e233d59e03683b829884a0fea8ec119c9c5a8378
2021-10-04 21:07:40 +02:00
Willem Melching 2291683728 replay: do not use OpenCL (#22431)
old-commit-hash: 94afd0ea0f8bc17fc9d24e122f6447116ca75525
2021-10-04 19:43:52 +02:00
odomobo 8fc145a660 2022 Corolla engine FW (#22432)
old-commit-hash: 037624de6027b810f0cec7ce179bf88fea4ab8f6
2021-10-04 19:43:43 +02:00
Willem Melching 2d495e2c1e Honda Bosch: switch ACC_HUD between metric/imperial (#22428)
* Honda Bosch: switch ACC_HUD between metric/imperial

* bump opendbc
old-commit-hash: 26ce0fa0cbffc477c5a667df4c35ba2ead2cd10a
2021-10-04 18:42:06 +02:00
Dean Lee 7b3200362b c++ replay: graceful shutdown (#22280)
* graceful shutdown

* reset termios

* continue

* call clear in dctor

* unpause

* delete vipc_server

* relase context

* notify_one

* merge master

* merge master

* print vipc stop listen before shutdown down
old-commit-hash: 2253cba98bcc1cf5799567fc9050f10871ddce1d
2021-10-04 18:00:49 +02:00
Dean Lee 53bec066b6 replay: cleanup console output (#22410)
old-commit-hash: 29b9c8f13bf7c56c31289c35095dc73057267903
2021-10-04 17:15:03 +02:00
Dean Lee a8c5acb884 c++ replay: publish all frames in CameraServer (#22378)
* cameraserver

* support yuv

* init camera server in start()

* trigger ci
old-commit-hash: 1eb79d7a59a36e75ef2ccb1a8b1cea084784fc43
2021-10-04 16:45:28 +02:00
Dean Lee 2dc5a00e3d c++ replay: get socket name from capnp::Schema (#22367)
* get socket name from canp::Schema

* use vector
old-commit-hash: fd801c454abd302e6731fa9abbbc3d4cf74b6646
2021-10-04 15:44:06 +02:00
Dean Lee 66ca3985c9 replay : move utility functions into separate file (#22414)
* move functions into util

* read bz2 into stream

* pre-decompress log in the download thread

* cleanup logreader

* cache sha256 path

* use readBZ2file in test_logger

* Revert "cache sha256 path"

This reverts commit 60459d3ea09a2c80f4560cf95b1ce7d6af59f06d.

* use macro

* use ostringstream

* cleanup readBZ2File

* move precise_nano_sleep into util
old-commit-hash: d28b98c60244e2bb9e32810e881ea445a912606c
2021-10-04 15:39:59 +02:00
Dean Lee 430e9808b3 c++ replay: more robust seek (#22375)
* skip invalid segment

* test seek

* fix wrong cur_mono_time when route_start_ts is 0

* don't notify stream thread if current segment not merged

* continue merge next segment if current is invalid

* cleanup seekTo

* continue

* fix seek cross-boundary

* new demo route has 11 segments

* continue

* fix cross-boundary

* cleanup & better test cases

cleanup

remoe &

typo

update comment

* update test

* reserve space for new_events

* parallel sorting

* usleep(0)

* Revert "parallel sorting"

This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152.
old-commit-hash: fa8ddd992d6838e0e8f0f1178c26ec272c40f943
2021-10-04 15:00:57 +02:00
Willem Melching 5aa9a8e217 safety_setter_thread: exit on ignition low (#22426)
old-commit-hash: 3e854b83517e8239a56b99802ea32d70913563f2
2021-10-04 15:00:25 +02:00
Dean Lee ca45a040fc boardd: wait for safety_setter_thread to finish while quitting panda_state_thread (#21961)
* rebase master

* merge master

* merge master

* remove space
old-commit-hash: 47f601e50a8357ff1a30b4224f7fef0e65253df0
2021-10-04 14:38:35 +02:00
Willem Melching a16e2fba2a ui: only update ignition when panda is connected (#22425)
old-commit-hash: 009e37e797425581c3f5cb787700a95a14a8a8f7
2021-10-04 14:11:32 +02:00
Willem Melching 6c7503ae7d bump panda: build red panda fw
old-commit-hash: df4ff33c875ac6c0ac2e78f47286978b13115ceb
2021-10-04 12:15:39 +02:00
Willem Melching 11066c6236 Split pandaState into peripheralState and pandaState (#22385)
* publish peripheralState from boardd

* refactor consumers

* rename thread

* peripheralState has panda type too

* add to process replay

* fix device build

* properly remove hardware unsupported alert

* latest peripheralState

* remove pandaState from thermal_monitor

* put that back

* add back harness check

* fix cloudlog

* needs pandaState

* Update selfdrive/thermald/tests/test_power_monitoring.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* dont conflate

* Update selfdrive/thermald/tests/test_power_monitoring.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* pigeon is peripheral

* cleanup

* less global

* comment

* move rtc to peripheral_control_thread

* better diff?

* whitespace

* get msg

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f4e2537b124d3d1c0d697a12d8b243b54b76501b
2021-10-04 11:30:11 +02:00
Willem Melching 10d0b511b5 ui: make OpenGL context current before connecting to VisionIPC
old-commit-hash: 9c771b45fcb56197f5f0680690c372199736fb87
2021-10-04 10:37:31 +02:00
qadmus 810e859169 Lateral PID: move steer feedforward to CarInterface (#22411)
* move steer feedforward to car interface, in car parameters

* LatControlPID.get_steer_feedforward()
old-commit-hash: 3461e25944ae4f4ba4f55960a9748c0f57236c76
2021-10-04 10:03:53 +02:00
Brian Wisniewski a406061611 Update README for C3: camera -> cameras (#22415)
* Update README for C3

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 464599267058b01210109af7a2741aed2cb7b351
2021-10-03 23:23:24 -07:00
Jason Young bc3f8d9cb3 VW MQB: Add FW for 2018 Volkswagen Passat (#22418)
old-commit-hash: e98d1258114967999d9b3f5f1e46db98f76f78e6
2021-10-03 16:39:37 -07:00
rbiasini fbcaeebd42 CARS.md: Kia in alphabetical order (#22413)
old-commit-hash: d546c109ef4854322bfaea12954ad854d593554c
2021-10-03 10:16:50 +02:00
Dean Lee 0a1fa4fa7b replay/segment: std::atomic member variables (#22409)
old-commit-hash: a6da064a93691779a7367e10487c2837a01cd8af
2021-10-02 16:09:39 +02:00
Adeeb Shihadeh 408273df05 update useradmin url
old-commit-hash: c11be0f49a848ba36a183172038b661a554d2a15
2021-10-01 17:36:46 -07:00
Kamil Klimkiewicz e0960b25a3 Add fingerprint for 2019 Honda Civic Hatchback (#22400)
Honda Civic Hatchback 1.0T Elegance (Europe - Poland)
old-commit-hash: 2ab0d52fdad1ed66b9ed77eb3321e272263cb1cf
2021-10-01 15:02:26 -07:00
grekiki 2ea151be3c C++ replay cache folder path / fix (#22396)
old-commit-hash: 4c7acf680cc29537ad73a51f8ce32253306cac15
2021-10-01 17:32:41 +02:00
Greg Hogan a131767d0b accel/decel button short/long press 1mph/5mph (#22013)
old-commit-hash: 92895f1e68f76f1092d2fcea8e672eef7309aaf2
2021-10-01 11:09:56 +02:00
Willem Melching 4680b6f940 Don't send empty pandaState from panda_state_thread (#22393)
old-commit-hash: abaa7b2d55c8ff6e986a9c9b502c5071875df99e
2021-10-01 09:05:33 +02:00
Willem Melching 7ca7fb111c bump cereal
old-commit-hash: 9219de0bd3b04313df9bb60e32753a380ce6b870
2021-10-01 08:20:59 +02:00
Adeeb Shihadeh a4bc663ae5 agnos 2 (#22390)
* agnos 2

* release notes
old-commit-hash: 29b2a7d20b68c9a832d5bcf2f55a60fe4f2b36a8
2021-09-30 21:56:44 -07:00
Adeeb Shihadeh 361ee0e83c UI: auto wide detection on PC (#22392)
* UI: auto wide detection on PC

* invert width

* cleanup
old-commit-hash: 23ae67bbf95fd95e9a092ca19bd3391a2f16f453
2021-09-30 20:48:02 -07:00
Chris McCammon ce7410be63 Pilot 2021 confirmed working
old-commit-hash: 7051aa91d77409ceb3b03d81e272dae2da942348
2021-09-30 17:37:18 -07:00
Jason Wen 3f2e0fc70b UI: whitespace fix (#22383)
old-commit-hash: e797439c5f8d924ec5fd8b32b9a71e1c65c07ea1
2021-09-30 14:45:24 -07:00
Jason Wen 5c5ca61e4b HKG: Car Port for 2021 Kia K5 (#22347)
* HKG: Kia K5 2021 Car Port

* Update CARS.md and RELEASES.md

* Add test route: Kia K5 2021

* Update firmware format due to recent query change

* Update CARS.md: not all 2021 Kia K5 have SCC

* Update test_routes.py
old-commit-hash: 6018bda2bac3e383228de84475fc79fb7f8205aa
2021-09-30 14:35:14 -07:00
Adeeb Shihadeh 26e39eb441 UI: big pairing QR code (#22384)
old-commit-hash: 45409cb4fe485dc12168dc9740eb561ffedebe4c
2021-09-30 14:00:52 -07:00
Jason Young 86eece08bb VW MQB: Add FW for 2013 Volkswagen Golf (#22388)
old-commit-hash: b289ee6e53f7b395bb3527d1bc98ae0944ea1099
2021-09-30 11:15:29 -07:00
Willem Melching f4ac70557b tools: make auth optional for public routes (#22386)
* tools: make auth optional for public routes

* handle 403

* show warning from c++ replay
old-commit-hash: a31c6ce3f9c352dfe683cc7fa26e1cf630e105e1
2021-09-30 20:13:46 +02:00
HaraldSchafer b8ba7a0d5d notebook precommit install (#22382)
* notebook precommit install

* Update update_requirements.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 06944165d03ba7081f857338395337c544954cca
2021-09-29 19:05:11 -07:00
Adeeb Shihadeh 4852437483 update demo route (#22381)
old-commit-hash: dd67dc6b34e4b70af6f7ef13b2a701aad2512174
2021-09-29 18:51:30 -07:00
Willem Melching 8aa225b3f9 move acados deps out of devpackages (#22376)
* move acados deps out of devpackages

* fix new pylint errors
old-commit-hash: a60f3c6a35736d39a4ad73e69b5c91c47279d934
2021-09-29 23:20:33 +02:00
HaraldSchafer d91e0604e8 Change radar-based FCW to model-based FCW (#22379)
* just use MPC for fcw checking

* thats already bad

* model FCW is always good

* better fcw

* should be good for now

* comment

* linting

* cleaner

* unused
old-commit-hash: a8b4249ebcf21c2868e298ef86ee37ac96d2715e
2021-09-29 11:55:54 -07:00
Adeeb Shihadeh 74f3f4ab1a agnos updater: support non-sparse images (#22371)
* print progress for all partitions

* noop generator

* less spammy

* cleanup
old-commit-hash: 425020a849c98226c0bac04db0d63a8e55ae5bad
2021-09-29 11:08:19 -07:00
Adeeb Shihadeh 10f3f7a4af remove qpOASES (#22377)
old-commit-hash: 4394f83601eef50653609b1462906262560598be
2021-09-29 11:07:18 -07:00
Willem Melching a3378ce0f7 replay: fall back to qlog (#22362)
old-commit-hash: b7c64542f4b521e10725f34767079cd1f50f6496
2021-09-29 17:44:10 +02:00
Willem Melching 04e5fdb931 replay: send frames based on encodeIdx packet (#22361)
* send frames based on encodeIdx

* use start of frame time if set

* also use end of frame if set

* fix timestamp for encode packets

* handle all cameras

* add comment

* add twice
old-commit-hash: 6881688af2c2a438a90d211a3e0fedad438edd17
2021-09-29 17:43:56 +02:00
Dean Lee e5d79759ff c++ replay: more accurate sleep (#22348)
* precise sleep

* cleanup

* continue
old-commit-hash: 318a8ba8546043f7cde018561d8a62ce2f56946d
2021-09-29 16:59:12 +02:00