Commit Graph

4430 Commits

Author SHA1 Message Date
Jason Young 2b360ca270 VW MQB: Volkswagen Touran Mk2 (#21263)
* Add 2017 VW Touran (BIRB)

* Update README

* Autogratitude

* Add test route for VW Touran
old-commit-hash: 57cf9b1f39f8b8f862012c29d4d9b424faa81922
2021-06-15 12:09:04 -07:00
Jason Young 1fc6c0f721 VW MQB: Add FW for 2016 Golf R (#21254)
* Add FW for 2016 Golf R (edwyck)

* Add comment for broken ECU SW PN

* Commentary on tuned FW versions

* different commentary
old-commit-hash: 8edb61b5963bbcf61bc0db8499544254da8d3c64
2021-06-15 11:28:57 -07:00
HaraldSchafer 1cbda7bac0 gps can be bad in cities (#21270)
old-commit-hash: 9a2306e00875b227ff13b0bf88b80b14d387df56
2021-06-15 10:17:20 -07:00
Willem Melching 196f96f057 UI: check if dongle id is valid before calling API (#21275)
old-commit-hash: e85fa7f1c933baafdecb4a52c16f2003215d423b
2021-06-15 14:10:44 +02:00
Greg Hogan d0e5f3fb92 default carParams.stoppingControl to True (#21248)
* hyundai has full brake control

* set default stoppingControl to True

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8071111f59371c9aee16dee3d6fb87f42464894b
2021-06-15 14:00:57 +02:00
Dean Lee 17c7f9c806 DriveStats: switch between MILES and KM in real time,based on setting. (#21234)
* update distance unit

* remove main_layout_ from header

* cleanup

* add title in add_stats_layouts
old-commit-hash: f55bb5d98f04a7f467264ed7fb33df080ef63148
2021-06-15 13:44:02 +02:00
Willem Melching 0fb755e425 Release GIL when calling C++ params functions (#21257)
* Release GIL when calling C++ params functions

* small cleanup
old-commit-hash: 2f759893ca09aeecf37821cea64957fd507004ce
2021-06-15 12:36:01 +02:00
Greg Hogan 34643d7afc hyundai: cruiseState.standstill always False when openpilot controls longitudinal (#21262)
old-commit-hash: e28b5552e7d75efba32a40802de9592a42627f55
2021-06-15 12:26:02 +02:00
Dean Lee def897a2c7 fix webcam crash when failed to read video frame (#21272)
old-commit-hash: 73d741b7be4337b4e8dd39e150ee253b62b86153
2021-06-15 12:25:05 +02:00
Dean Lee 8306df4b79 SoftwarePanel: trim the OS Version (#21274)
old-commit-hash: a23584b6e2e77735ae2c8018b4c56006ef072f0c
2021-06-15 12:23:54 +02:00
ShaneSmiskol 92eefd12e4 ui: remember previous connections (#21233)
* remember previous connections

* minor

* remove ssid_from_path

* abstract into function

* forgot one

* const

* add path_from_ssid function

* more clear what these do

* fix

* more clear

* structured binding test

* remove ssid_from_path

* fix name

* disconnect if connected

* let's just match the activate function in naming

* return if empty

* revert and clean up
old-commit-hash: 305786f0da7659a41a1ab191932a4536a1085abe
2021-06-14 16:17:08 -07:00
Willem Melching 807c95a0f5 Only call ensure_params_path once (#21229)
* Only call ensore_params_path once

* only ensure default params path once
old-commit-hash: fcf9f00a2abfd55e14ca299adcc911b7983cb063
2021-06-14 16:12:27 -07:00
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: 04ef4eeedae71d4af6cdc8b09f0f0aba532d9fec
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: 648b60a381e08597f2a7c2b05142070b947fa128
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: 6816b6d8f8c73531e1ac4e6a49bce8e0e3a10f17
2021-06-14 14:52:14 -07:00
Dean Lee a760fcfbde OnroadAlerts: construct QPainter only when needed (#21260)
old-commit-hash: d07b45f50a9d05d91b27ef4a1488cd1910f45f31
2021-06-14 17:42:59 +02:00
Willem Melching 33a3bb5fc9 Revert "tici: always run updated (#21249)"
This reverts commit 60ba93bd1be24e022552da1545dca9b61d2584b7.

old-commit-hash: 715dbd488201615219dc7b384c458954940597fa
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: f86f344ba506c037893c4c796c047da64a95d307
2021-06-13 22:21:23 -07:00
Dean Lee 1a80cb3bc2 remove directory tools/clib (#21250)
old-commit-hash: 06625f3a0e9a4e18aa0f03a617d9622164226caa
2021-06-13 19:27:11 -07:00
Adeeb Shihadeh 2d047aae7e nicer replay prints
old-commit-hash: 060b5caf1bfe38dfc28114b167ee578afe650f62
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: 8c202d1bb4a7e74431609eb16446973894edf100
2021-06-12 23:31:00 -07:00
Adeeb Shihadeh e07f1a1ee4 tici: always run updated (#21249)
old-commit-hash: 4dfdf0e51d878bd7639c50ae626853f71c1b7413
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: 7009ba0344834f18adc93b34960fa97d1ebf2efc
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: 8f5c7e7bb5e4796708a8be672529bf65e89edaca
2021-06-12 21:28:17 -07:00
Adeeb Shihadeh ff875ae2df Fix Honda Accord transmission type detection (#21247)
old-commit-hash: af8d4176271c0ecc972d1e8d437aa1707abaf5d1
2021-06-12 20:52:50 -07:00
Adeeb Shihadeh 32d6ffd248 define _USING_LIBCXX on NEOS (#21243)
old-commit-hash: 656719edfd7ba2788115477d23979546a3c7c55f
2021-06-12 01:59:42 -07:00
Dean Lee 842dabcff7 SoftwarePanel: fix padding (#21237)
old-commit-hash: d09c1de0ec2d89581004bc2c918f98318080c5c0
2021-06-11 17:40:21 -07:00
Adeeb Shihadeh 5f3712d340 remove panda fw string from settings
old-commit-hash: 66bf6fea5df4b10e6807269acd3077b1c4399873
2021-06-11 17:34:55 -07:00
Dean Lee e39a03e098 qt/util.h: new functions getBrand&getBrandVersion (#21238)
old-commit-hash: 5baad4692da08c1b3063fc50bf337b1b58f96406
2021-06-11 17:20:29 -07:00
Adeeb Shihadeh 5aa30638fe Fix UI crash when going onroad after onboarding (#21236)
old-commit-hash: d47b00b45a866bef088f51d1ff31de5885ab04e9
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: ae77f693a26527ffbee044f852cc4185718c2433
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: 9ad129fd5ff9ea314266e2f34ad40ddd40d60dfc
2021-06-11 13:55:51 -07:00
Dean Lee d36392cdea OffroadHome::refresh(): remove emit keyword on slot (#21227)
old-commit-hash: 7d3dc4d0311bef51a66c224327e0cba591a73eea
2021-06-11 12:17:33 +02:00
Dean Lee a412726247 cleanup include paths (#21189)
* cleanup include paths

* full path

* bump cereal

bump cereal

rebase master

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9e636d2edc1fb990cb0fa01cb67c0f38014ab68f
2021-06-11 01:34:34 -07:00
Dean Lee 147b355dde add space after function name and if statement (#21225)
old-commit-hash: e4e669bb0fc1a919dfb38800099f8e3ad52346f1
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: e7df9adfe3fef777d4ec1143c758ca0501185130
2021-06-10 23:25:02 -07:00
Adeeb Shihadeh ee9ac35ca5 fix route_framereader when segments are missing
old-commit-hash: 594877e4a86608b0fc92b81e18dda529c27dfd73
2021-06-10 23:12:56 -07:00
Jason Young 7ee5bebe5c VW MQB: Add FW for 2020 Volkswagen Tiguan (#21222)
old-commit-hash: fd397f039d5e46babc8b73cc34595474354162e8
2021-06-10 17:14:30 -07:00
Andre Volmensky 2db154f22f 2020 Nissan Altima fingerprint (#21084)
* Added 2020 Altima fingerprint

* Merged Altima fingerprints
old-commit-hash: 0c62ca9e9811b268516c4ad82245ba6b8d9bbf44
2021-06-10 13:38:56 -07:00
Dean Lee 2594804780 OffroadHome::refresh(): remove emit before closeAlerts() (#21219)
old-commit-hash: fda0c6895c434c74a5d57d1a8fd80b60b044b565
2021-06-10 13:34:42 -07:00
Willem Melching 91a324a669 add 2021 CR-V to readme
old-commit-hash: 0d8f2cfda3f6b215ddf570e477da3a7c33699711
2021-06-10 13:08:05 +02: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: 4fc48834a42ce96859079de9f69e0f13f773ea4a
2021-06-10 13:07:11 +02:00
Willem Melching 94c76f41e9 nav: expand banner at correct distance from maneuver
old-commit-hash: 43151389e77ae6c4de8f61270e9a07e2d1c57f84
2021-06-10 12:31:47 +02:00
Willem Melching 4f842b076d nav: cleanup eta spacing
old-commit-hash: 08a7ea1af40b700922c9de2de7a299ec9b28cb3d
2021-06-10 11:09:27 +02:00
Willem Melching 1a483aad55 remove debug statement
old-commit-hash: 34edaa543ad41d42e52d82b4d91537c2d46729ad
2021-06-10 10:01:38 +02:00
Willem Melching af5cbb346b nav: lighter eta colors for better readability
old-commit-hash: 63cb0f7c20bbc4252e12090f8d62650cc799c859
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: 3c197953bc19c470547b950cd987af39909c5e9e
2021-06-10 09:59:34 +02:00
Dean Lee 133723680b configFont: pass family by const reference (#21216)
old-commit-hash: a8b6178c1ee9db6220127397030da7f7187fa375
2021-06-10 00:05:52 -07:00
Dean Lee 60c7e01d2d remove double semicolons (#21215)
old-commit-hash: d82fa763d86750b31fe3edbb278d71565f6e3580
2021-06-10 00:03:34 -07:00
Maxime Desroches 426df0435b Convert C++ while loops from int to bool (#21214)
old-commit-hash: 03df1b08bbe6b4156e9aa0bfbc5a85717094c877
2021-06-09 21:09:21 -07:00