Commit Graph

8267 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 2476a66cd9 Revert "util.cc: refactor read_file (#21295)"
This reverts commit 32dd5c2454e3f3fca028dacd24bc4758e1134295.

old-commit-hash: 7dec2064370255e00f719ea790c26bd00edbdb6f
2021-06-17 15:02:48 -07:00
Adeeb Shihadeh e75dc5718c make locationd and paramsd RT (#21264)
old-commit-hash: f01ebc56807a9946ae06a9e6b1bf366bf5a124e0
2021-06-17 14:19:24 -07:00
Chris McCammon e8904916a6 steer unavailable below speed audible alert (#21209)
old-commit-hash: 317afa335f16deae21b6613203f8d92a31928a23
2021-06-17 14:10:24 -07:00
Dean Lee b83e0f87a8 util.cc: refactor read_file (#21295)
* mode read & open once

* change return statement for better readibility

* apply reviews

* Update selfdrive/common/util.cc

* fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 190a845505b1142166e8b25d953ab20d19276b87
2021-06-17 14:03:07 -07:00
Willem Melching 56b8bd1717 Athena: increase timeouts (#21316)
* fix typo in thread name

* bump send/upload timeout to 30 seconds
old-commit-hash: fc569694e9960d91dad8ed82b7d546b6b96b1c46
2021-06-17 19:20:41 +02:00
Willem Melching 0f9c34d55f filter_log_message: print tracebacks
old-commit-hash: ba15fb4803dfa66a4120b334cb81a02cea65ab9c
2021-06-17 17:14:57 +02:00
Willem Melching dc9bcce234 filter_log_message: use rlogs if available
old-commit-hash: 08c1fa32c741d31436b712857aee7ed5b7dc9ae3
2021-06-17 15:44:53 +02:00
Chris McCammon 2f2f4c1891 2021 Honda Ridgeline fw (#21308)
old-commit-hash: ec2524c7ac5773002b445c10360320188464b112
2021-06-16 17:49:32 -07:00
Jason Young 4027ae0f16 VW MQB: Simplify adding new cars (1 of 2) (#21297)
* simplify MQB DBC lookup

* GC now-unused import

* further simplify

* further simplify

* draw DBC string from values.py

* one DBC to rule them all
old-commit-hash: 22d456aef8bef2da99a38c49daa0513cb36c1cc8
2021-06-16 13:56:26 -07:00
Jason Young 76ff24221d VW MQB: Clean up carcontroller (#21300)
old-commit-hash: 3cb2b0eb7db6e9b80a9316493b3a1af8b8e91da5
2021-06-16 13:28:42 -07:00
Dean Lee 5c3b55c514 settings.cc: include missing headers on EON (#21298)
old-commit-hash: 3901f28cb938291455e083d247cb907e9b897355
2021-06-16 13:18:04 -07:00
Willem Melching 1156d97241 Script to print new bitflips on CAN (#21294)
* Script to print new bitflips on CAN

* also print falling edges
old-commit-hash: cbd03ea514332f6771c3d42480989d268b3f1ce4
2021-06-16 15:46:34 +02:00
Willem Melching fd6dddfc33 only clean up openGL buffers if context is still valid
old-commit-hash: 1ce3184c169f368bef9d36bd2c11a6c399e2c88e
2021-06-16 14:06:26 +02:00
Willem Melching 1bd10695fb fixup profiler and add plannerd (#21292)
old-commit-hash: c0fff43bbf696361896a663b93cd0d086b335e2c
2021-06-16 12:10:05 +02:00
Willem Melching 8d345a26f6 Don't check RAM/disk in simulation (#21261)
* Don't check RAM/disk on PC

* simulation
old-commit-hash: 7b0d27e61243feb9dd82834a21dc72f4d045fb25
2021-06-16 11:59:15 +02:00
Dean Lee 6bfc7f4ca5 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>
old-commit-hash: a873a23e0dbfe43027911acdd270610048eed74a
2021-06-16 11:01:13 +02:00
Dean Lee d8ac1df789 Qt: cleanup includes (#21282)
* cleanup includes

* remove include <qtwidgets>

* more
old-commit-hash: 2c6d27f4828bc57e69f86aed0d1f48364233dffb
2021-06-16 00:08:02 -07:00
Dean Lee 1256dbb6c3 qt/api.cc: refactor create_jwt (#21281)
* refactor

* cleanup includes
old-commit-hash: de56de78c81116c77b0a8ac3c85ed31f16e9aa6f
2021-06-15 22:35:23 -07:00
jona96 ae8e79ea80 add fingerprint for Volkswagen Golf MK7 (#21280)
* add fingerprint for Golf MK7

* add to README

* sorted alphanumericaly

* sorted and corrected spelling
old-commit-hash: 7bc6319effdc0599dd73702c0c65a3e5773e2bc8
2021-06-15 22:24:14 -07:00
Chris McCammon e3ad7a4993 2021 Lexus UX Hybrid fw (#21286)
old-commit-hash: 3365673eff0ecb09ec3010c7a8b46efe2494bf2c
2021-06-15 15:43:06 -07:00
tanmayparikh d123edbece Add 2018 Accord 2.0T Touring transmission FW Vers (#21279)
Co-authored-by: Tanmay Parikh <tparikh@utex.com>
old-commit-hash: 1abb971835459f3c454777ef6190fbf1a582c596
2021-06-15 13:25:28 -07:00
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
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
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