Commit Graph

3125 Commits

Author SHA1 Message Date
ShaneSmiskol ce94b4bc4b networking: properly set route metric for hotspot (#21265)
* Add dns priority to tethering connection

* it was route-metric

* only ipv4 is needed
old-commit-hash: 04ef4eeeda
2021-06-14 16:12:18 -07:00
Dean Lee 1b51d71ef4 sidebar: display full signal when network strength is GREAT (#21259)
* full signal when network strength is GREAT

* apply review

* space
old-commit-hash: 648b60a381
2021-06-14 14:54:38 -07:00
Dean Lee dcc1f28bb2 onroad: remove sound_map from OnroadAlert (#21258)
* remove sound_map from OnroadAlert

* fix indentation

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6816b6d8f8
2021-06-14 14:52:14 -07:00
Dean Lee a760fcfbde OnroadAlerts: construct QPainter only when needed (#21260)
old-commit-hash: d07b45f50a
2021-06-14 17:42:59 +02:00
Willem Melching 33a3bb5fc9 Revert "tici: always run updated (#21249)"
This reverts commit 60ba93bd1be24e022552da1545dca9b61d2584b7.

old-commit-hash: 715dbd4882
2021-06-14 12:38:33 +02:00
Jason Young 8dff553951 VW MQB: Switch to comfort blinker signal (#21253)
* Switch to comfort blinker signal

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f86f344ba5
2021-06-13 22:21:23 -07:00
Adeeb Shihadeh 2d047aae7e nicer replay prints
old-commit-hash: 060b5caf1b
2021-06-12 23:35:52 -07:00
Dean Lee d852c98d52 Refactor C++ LogReader (#21152)
* refactor logreader

* fix include order

* apply review

* remove typedefs

* remove include timing.h

* no parent

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c202d1bb4
2021-06-12 23:31:00 -07:00
Adeeb Shihadeh e07f1a1ee4 tici: always run updated (#21249)
old-commit-hash: 4dfdf0e51d
2021-06-12 22:23:39 -07:00
Dean Lee 71b346b3e8 UI: refactor SoftwarePanel (#21244)
* refactor

cleanup

* one params

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7009ba0344
2021-06-12 21:36:35 -07:00
Dean Lee 63ff493fe8 UI widgets: remove unnecessary setLayout (#21232)
* remove setlayout

* remove setLayout

* space

* Update selfdrive/ui/qt/maps/map.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8f5c7e7bb5
2021-06-12 21:28:17 -07:00
Adeeb Shihadeh ff875ae2df Fix Honda Accord transmission type detection (#21247)
old-commit-hash: af8d417627
2021-06-12 20:52:50 -07:00
Dean Lee 842dabcff7 SoftwarePanel: fix padding (#21237)
old-commit-hash: d09c1de0ec
2021-06-11 17:40:21 -07:00
Adeeb Shihadeh 5f3712d340 remove panda fw string from settings
old-commit-hash: 66bf6fea5d
2021-06-11 17:34:55 -07:00
Dean Lee e39a03e098 qt/util.h: new functions getBrand&getBrandVersion (#21238)
old-commit-hash: 5baad4692d
2021-06-11 17:20:29 -07:00
Adeeb Shihadeh 5aa30638fe Fix UI crash when going onroad after onboarding (#21236)
old-commit-hash: d47b00b45a
2021-06-11 16:17:53 -07:00
ShaneSmiskol 23ea456f4f Fixup joystick (#21129)
* some common changes

* rename to joystick

* add alert and update controlsd to work with joystick

* update joystickd

* Update Joystick readme

* assume we have inputs

* only send gb or steer when engaged_toggle is true

* Update instructions

* fix --ip

* Easier to understand at a glance

* much better

* -a

* receive events and send msg in same loop

* always import

* Update selfdrive/controls/lib/events.py

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

* Update selfdrive/controls/lib/events.py

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

* combine logic and clean up

* use argparse

* outdated, and use normal class

* rm

* bit of a refactor

* refactor part 2 / 3

* much better (3 / 3)

* Simplify

* bump cereal and update readme

* capitalize

* Update tools/joystick/joystickd.py

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

* Update tools/joystick/joystickd.py

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

* make joystick abstraction class clearer

* use interp, clearer without comments

* no need to use apply_deadzone

* more explicit

* define btns and axes once

* split function by use_keyboard again, but simpler

* we can use handle_button as a reset function

* need to flip sign

* remove

* invert axes map for kb, easier to read the button mapping

* apply changes from review

* new lateral log for debug mode

* bump

* add saturated

* static alert

* joystick_mode

* conditionally subscribe

* Update selfdrive/controls/controlsd.py

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

* move params instantiation

* Spoof active and enabled

* Only allow car to engage

* no startup alert if joystick

* Update controlsd.py

* Should be orange not enabled, green enabled

* no more button states

* should work

* blue

* submaster conflates, so only send when we have an update

* final change

* remove msg

* clean up a bit

sort of clean up

clean up a bit

remove msg

* this was right

* Apply suggestions from code review

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

* lowercase

* suggestions from code review

* forgot laptop

* bump to latest

* fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
old-commit-hash: ae77f693a2
2021-06-11 14:33:17 -07:00
Jason Young ddf43ae288 VW MQB: Škoda Octavia RS Mk3 (#21230)
* Add 2016 Skoda Octavia RS (derflo000)

* Autogratitude
old-commit-hash: 9ad129fd5f
2021-06-11 13:55:51 -07:00
Dean Lee d36392cdea OffroadHome::refresh(): remove emit keyword on slot (#21227)
old-commit-hash: 7d3dc4d031
2021-06-11 12:17:33 +02:00
Dean Lee 147b355dde add space after function name and if statement (#21225)
old-commit-hash: e4e669bb0f
2021-06-11 10:17:52 +02:00
ShaneSmiskol 0ba3c1ada3 2020 Ioniq PHEV Support (#21147)
* use DriverOverride

* keep using EMS16 msg which is available on manuals, TCS13 is not

* Need to differentiate between hybrid ev and ev

* bump opendbc

* add to release files

* try this

* try this

* fixup

* shouldn't need multiple dbc's

* update comments

* combine phev into ev_hybrid

* clean up

* accel_pedal_pos is a percent

* bump

* bump

* update list name

* do this in another PR

* not 2020+

* explicitly set safety param

* full hyundai gas press test coverage

* bump

* bump

* bump

* bump

* like this convention better

* bump

* revert some null gas_signal changes for now

* revert style change

* Add Ioniq PHEV 2020

* Use appropriate signals

* can't verify this to be true

* defaults

* order should really be opposite...

* original style

* bump panda

* bump

* update releases

* bump panda

* Update test route

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7df9adfe3
2021-06-10 23:25:02 -07:00
Jason Young 7ee5bebe5c VW MQB: Add FW for 2020 Volkswagen Tiguan (#21222)
old-commit-hash: fd397f039d
2021-06-10 17:14:30 -07:00
Dean Lee 2594804780 OffroadHome::refresh(): remove emit before closeAlerts() (#21219)
old-commit-hash: fda0c6895c
2021-06-10 13:34:42 -07:00
jhlee111 5d7143daee Adding firmware for 2021 Honda CRV Touring (#21211)
* Adding firmware for 2021 Honda CRV Touring

* Update selfdrive/car/honda/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4fc48834a4
2021-06-10 13:07:11 +02:00
Willem Melching 94c76f41e9 nav: expand banner at correct distance from maneuver
old-commit-hash: 43151389e7
2021-06-10 12:31:47 +02:00
Willem Melching 4f842b076d nav: cleanup eta spacing
old-commit-hash: 08a7ea1af4
2021-06-10 11:09:27 +02:00
Willem Melching 1a483aad55 remove debug statement
old-commit-hash: 34edaa543a
2021-06-10 10:01:38 +02:00
Willem Melching af5cbb346b nav: lighter eta colors for better readability
old-commit-hash: 63cb0f7c20
2021-06-10 10:01:06 +02:00
Willem Melching ba1a20414e nav: add page to settings (#21208)
* add navigation panel to settings

* am/pm display and dynamic width
old-commit-hash: 3c197953bc
2021-06-10 09:59:34 +02:00
Dean Lee 133723680b configFont: pass family by const reference (#21216)
old-commit-hash: a8b6178c1e
2021-06-10 00:05:52 -07:00
Dean Lee 60c7e01d2d remove double semicolons (#21215)
old-commit-hash: d82fa763d8
2021-06-10 00:03:34 -07:00
Maxime Desroches 426df0435b Convert C++ while loops from int to bool (#21214)
old-commit-hash: 03df1b08bb
2021-06-09 21:09:21 -07:00
ZwX1616 4b72ef3da3 dm e2e outputs added (#21210)
* try this

* use e2e only

* add new outputs

* Revert "use e2e only"

This reverts commit 423dd8e29b88d892074f6f6a0e103681147ff6cc.

* send new

* fix batchnorm
old-commit-hash: 46e3f4528f
2021-06-09 16:18:14 -07:00
Willem Melching 4d47e3383c alerts: fix gradient
old-commit-hash: a361441fe2
2021-06-09 15:06:29 +02:00
nepro012 ad5e5a354a added Hyundai Veloster 2020 FPv2 (#21203)
* added Hyundai Veloster 2020 FPv2

* added Hyundai Veloster 2020 FPv2

* revert addition of year information on hyundai/values.py
old-commit-hash: 579567102a
2021-06-09 14:10:49 +02:00
Dean Lee 625bf79623 qt/util.h : add new function setQtSurfaceFormat (#21206)
old-commit-hash: 9429bd2783
2021-06-09 14:09:49 +02:00
Dean Lee 51cf285c31 Passing arguments by reference (#21205)
old-commit-hash: ee46672d3c
2021-06-09 14:09:02 +02:00
Willem Melching 93858572b5 nav: only use cache on device
old-commit-hash: 6cfc7d5af1
2021-06-09 12:37:14 +02:00
Willem Melching 8fd0aafdbc nav: eta match alert colors
old-commit-hash: ff94882fa6
2021-06-09 12:34:52 +02:00
Willem Melching 9643e0fcdd alerts: fix alpha blending
old-commit-hash: ace39431eb
2021-06-09 12:17:48 +02:00
Willem Melching eb0fdfecf1 Alerts documentation (#21172)
* Alerts documentation

* fingerprinting

* comment not necessary

* spelling

* openpilot

* Apply suggestions from code review

Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>

* Apply suggestions from code review

Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
old-commit-hash: ec17fad41a
2021-06-09 10:58:01 +02:00
Adeeb Shihadeh edd2f1c1a6 fix qcom and qcom2 builds
old-commit-hash: 9e94fb17cf
2021-06-08 16:44:05 -07:00
Dean Lee e81079461f networking: draw network strength without images (#21187)
* draw network strength wighout images

* remove include qpixmap

* space

* lower case

* cleanup
old-commit-hash: 0958bd2253
2021-06-08 14:20:08 -07:00
Dean Lee 7e5def641e sidebar: draw network strength without images (#21185)
* draw network strength without images

* Trigger Build
old-commit-hash: 48696105ae
2021-06-08 14:17:02 -07:00
Dean Lee f70a79b838 Use C++ header files instead of C header files. (#21192)
* use cstring instead of string.h

* use cstdio instead of stdio.h

* remove inttypes.h

* use cstdlib instead of stdlib.h

* use cstdint instead of stdint.h

* #include <cstddef>

* cstdlib

* use cmath

* remove stddef.h

* use cassert

* use csignal

* use ctime

* use cerror

* rebase master
old-commit-hash: c53cb5d570
2021-06-08 13:46:22 -07:00
Dean Lee afd0b1ee64 FrameReader: use 'from' in std::min comparison (#21195)
old-commit-hash: 211212f86b
2021-06-08 13:32:42 -07:00
Dean Lee a88660795a Properly set parent for widgets (#21196)
old-commit-hash: 4a74d777f0
2021-06-08 13:32:10 -07:00
Dean Lee d122a3a2ad settings.cc: set parent for network & software panel (#21197)
old-commit-hash: 9e0fb09f9b
2021-06-08 13:31:51 -07:00
Nick Eneboe 0421b1c244 Fingerprint for Lexus NX Hybrid 2019 (#21198)
* added Lexus NX Hybrid 2019 engine fw version and included car in readme

* remove 2019 from CAR name in values.py
old-commit-hash: 6e32b13613
2021-06-08 13:30:56 -07:00
Dean Lee 3a698faadc Use full include path (#21194)
old-commit-hash: b06b3ecb60
2021-06-08 12:09:30 -07:00