Commit Graph

10445 Commits

Author SHA1 Message Date
Adeeb Shihadeh b8de120d86 boardd: read spi resp len with ack (#28966)
old-commit-hash: 3390f1e1df
2023-07-15 20:13:19 -07:00
Dean Lee d4cd751101 encoderd: get avaiable streams from vipc server (#28935)
* get avaiable streams

* use std::thread

* assert buf size

* Update system/loggerd/encoderd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbed057789
2023-07-15 12:41:49 -07:00
Dean Lee b59b27e01e loggerd/encoder: refactor constructors to take EncoderInfo as parameter (#28921)
* refactor constructors to take EncoderInfo as parameter

* remove last arg codec

* use macro to init function pointers
old-commit-hash: 713d2ec586
2023-07-15 10:39:40 -07:00
Harald Schäfer 8f7729809d Qcom gps: retry logs setup (#28952)
old-commit-hash: 966c5f476a
2023-07-15 10:31:30 -07:00
Dean Lee 46d64e90e6 dmonitoring: use sizeof(float) instead of hardcorded size (#28963)
old-commit-hash: 8dcd92253b
2023-07-15 10:30:50 -07:00
Dean Lee cba02f9a59 ui/map: fix wrong remaining time (#28960)
old-commit-hash: 53934c7fee
2023-07-15 13:28:21 +01:00
Dean Lee b81910128d ui/MapSettings: store destinations to load on widget init (#28950)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 187696977e
2023-07-15 11:37:41 +01:00
Shane Smiskol 78939ebcbd navd: add repr method to Coordinate (#28959)
* repr coordinate for debugging

* fix

* stash

* better formatting
old-commit-hash: cbde480cb9
2023-07-14 21:42:01 -07:00
Shane Smiskol bbd3b3bc75 FuzzyGenerator: typing (#28934)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* do we need draw??

* draft

* this was confusing

* revert

* draft

* Revert "draft"

This reverts commit c593a03474b04d4df2648d8149798196c991a108.

* draft

* more typing!

* complete typing

* fix that

* cleanup

* better
old-commit-hash: f495c21805
2023-07-14 21:41:30 -07:00
Shane Smiskol ce88b7cf51 test_models: don't skip test cases with multiple pytest jobs (#28953)
* Update test_models.py

* Update selfdrive/car/tests/test_models.py

* Update selfdrive/car/tests/test_models.py
old-commit-hash: f6390c6e40
2023-07-14 16:24:07 -07:00
Shane Smiskol 718fabb4d5 test_models: fix rx message bus (#28947)
Update test_models.py
old-commit-hash: c9c636bdd7
2023-07-14 14:04:24 -07:00
Dean Lee b8110a90d2 ui: set max brightness when showing the QR code (#28907)
* set max brightness when showing the QR code

* set brightness in ui

* set in device
old-commit-hash: e958ce1c31
2023-07-14 12:22:35 -07:00
Dean Lee 9212a16e54 ui/map: cache navigation images at startup (#28783)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: ccfca97dfc
2023-07-14 20:18:49 +01:00
Cameron Clough aa0c37ed21 modeld: comment out unused variables (#28944)
old-commit-hash: ce0717670b
2023-07-14 17:45:00 +01:00
Cameron Clough a2c479dd16 bump opendbc
old-commit-hash: ab4f3fbf8d
2023-07-14 16:49:25 +01:00
Cameron Clough 182ef3fe52 loggerd: add types to tests and use pathlib (#28943)
old-commit-hash: 5d45d1fadc
2023-07-14 15:12:11 +01:00
Shane Smiskol f06e9bd2dc Hyundai: fix alt button cancel message always blocked (#28941)
* add missing values

* fixy
old-commit-hash: dd98dc48a1
2023-07-14 06:00:59 -07:00
Shane Smiskol d456293479 GM ASCM: don't apply gas when stopping (#28699)
* don't apply gas when stopping

* simpler?

* todo

* fixme
old-commit-hash: 653daba9ed
2023-07-14 05:58:17 -07:00
Shane Smiskol 296de39f48 experimental mode: gate navigate on openpilot (#28883)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed
old-commit-hash: f973d605b2
2023-07-14 05:26:59 -07:00
Shane Smiskol 22ad05a0e0 CANPacker: assert no undefined signals (#28942)
bump-opendbc-5
old-commit-hash: 13371b07a2
2023-07-14 05:08:11 -07:00
dkondratov 1debe458ce Adding FW for 2023 Volkswagen Arteon (#28913)
5ac586afbb236b5d|2023-07-09--00-37-19

VIN: WVWTR7AN7PE011676

Co-authored-by: RC7777 <31451749+RC7777@users.noreply.github.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 5d67fe2a91
2023-07-14 11:58:08 +01:00
Shane Smiskol 28c64e4856 CanBusBase: fix offset calculation (#28938)
old-commit-hash: f99ac84b5c
2023-07-14 11:06:22 +01:00
Shane Smiskol 7eaa74b083 test car interfaces: support pytest (#28937)
sort
old-commit-hash: af7b2e4dd4
2023-07-14 01:48:36 -07:00
Shane Smiskol 29bbd75291 test car interface: fuzzy experimental long (#28936)
fuzzy exp long
old-commit-hash: 4ed9dec6f4
2023-07-14 01:25:01 -07:00
Shane Smiskol eb7922cda1 bump opendbc (#28933)
old-commit-hash: feaf3a3d91
2023-07-14 00:11:54 -07:00
Shane Smiskol 945169aa2c test_onroad: lower ui CPU usage (#28927)
lower from multiple runs
old-commit-hash: c541074669
2023-07-13 23:47:12 -07:00
Shane Smiskol 70255e2f19 FuzzyGenerator: return bytes for data (#28932)
generate bytes
old-commit-hash: 77339af1c0
2023-07-13 23:43:08 -07:00
Adeeb Shihadeh f00b0693f6 bump panda
old-commit-hash: 719d14f039
2023-07-13 21:26:49 -07:00
Shane Smiskol 8e89512da7 ui: use stencil buffer to draw polygons (#28902)
* Update ui.cc

* add a bunch of debugging stuff i don't want to lose

* Revert "add a bunch of debugging stuff i don't want to lose"

This reverts commit 2de6ab5b68bc528e913db68f7fe576b6ebe89a9b.

* enable stencil buffer

* lower ui CPU usage

* Revert "lower ui CPU usage"

This reverts commit 650241c0d89c1476de3995f1dc3f87f671dd1dd7.
old-commit-hash: 936bfcd7ba
2023-07-13 20:38:49 -07:00
Shane Smiskol 10a58a18ff multilang: ignore generated alert header file (#28910)
* Update .gitignore

* move up
old-commit-hash: d6e1796d92
2023-07-13 17:55:55 -07:00
Jason Wen 82899dbdbb HKG: Add FW Versions for China Kia Carnival 2023 (#28918)
old-commit-hash: 682a240c36
2023-07-13 17:51:58 -07:00
Harald Schäfer f7771c5538 Qcom gps: retry assistance (#28723)
* Retry assistance

* rm whitespace

* Only inject when it's there

* will be rmd anyway

* Update test

* Actually disable internet in test

* Fix tests

* cleanup test

* fix tests more

* add late assist test

* use process

* Dont double clear

* ignore

* Small improvements

* Make tests

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8965b0e60
2023-07-13 14:52:47 -07:00
Adeeb Shihadeh e83ec32c7b dmonitoringmodeld: add more logging around the init (#28920)
old-commit-hash: 8d13ddb943
2023-07-13 11:58:51 -07:00
Cameron Clough 13e79ceb0f remove subprocess32 package (#28916)
old-commit-hash: a4630ef9f0
2023-07-13 14:29:57 +01:00
Shane Smiskol b8cc63bc76 Hyundai: add Ioniq 6 platform (#28915)
old-commit-hash: bc24783657
2023-07-13 12:49:38 +01:00
Dean Lee 1c2f2d52e1 ui/MapSettings: sort location JsonArray inplace (#28886)
old-commit-hash: c3fe3c8162
2023-07-13 10:59:46 +01:00
Shane Smiskol e9c0c9b693 map panel: show map on interactive timeout (#28904)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: daf80eaef5
2023-07-13 10:35:57 +01:00
Dean Lee 387f6b6bf6 ui/map: handle & display error in MapWindow (#28854)
old-commit-hash: ae4a375dd6
2023-07-13 10:26:58 +01:00
Justin Newberry ad4031dc3e bump opendbc (#28909)
old-commit-hash: b69d18ea32
2023-07-12 19:18:05 -07:00
Shane Smiskol 222f7f6727 ui: singleton Device instance (#28908)
* singleton

* remove awake
old-commit-hash: b8dd4dcc28
2023-07-12 18:36:44 -07:00
Shane Smiskol b9aa2c232f ui: fix timeout typo (#28905)
tim is out -> timeout
old-commit-hash: d68bd905fc
2023-07-12 13:09:42 -07:00
Kacper Rączy fe84dadaa5 controlsd: support for SIMULATION mode for process replay (#28895)
* Support for simulation flag while replay

* Update cereal

* Enable simulation for controlsd

* Update ref commit

* Update cereal
old-commit-hash: 72579a0e10
2023-07-12 10:32:02 -07:00
Harald Schäfer 92c77ef506 Rawgpsd: cleanup init (#28890)
* Rawgpsd: cleanup init

* back to default

* Fix injection time check

* add quotes

* change to 12 hrs

* Fixes
old-commit-hash: 80eff1b6ce
2023-07-11 23:05:25 -07:00
Dean Lee 434a7c3505 logger: use reference in range based loop (#28894)
old-commit-hash: f1a1456f27
2023-07-11 19:28:50 -07:00
Shane Smiskol 24bd763e45 ui: reset nav status on offroad transition (#28897)
* need to do this

* actually better to clear it on offroad transition, then onroad transition will be fine
old-commit-hash: c158537df6
2023-07-11 19:04:41 -07:00
Matt Barclay e2b1c4d2fb Update Toyota RAV4H_TSS2_2023 Fingerprint (#28891)
Added eps value for japan built RAV4H 2023
old-commit-hash: b56aabb74e
2023-07-11 14:51:33 -07:00
Shane Smiskol 37ee12de52 ui: show map with nav (#28867)
* accept touch events in map settings

* draft

* draft 2.0

* revert this stuff

* need this

* fix

* clean up debug prints

* fraft

* only show map on closeSettings if nav

* works!

* can't do it here

* I was going to connect signals from UIState to HomeWindow, then to OnroadWidget, but that seems like too much

* just need to keep track of it in onroad, seems like the cleanest option

* ideally we show the map where we set the scene variable, and that's in map.cc

* old variable

* comments

* less confusing

* app comment

* add back

* fix

* move to top

* remove this comment
old-commit-hash: 34a5e626d6
2023-07-11 14:49:19 -07:00
Cameron Clough 077c687827 athenad: log connection retries and duration (#28888)
old-commit-hash: 9ecf98c4ce
2023-07-11 21:40:59 +01:00
Cameron Clough 9716affb3b nav: hide settings on map request visible (#28884)
old-commit-hash: 6643616c47
2023-07-11 21:40:33 +01:00
Harald Schäfer ef407c9ad9 Qcom rawgps: Timestamp svpolys (#28738)
* Timestamp svpolys

* leap seconds handled fine

* Fix error

* bump laika

* Update test route

* update ref
old-commit-hash: 47ee0932db
2023-07-11 13:22:09 -07:00