Commit Graph

8267 Commits

Author SHA1 Message Date
Shane Smiskol a11b6330ae ui: don't hide sidebar twice (#28868)
* draft

* draft 2

* comment and clean up

* delete

* better name

* even better?
old-commit-hash: 305ab3cb3eeee3f821f7ff5ca823616390dc253f
2023-07-11 00:58:28 -07:00
Shane Smiskol b205c1b1f0 ui: remove unused MapPanel function (#28874)
forgot about this
old-commit-hash: 28df811f42c83c905d6d942eddf0017d096ca7d9
2023-07-11 00:46:59 -07:00
Shane Smiskol c9630b0a7a map settings: accept touch events (#28865)
* accept touch events in map settings

* use override

* revert this

* remove debug stuff

* add comments

* not the main purpose
old-commit-hash: 71e001ee577811d2bf1ea1973545322c6a3ba95d
2023-07-11 00:21:25 -07:00
Adeeb Shihadeh c699443eee revert accidental enable
old-commit-hash: 69e7f386a759c54d866c64c37ef85f6c7c61cd08
2023-07-10 17:22:09 -07:00
Adeeb Shihadeh 74981f0d8d Update test_onroad.py
old-commit-hash: 24de4a6204997e1f0b00cecd9b99adb313de2444
2023-07-10 16:40:09 -07:00
Adeeb Shihadeh 7337fab677 don't block on reading ublox param (#28859)
old-commit-hash: e63e2dde18b9ae2925d1a38c527dccfd0c99d4c5
2023-07-10 15:33:58 -07:00
AlexandreSato 75c1973249 Multilang: update pt-BR translations on prime ad (#28866)
update pt-BR translations on prime ad
old-commit-hash: a81209646474d50352f8d1aaeceff324c38f670a
2023-07-10 14:49:27 -07:00
mitchellgoffpc c1d07a1829 Revert "UI: Indicate when Nav on OP is enabled (#28665)"
This reverts commit 987dca2fdb2f3495efaed8c8526b81c3643a9a74.

old-commit-hash: 1690cf4af6c88c52eeec0c61eae10074a169d563
2023-07-10 13:52:55 -07:00
b801r 77f2e6ed72 Fingerprint - 2020 Mazda CX-9 (#28805)
139b81648a954ae7|2023-07-04--13-46-16

VIN: JM3TCBDY7L0412945

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 4b0cdf71f61b8f31bd205c07f2db111736a05fce
2023-07-10 11:07:56 +01:00
Shane Smiskol 14a4aaebbd Toyota: add missing FW for 2023 RAV4 Hybrid (#28861)
fw
old-commit-hash: ada6d844d44b70964958a310d5cb4602f5a29728
2023-07-10 02:28:35 -07:00
Dean Lee 9caed10c23 ui: cleanup setMainWindow (#28768)
* cleanup

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 289fd32699a2be0cac06a026d07ba1da2db38c6e
2023-07-09 16:46:50 -07:00
Mitchell Goff a0d705d113 nav model: fix flicker in nav enabled state (#28815)
* Fix flicker in nav enabled state

* Move all relevant information for validity checks into navModel packet

* Ignore locationMonoTime in replay tests

* Check route valid in navmodeld

* sm update

* check that

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e346839c68e7f86bf7bdd88966e33a64c0be5680
2023-07-09 15:10:02 -07:00
joshslater 2ebff4817e 2023 Hyundai Sonata Hybrid Fingerprint (#28851)
* Update values.py

add 2023 hyundai sonata hybrid

* Include 2023 Sonata Hybrid

* remove duplicates

* fix and sort

* Revert "fix and sort"

This reverts commit 9fdd3c6b18d119284e4f2792705e43086afe72eb.

* fix

* update docs

* update docs again

* fix

* sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: f345d393ccf5e51f2ccbcb8deb19c412a30d6165
2023-07-09 21:31:12 +01:00
Dean Lee 96b9902629 ui/map: reuse the Qlabels and remove call to clearLayout (#28788)
* dont clearlayout

* replace show with setVisible

* remove signals&connections, call updateDistance in updateInstructions

* refactor updateDistance to getDistance
old-commit-hash: e1ea1d58e4f8e96c9c14367ade2e4e650a9ffb9a
2023-07-09 21:27:24 +01:00
Saber422 3616f4c436 VW MQB: Add FW for 2018 Volkswagen Golf (#28852)
route name:0bbe367c98fa1538|2023-07-08--11-50-38--0
old-commit-hash: 92b6f49c487817a17efcf0c86beca74480885a3a
2023-07-09 19:57:04 +01:00
Dean Lee d70f51a8db ui/map: use overlay widget to simplify code and improve rendering performance (#28800)
* move widgets into overlay

* adjust margin

* add spacing
old-commit-hash: 7a42e51c90cc837248e4aac8bbc04d3eec7d474d
2023-07-09 16:03:51 +01:00
Dean Lee 0c814c0cf9 ui/map: draw ETA with rich formatted text (#28780)
* draw ETA with rich formatted text

* no rounded at the bottom corners

* add Params param to member

* fix font typo

* restore opendbc

* set antialiasing

* fix time format
old-commit-hash: 060490bdf1d812cf7d687cb2d04994daa0e75ed0
2023-07-09 11:54:29 +01:00
Adeeb Shihadeh 48808e274d test onroad: stricter ui timings check (#28853)
old-commit-hash: 740380bf05f67aebfba77fefdc808789c741b75b
2023-07-08 22:26:53 -07:00
Dean Lee 69d7394e5c boardd: check fw version when connecting (#28823)
* Check fw version when connecting

* apply reviews

* mv to boardd

* don't keep looping

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b9cffac29c013b82c33d03710e294677cf50b395
2023-07-08 20:06:10 -07:00
Shane Smiskol 483dcfbec4 Toyota LTA: prevent high driver torque fault (#28850)
LTA also suffers from this fault
old-commit-hash: 54ca26ab267f12cf4714b0d7251731b1c008c4e3
2023-07-08 05:49:03 -07:00
JeanPierre Rousseau ca10c50d37 Subaru: add footnote to docs for international models (#26381)
* Update Cars.md

Updated Subaru required specs

* Update values.py

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b349a8c940cc77188e6c144bc3f8c40b5a3cd3c7
2023-07-08 05:17:10 -07:00
Shane Smiskol d3f018c45c Hyundai: blacklist bad camera FW (#28318)
* cmt

* common parts

* add code and date

* Revert "add code and date"

This reverts commit 47f9ac84cae8d1e73dc2b5af7d5701adc83da6eb.

* Revert "common parts"

This reverts commit aa5683bbce5b5e8e8414f5b90df9add3998e98ab.

* add back to santa cruz

* todo

* part number test

* pass test

* Update selfdrive/car/hyundai/tests/test_hyundai.py
old-commit-hash: 398dd771144fab835ebab4feebb4461f759bd07f
2023-07-08 01:33:41 -07:00
Shane Smiskol f8d9dbff5d Toyota LTA: lower angle rate limits (#28847)
* lower limits a bit (matches ford and less wind up since Toyota EPS limits to 2 m/s up)

* revert down limits, up was too high
old-commit-hash: 221bbfe95e49bc0f132a787b976d826f90f68c68
2023-07-07 23:06:11 -07:00
Dean Lee a3849a0836 ui/ExperimentalButton: Initialize engageable to false (#28846)
old-commit-hash: bde531d0bcd8dbed79b164a443508dcb1f622818
2023-07-07 18:46:41 -07:00
Shane Smiskol 2e320bae33 Toyota: add missing engine FW for 2023 RAV4 Hybrid (#28844)
add missing fw from 459707e5f696e897|2023-06-30--17-07-25
old-commit-hash: 3502971467e7a420958edfc5ad551b1e30b1bb2e
2023-07-07 15:39:19 -07:00
Adeeb Shihadeh 5d520dc7ae ui: add nav to prime features (#28842)
old-commit-hash: 99f9d21e4b46e7aa1596c47740c1cb1c6ee84437
2023-07-07 15:07:37 -07:00
HNR001 81c72acb4e Toyota: add FW for Prius Plug-In MY2022 (#27420)
Update values.py

Add missing FW for Toyota Prius Plug-In EUDM MY2022
old-commit-hash: a50e7fa60ae8ffdd9959165454ba84d6a65acda3
2023-07-07 02:27:25 -07:00
weapons 000c3ed94b Mazda CX-5 2022 fingerprint (#28803)
Update values.py

Updated Mazda CX-5 2022 fingerprint for my vehicle (2023 Mazda CX-5 UAE).
old-commit-hash: eeccb0950474a1c15ced0666464f7528b930e306
2023-07-07 02:10:24 -07:00
chzollib 9da120ea60 VW: add MY23 Crafter FW (#28806)
* Update values.py with MY23 Crafter

* remove FW from another car

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 75cfcc5cec6f6f40d1a8d35576617566f456d0e4
2023-07-07 01:58:32 -07:00
Shane Smiskol 34f0240339 Hyundai: explicitly copy signals to forward (#28020) (#28604)
* Revert "Revert "Hyundai: explicitly copy signals to forward (#28020)" (#28406)"

This reverts commit 370c0568da278511a32fc3f1d4ff396ef6838fb9.

* CRUISE_INACTIVE doesn't exist
old-commit-hash: 475a4a23a2bdf1c8cacececc959134fb4669d6ee
2023-07-07 00:10:18 -07:00
Shane Smiskol 28eae267a4 Toyota: log another permanent LTA fault (#28833)
* also 17

* common

* not acc
old-commit-hash: 048aacbd597ce73d9af9259f96699d016b1a7e98
2023-07-07 00:09:45 -07:00
Mitchell Goff 95051090a1 Refactor model runners (#28598)
* Started work on model runner refactor

* Fixed some compile errors

* everything compiles

* Fixed bug in SNPEModel

* updateInput -> setInputBuffer

* I understand nothing

* whoops lol

* use std::string instead of char*

* Move common logic into RunModel

* formatting fix
old-commit-hash: c9f00678af17dc75b9e56a968c4357704e40c901
2023-07-06 22:26:11 -07:00
Dean Lee ccba136b64 ui: remove function configFont. use struct InterFont (#28773)
old-commit-hash: 219590885fb7463f39bacbbf1d5274b7251d9e7f
2023-07-06 12:17:56 +02:00
Jason Wen 7f10d2c5b4 HKG: Car Port for Kia Carnival 2023 (HDA1) (#27785)
* HKG: Car Port for Kia Carnival (China only) 2023 (HDA1)

* add FW

* seems to be radar SCC

* Update CARS.md

* Update CARS.md

* Add test route

* Fix docs

* New route

* Fix docs formatting

* update with US model

* 2 total

* Update RELEASES.md

* add FW for US carnival 2023

* fix docs

* update test routes

* no rlogs for chinese route

* update docs

* revert chinese to merge now

* Apply suggestions from code review

* fine to fully remove

* less precise

* remove from releases

* Apply suggestions from code review

* Update selfdrive/car/tests/routes.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f1c604bde7a84036a0dd16e0cc2ee34c8ff96181
2023-07-06 00:37:49 -07:00
junhee Ahn 562c7ca374 Hyundai: Add FW for Sonata 2020 (#28820)
Hyundai : Add fw for SONATA 2021
old-commit-hash: 0e73c2db99844af0d4a61c103b9bebefd4897268
2023-07-05 21:10:14 -07:00
Shane Smiskol 7104a009c2 bump opendbc (#28818)
* bump opendbc

* rename
old-commit-hash: b7bd12135c5b174eca5fa664261dbcebf5b6dd78
2023-07-05 20:39:03 -07:00
Jason Young 089a09a92a nav ui: restore speed-adaptive map zoom level (#28796)
Revert "map: fix repeated call to m_map->setZoom (#25784)"

This reverts commit 00cc1831bb13d838ba5df4fdfc6c071f7c704493.
old-commit-hash: e816c81a5af8684cf3eb6f0c9d578cf82ebc1588
2023-07-05 15:45:32 -07:00
Dean Lee b987242655 ui: fix alert disappear when no controlState is received in a frame. (#28811)
* always return alert

* don't get old alert
old-commit-hash: d9d5ce36345950db8471631a083c9a609595c311
2023-07-05 15:20:28 -07:00
Dean Lee 724ef9d7ef ui: more descriptive global names (#28813)
* rename global bdr_s to UI_BORDER_SIZE

* rename header_h to UI_HEADER_HEIGHT

* remove unused footer_h
old-commit-hash: 5991aea10a63d9314149e88e22898875801ef775
2023-07-05 15:00:33 -07:00
bashiromar1795 2f56c54602 Lexus: add missing FW for UX Hybrid 2023 (#28766)
* Update values.py

* Revert "Update values.py"

This reverts commit e2293bee861fa2eb00e6c2ffd2c69d913c2165cd.

* add missing FW versions for uxh 2023

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ea5a0e245098b454351ddcc6e9596fb292f55fae
2023-07-05 11:08:18 -07:00
Dean Lee c25ca091ff ui: cleanup controls (#28809)
* cleanup controls

* restore LayoutWidget
old-commit-hash: 2d37c219e794cc4d8ed0de031b38b183af281db3
2023-07-05 10:50:14 -07:00
Dean Lee 6b5ca3e86b ui/wifiManager: remove obsolete methods without definition. (#28802)
old-commit-hash: 0bbe9bf46afbd98fd141fcc3d9fffe61718bd37b
2023-07-04 11:34:00 -07:00
Cameron Clough 6ec8c00ffd Ford: add Explorer 2022 FW (#28792)
old-commit-hash: b627ce6901ab50b891323bb066374fa1a155c83e
2023-07-03 15:56:30 +01:00
AlexandreSato 036603682f Multilang: update pt-BR translation (#28774)
update pt-BR translations
old-commit-hash: 6495a18cc9e8c1394ac7395d24bb0a661ce35fbf
2023-07-01 18:45:01 -07:00
Shane Smiskol 9dc8eee514 CAN Parser: assert no missing signals (#28763)
* bump opendbc

* bump

* remove undefined signal
old-commit-hash: ce7141383bd391b62770239e292bbc8ac099b63d
2023-07-01 02:55:35 -07:00
Dean Lee c49d605320 UI: fix memory leak in MapSettings (#28759)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 93413c43df594a63b36c896c629daaef27dd9fe4
2023-07-01 09:45:05 +01:00
Dean Lee 38be68ff5e ui/MapSettings: remove white border around destinations (#28771)
old-commit-hash: 081cc2eb79ba917fe037b31d01f669c1a8b16ab9
2023-07-01 08:40:06 +01:00
Dean Lee 235235b2d9 modeldata.h: convert constants to uppercase (#28769)
old-commit-hash: 32c5e6aafb702a5a17ca7b43c9062ce9e4462d34
2023-07-01 08:26:21 +01:00
Adeeb Shihadeh 75d92ae89c UI: adjust opacity instead of visibility to indicate engageability (#28765)
old-commit-hash: 010ef17da552041a3b39f074ea98571e1211d9f7
2023-06-30 19:18:35 -07:00
Mitchell Goff 6a21c44d90 UI: Indicate when Nav on OP is enabled (#28665)
* Indicate whether nav is enabled in UI

* update border spacing on both enabled and navEnabled change

* update less

* more

* cleanup

* simplify

* fix

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: a66135665c9256b4efa1c3ebac171b847dfdceaa
2023-06-30 19:00:36 -07:00