Commit Graph

5529 Commits

Author SHA1 Message Date
Dean Lee 3901f28cb9 settings.cc: include missing headers on EON (#21298) 2021-06-16 13:18:04 -07:00
Willem Melching cbd03ea514 Script to print new bitflips on CAN (#21294)
* Script to print new bitflips on CAN

* also print falling edges
2021-06-16 15:46:34 +02:00
Willem Melching 1ce3184c16 only clean up openGL buffers if context is still valid 2021-06-16 14:06:26 +02:00
Willem Melching c0fff43bbf fixup profiler and add plannerd (#21292) 2021-06-16 12:10:05 +02:00
Willem Melching 7b0d27e612 Don't check RAM/disk in simulation (#21261)
* Don't check RAM/disk on PC

* simulation
2021-06-16 11:59:15 +02:00
Dean Lee a873a23e0d common/util.cc: add unit test, fix bug in util::read_file (#21251)
* add test case for util

* fix bug in read_file

* gitignore test_util

* better test

* referer

* more

* more test

* REQUIRE size

* apply reviews

* only test binary

* simplify the test

* read  non-permission

* debug print

* remove /etc/shadow

* test read directory

* Update selfdrive/common/tests/test_util.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-16 11:01:13 +02:00
Dean Lee 2c6d27f482 Qt: cleanup includes (#21282)
* cleanup includes

* remove include <qtwidgets>

* more
2021-06-16 00:08:02 -07:00
Dean Lee de56de78c8 qt/api.cc: refactor create_jwt (#21281)
* refactor

* cleanup includes
2021-06-15 22:35:23 -07:00
Adeeb Shihadeh 504e7673d8 add golf sportwagen to release notes 2021-06-15 22:26:14 -07:00
jona96 7bc6319eff add fingerprint for Volkswagen Golf MK7 (#21280)
* add fingerprint for Golf MK7

* add to README

* sorted alphanumericaly

* sorted and corrected spelling
2021-06-15 22:24:14 -07:00
Chris McCammon 3365673eff 2021 Lexus UX Hybrid fw (#21286) 2021-06-15 15:43:06 -07:00
HaraldSchafer fb114bbfb1 Update README.md 2021-06-15 14:49:17 -07:00
tanmayparikh 1abb971835 Add 2018 Accord 2.0T Touring transmission FW Vers (#21279)
Co-authored-by: Tanmay Parikh <tparikh@utex.com>
2021-06-15 13:25:28 -07:00
Jason Young 57cf9b1f39 VW MQB: Volkswagen Touran Mk2 (#21263)
* Add 2017 VW Touran (BIRB)

* Update README

* Autogratitude

* Add test route for VW Touran
2021-06-15 12:09:04 -07:00
Jason Young 8edb61b596 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
2021-06-15 11:28:57 -07:00
HaraldSchafer 9a2306e008 gps can be bad in cities (#21270) 2021-06-15 10:17:20 -07:00
Willem Melching e85fa7f1c9 UI: check if dongle id is valid before calling API (#21275) 2021-06-15 14:10:44 +02:00
Greg Hogan 8071111f59 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>
2021-06-15 14:00:57 +02:00
Dean Lee f55bb5d98f 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
2021-06-15 13:44:02 +02:00
Willem Melching 2f759893ca Release GIL when calling C++ params functions (#21257)
* Release GIL when calling C++ params functions

* small cleanup
2021-06-15 12:36:01 +02:00
Greg Hogan e28b5552e7 hyundai: cruiseState.standstill always False when openpilot controls longitudinal (#21262) 2021-06-15 12:26:02 +02:00
Dean Lee 73d741b7be fix webcam crash when failed to read video frame (#21272) 2021-06-15 12:25:05 +02:00
Dean Lee a23584b6e2 SoftwarePanel: trim the OS Version (#21274) 2021-06-15 12:23:54 +02:00
ShaneSmiskol 305786f0da 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
2021-06-14 16:17:08 -07:00
Willem Melching fcf9f00a2a Only call ensure_params_path once (#21229)
* Only call ensore_params_path once

* only ensure default params path once
2021-06-14 16:12:27 -07:00
ShaneSmiskol 04ef4eeeda networking: properly set route metric for hotspot (#21265)
* Add dns priority to tethering connection

* it was route-metric

* only ipv4 is needed
2021-06-14 16:12:18 -07:00
Dean Lee 648b60a381 sidebar: display full signal when network strength is GREAT (#21259)
* full signal when network strength is GREAT

* apply review

* space
2021-06-14 14:54:38 -07:00
Dean Lee 6816b6d8f8 onroad: remove sound_map from OnroadAlert (#21258)
* remove sound_map from OnroadAlert

* fix indentation

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-14 14:52:14 -07:00
Dean Lee d07b45f50a OnroadAlerts: construct QPainter only when needed (#21260) 2021-06-14 17:42:59 +02:00
Willem Melching 715dbd4882 Revert "tici: always run updated (#21249)"
This reverts commit 4dfdf0e51d.
2021-06-14 12:38:33 +02:00
Jason Young f86f344ba5 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>
2021-06-13 22:21:23 -07:00
Dean Lee 06625f3a0e remove directory tools/clib (#21250) 2021-06-13 19:27:11 -07:00
Adeeb Shihadeh 060b5caf1b nicer replay prints 2021-06-12 23:35:52 -07:00
Dean Lee 8c202d1bb4 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>
2021-06-12 23:31:00 -07:00
Adeeb Shihadeh 4dfdf0e51d tici: always run updated (#21249) 2021-06-12 22:23:39 -07:00
Dean Lee 7009ba0344 UI: refactor SoftwarePanel (#21244)
* refactor

cleanup

* one params

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-12 21:36:35 -07:00
Dean Lee 8f5c7e7bb5 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>
2021-06-12 21:28:17 -07:00
Adeeb Shihadeh af8d417627 Fix Honda Accord transmission type detection (#21247) 2021-06-12 20:52:50 -07:00
Adeeb Shihadeh 656719edfd define _USING_LIBCXX on NEOS (#21243) 2021-06-12 01:59:42 -07:00
Dean Lee d09c1de0ec SoftwarePanel: fix padding (#21237) 2021-06-11 17:40:21 -07:00
Adeeb Shihadeh 66bf6fea5d remove panda fw string from settings 2021-06-11 17:34:55 -07:00
Dean Lee 5baad4692d qt/util.h: new functions getBrand&getBrandVersion (#21238) 2021-06-11 17:20:29 -07:00
Adeeb Shihadeh d47b00b45a Fix UI crash when going onroad after onboarding (#21236) 2021-06-11 16:17:53 -07:00
ShaneSmiskol ae77f693a2 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>
2021-06-11 14:33:17 -07:00
Jason Young 9ad129fd5f VW MQB: Škoda Octavia RS Mk3 (#21230)
* Add 2016 Skoda Octavia RS (derflo000)

* Autogratitude
2021-06-11 13:55:51 -07:00
Dean Lee 7d3dc4d031 OffroadHome::refresh(): remove emit keyword on slot (#21227) 2021-06-11 12:17:33 +02:00
Dean Lee 9e636d2edc 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>
2021-06-11 01:34:34 -07:00
Dean Lee e4e669bb0f add space after function name and if statement (#21225) 2021-06-11 10:17:52 +02:00
ShaneSmiskol e7df9adfe3 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>
2021-06-10 23:25:02 -07:00
Adeeb Shihadeh 594877e4a8 fix route_framereader when segments are missing 2021-06-10 23:12:56 -07:00