Commit Graph

4508 Commits

Author SHA1 Message Date
Dean Lee f883cfec39 DevicePanel: set specific stylesheet for reboot & poweroff buttons (#21364)
* set specific stylesheet for reboot&poweroff buttons

* remove hack

* fix css in network panel
old-commit-hash: c9d4dfe99fbc49e5db16292200e7daef3295dfb3
2021-06-22 13:24:55 -07:00
Willem Melching e57dab8f40 revert changes to boardd safety mode setting
old-commit-hash: 2e3aa81ce53a29f6cd4b7534a355c35689393f05
2021-06-22 18:44:55 +02:00
Willem Melching 5bc0d28708 Honda Bosch longitudinal prerequisites (#21217)
* untested changes

* set compute_gb

* community feature for good measure

* add code for rolling backwards

* init needs CarParams

* stay in elm mode until carParams is written

* fix tester present bus number

* fix can errors

* fix enableCruise flag

* print when radar disable is done

* move retry logic to controlsd

* move lookup table into carcontroller params

* cleanup brake error values

* make init return

* that should be 1

* floats

* back to no failure handling

* try simplify knockout

* bump panda

* Move flags to panda

* add warnings

* Revert "try simplify knockout"

This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.

* add note about LoC.long_control_state

* update ref
old-commit-hash: a8fac002ae8e7c6ab37e9b1a5deb8cfcea2a71ac
2021-06-22 16:28:11 +02:00
Willem Melching 47e214dba5 model benchmark disable static analysis
old-commit-hash: 698b9af8a9021a4323b6ee32d05304cd7ea35e0b
2021-06-22 16:07:15 +02:00
Willem Melching 0237c2ac65 No more polyfit
old-commit-hash: c3561cc0e12b8e965e7d7785008bd3a97a76d599
2021-06-22 16:05:42 +02:00
Willem Melching 8a0436dcca bump panda
old-commit-hash: abdba9c7327de6b206201047b2b48497aa2fc946
2021-06-22 15:30:04 +02:00
Willem Melching 88d0b253d9 tici: log stuck registered
old-commit-hash: 68e562454ed6f928134240d55789936929ee5968
2021-06-22 15:29:02 +02:00
Willem Melching 2f4257c7e3 nav: map color match offroad color scheme
old-commit-hash: febdc39d2d15eef790e76580023bda24be647e2e
2021-06-22 14:57:57 +02:00
Willem Melching 1a9706361f nav: route color match explorer
old-commit-hash: a5f65c12f7a1f991cd633850f5a30de88eaf02f7
2021-06-22 13:34:47 +02:00
Willem Melching c281ecde05 nav: fix uturn icon fn
old-commit-hash: cb8b97078833c27b0b4bba18339002910e2d3050
2021-06-22 13:27:58 +02:00
Willem Melching dc19c670b6 nav: home/work shortcuts (#21276)
* add home/work widgets

* remove todo

* set contents from response

* turn into buttons

* add navigate button

* fix includes

* close settings on nav press

* close sidebar when closing settings

* use live api endpoint

* larger fonts

* more text fits

* only place name

* remove static response

* properly clear
old-commit-hash: c21ea8b50653bfb3b4c93e7042d7ffa62abfcf2a
2021-06-22 13:25:22 +02:00
Willem Melching 1f8a63af7e nav: give word wrapped widgets a fixed width
old-commit-hash: a5112bfb2e40749e467a405128b7305110e4344c
2021-06-22 13:24:11 +02:00
Willem Melching d7d0e0a047 add env variable for wider ui
old-commit-hash: 9159094b62dc331d7f5f74b3ac9acdb8002d83f2
2021-06-22 11:14:44 +02:00
Willem Melching ff5656b0f8 nav: bump font size by 25%
old-commit-hash: 64e4294b04dd6481ec1fcb07d2f80595a1c834ab
2021-06-22 10:46:01 +02:00
sshane 84369b373d Scan for networks on UI init (#21310)
* refresh on UI init

* scan and wait for signal from networkmanager to update

* fixes incorrectPassword never triggering on known connections

* Update UI on connect state change

* pause timer on leaving networking

* no need to update adapter state on init

* uses AccessPoints signal

clean up

clean up

* Revert "uses AccessPoints signal"

This reverts commit 534219857a10dc200f979e1a66705ac13ca68698.

* perform non-blocking scan on first start only

* suggestions

* forgetNetwork already checks this

* Prevent double refresh on connect interaction and revert timer change

* Should fix nm is inactive error

* Revert "Should fix nm is inactive error"

This reverts commit 36a7ad098b713ae7e17cf1a8d717455ecdd29e2b.

* Fixup original timer code. could be cleaned up, but works

* use WifiManager's firstScan

* no more force!

* fix after rebase

fix after rebase

* scan for next update (seems clearer this way)

* see how responsive device is at scanning, PC is taking up to 15 seconds

* clean up and check ifVisible for scanning and UI updating

* explicitly define relationship since it's not called in Networking any more
old-commit-hash: a3a8fa9eac1897964ab339ec97694f90822aa623
2021-06-21 20:55:55 -07:00
ZwX1616 3768536076 tici patch
old-commit-hash: 09de331f18c7460ab4e939a245256ca69f765224
2021-06-21 20:18:16 -07:00
Chris McCammon 86e8145ec8 add car harness as checkbox in car port (#21367)
old-commit-hash: d92a1a479967983276e67c4a2ad6ca7f71cf8226
2021-06-21 19:02:17 -07:00
Adeeb Shihadeh 2f42a64511 add elantra hybrid to release notes
old-commit-hash: 2dc7cc6d083949077fa0d8504903d7f3b77f74f0
2021-06-21 16:04:11 -07:00
Andrew 7b3de0b866 2021 Hyundai Elantra Hybrid port (#21354)
* add support for hyundai elantra hev 2021

* add car to README. adjust tuning params.

* adjust weight

* update fingerprint with value from remote start

* update fingerprint to value of BEFORE getting in car (more reliable)

* add fingerprint v2

* remove fingerprint 1.0

* add test route

* Update README.md

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

* Update selfdrive/test/test_routes.py

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

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9124a8390006c0dae05b7b0a6cf5986621bbc8cc
2021-06-21 16:03:19 -07:00
Adeeb Shihadeh 8e6b9f872c agnos 0.19 (#21365)
old-commit-hash: 687560fc98e1912ed3e618ab38ef2b5406caa347
2021-06-21 15:39:13 -07:00
Willem Melching e1556c0ab1 nav: update no gps text
old-commit-hash: 28694041d5ee860cdd5f26acb63887e0ce7d8bbf
2021-06-21 19:21:58 +02:00
Willem Melching 77a8b7aaf1 nav: banner add stretch to fix label size
old-commit-hash: 6ca0861360cc16849dbbd359593ee9374ab160ba
2021-06-21 18:53:19 +02:00
Willem Melching 3004b29805 Nav: ETA layout improvements (#21361)
* bold and more space

* rounded corners

* oneline

* center

* fix am/pm

* revert width change
old-commit-hash: a3b155839b1bac791f8819812feaffc7b814202c
2021-06-21 17:23:44 +02:00
Willem Melching b9042b255d nav: clear last_banner on no gps
old-commit-hash: c60f5ab6f6b976c95e0b772b68c890680877be61
2021-06-21 17:04:57 +02:00
Willem Melching aaa743ab7a Nav: No GPS warning (#21359)
* Nav: No GPS warning

* optional
old-commit-hash: e4e67985d610539ccaf0ceb7261e9fc937bc70b7
2021-06-21 15:50:23 +02:00
Joost Wooning 3590f9b56f Change QR code to url for pairing with both explorer and connect (#21314)
old-commit-hash: dd959412e3dd19a0523ab564fb298e05cc704b89
2021-06-21 13:57:13 +02:00
Alfonso Hernandez 4f3ad7284c Simulator: Complete GPS message from Carala State Values (#21357)
old-commit-hash: 22b632f4078a979d34b833a4a265ac79014465c3
2021-06-21 13:52:46 +02:00
Willem Melching 167e1e6081 disable roaming
old-commit-hash: ebe9f32a27485789372dedfcc7d5dde8bf4f47ff
2021-06-21 11:29:53 +02:00
Dean Lee 9ae8335b5e onboarding: small cleanup (#21351)
old-commit-hash: 2433cb28bb821f91080924186d40b75fd6f72147
2021-06-20 18:59:49 -07:00
nepro012 b3b89c9fb1 README typo correction (#21356)
old-commit-hash: 56d5db576626306870fdd42bbeedf387c21e2c27
2021-06-20 18:59:24 -07:00
John Belmonte 001d8ae248 Add Toyota C-HR Hybrid FW versions (#21341)
old-commit-hash: 3f2722a7c678058c9220888f3b31ec5a601d6531
2021-06-19 21:34:34 -07:00
Dean Lee e3f21bfb41 OffroadHome: merge stylesheets (#21312)
* merge stylesheet

* css:target #alert_notification button

* Update selfdrive/ui/qt/home.cc

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 175506532f78b85d901789ff845048184bd3aba9
2021-06-19 16:10:10 -07:00
Willem Melching 182b3eb4c7 Fix triangle size (#21332)
old-commit-hash: 9086c377e245bf7ad668b834ef6dfa25a617559f
2021-06-19 11:21:54 +02:00
Dean Lee 880d64d615 Refactor ModelFrame struct to class (#20005)
* refactor modelframe

* remove DUMP_YUV

* use constructor/destructor instead of init/free

* OMG...should be clEnqueueReadBuffer

* rebase master

* rebase master

* fix build

* small cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8da538c18c10f838fba60e86c01bd5de59934bc6
2021-06-19 01:22:50 -07:00
Dean Lee 701ee27c91 HttpRequest: move http cache to RequestRepeater (#21228)
* move cache from HttpRequest to RequestRepeater

* apply review
old-commit-hash: 9ebfc2ba8df7dcde5c6ea6be3b61d8577d89d652
2021-06-18 23:47:23 -07:00
sshane 2515966550 Fix forget network button on tethering connection (#21340)
old-commit-hash: 26343951c948ca61c41f82560fb02c8b732bac64
2021-06-18 22:41:51 -07:00
sshane e980a38449 UI: forget button and security type icon (#21320)
* forget and security buttons first draft

* Text left margin closely matches other panels

* add lock label

* implement new icon

* actually add icon

rename

* smaller lock icon

smaller icon

* better
old-commit-hash: 290e9fb9f6e5ad6da3113f3976847f168f1e981c
2021-06-18 21:14:26 -07:00
Nelson Chen ecfc361966 Add 2021 Avalon Hybrid Fingerprint (#21338)
* Add jamil_hamida#1630's Fingerprint to AVALONH_2019

* Add 2021 Avalon Hybrid to README
old-commit-hash: 4a22dd6dfb1352e3c2a1a77dad4831f84c2ddc52
2021-06-18 19:50:48 -07:00
HaraldSchafer eff53180ca Update car_kf.py
old-commit-hash: a3071bf15b27907fe28e054b64ad45cdab38c25f
2021-06-18 17:57:42 -07:00
Dean Lee abffb4db29 UI: refactor onboarding (#21223)
* refactor onboarding

* skip training guide if is dashcam

* apply review

* cleanup include

* move public ctro up

* slots is private

* cleanup headers

* set style sheet in onboardingwindow

* rebase master

* match ui

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8781f586c573be5e93cbc43ef88d201bcbdc43c9
2021-06-18 16:01:22 -07:00
Erich Moraga c7eef35429 Add PACIFICA_2020 fingerprint (#21106)
old-commit-hash: 66035ccac9fa2e27248663b3e2a48ac986882074
2021-06-18 15:52:58 -07:00
Adeeb Shihadeh 3e064c4dd5 build.py: don't hang on text window in CI (#21335)
old-commit-hash: cefbd6734eecaada43d306f114aebfeba0c67369
2021-06-18 15:37:53 -07:00
Dean Lee 775ed1428f CommaApi: class to namespace (#21329)
old-commit-hash: 85f134da6a1e96e1d4b2e70669cab120f000c2bd
2021-06-18 15:01:56 -07:00
Dean Lee 5bf08251d7 network_panel: fix ButtonControl build on EON (#21327)
old-commit-hash: eb9736fbb003391b1cf19650bce436afe89f31aa
2021-06-18 14:22:49 -07:00
Adeeb Shihadeh 28a9781c51 util::read_file: fix reading from sysfs and add test case (#21325)
* add sysfs test case

* Revert "util.cc: refactor read_file (#21321)"

This reverts commit 2a9ba3e867e4ba8ea8818a5be24807301a945f17.
old-commit-hash: d90d9b2280397bb113c0d5835810cbd5f483f2a1
2021-06-18 01:34:52 -07:00
Dean Lee 0ef41b3e94 util.cc: refactor read_file (#21321)
* mode read & open once

* change return statement for better readibility

* apply reviews

* can't open with ate flag
old-commit-hash: 8d5c61eefe91f9f62ae8109e2c0c32ed2778e770
2021-06-17 23:19:41 -07:00
Dean Lee 44185161f6 UI: remove alerts refresh when opening settings (#21322)
old-commit-hash: 48b23e8c37b1d80cf42e8ee5039d866239cd0755
2021-06-17 23:18:28 -07:00
Dean Lee 95a9e22120 UI: refactor ButtonControl (#21315)
old-commit-hash: 8675c970d49499d541c38172b1c5516dec7df480
2021-06-17 23:17:52 -07:00
Adeeb Shihadeh 03405b81fd acados support (#21319)
* acados support

* add pyextra to python path

* x86 libs
old-commit-hash: 6e4c2aa4d286bb43f091ad13820f564f70e4c0d7
2021-06-17 16:40:00 -07:00
Adeeb Shihadeh 8742d78051 fix /proc test case for util::read_file
old-commit-hash: ea6f779b3e8bf1a7918617d59534057bad54b990
2021-06-17 15:03:59 -07:00