Commit Graph

4943 Commits

Author SHA1 Message Date
jonjander 1f4b2569d5 Kia Niro EV 2021 FW versions (#20518)
* values Kia Niro EV 2021

* Update values.py

Co-authored-by: Jon Jander <jon.jander@ptj.se>
2021-03-29 19:06:30 +02:00
Willem Melching 611446edd4 CPR3 logging only on C2 2021-03-29 12:01:28 +02:00
Comma Device 624065cb5b fix offroadTransition signal name 2021-03-28 23:42:19 -07:00
iejMac d63dab950a disable buttons when onroad (#20475)
* disables reset calib

* works for all buttons

* naming convention + final works on PC

* stylesheets + works on manager.py

* fixing stylesheet

* add that backg

* no reviewing while onroad

* better disabled hint

* little cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-28 23:32:09 -07:00
Dean Lee 5cd676797a Qt: show username for current SSH keys (#20508)
* Show username for current SSH keys

* Update ssh_keys.cc

* Update ssh_keys.cc

* Update selfdrive/ui/qt/widgets/ssh_keys.cc

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

* rename param

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-28 22:32:33 -07:00
Comma Device aa457a348a show serial number in settings 2021-03-28 21:31:58 -07:00
Adeeb Shihadeh f89818b2d9 log cpr voltages (#20519) 2021-03-28 21:22:31 -07:00
Jason Young 9c0bd99a4d VW MQB: Update to Volkswagen Golf Mk7 (#20498)
* Import all Golf FW values, update naming

* Update test reference drive

* Update supported years and models

* Sort and dedupe Golf SRS and fwdRadar FW

* Add 2016 Golf SportsVan (Calle), sort FW values

* Expand README to include all Golf variants

* Alphabetize README
2021-03-28 21:04:51 -07:00
Adeeb Shihadeh c030493eb6 sound cleanup (#20491)
* fix high CPU usage when playing repeated sounds

* fix build

* fix cpu usage

* same behavior for now

Co-authored-by: Comma Device <device@comma.ai>
2021-03-28 20:45:47 -07:00
vanillagorillaa 4942e94f6c 2021 Kia Seltos FW (#20513) 2021-03-28 20:32:20 -07:00
vanillagorillaa 2f2a798a1f 2021 RAV4 values (#20503) 2021-03-28 12:02:55 -07:00
Adeeb Shihadeh a2084c2a60 filter out touches while in android activity (#20515)
* filter touches while in android activity

* only check after launching activity

* move to hw abstraction layer

* little cleanup

* remove print

Co-authored-by: Comma Device <device@comma.ai>
2021-03-28 03:53:03 -07:00
Dean Lee 318fa3f50a ui: don't log slow frame message in driverview (#20509)
* Don't log slow frame message in driverview mode

* white space
2021-03-27 13:38:48 -07:00
Comma Device 364b083c59 UI: limit version string length for master-ci 2021-03-26 19:30:32 -07:00
Greg Hogan 1e3f8b014e logging cleanup (#20502)
* switch some uploader messages to debug log

* use allow_sleep

* log when not request or response

* test both with params and without params
2021-03-26 17:36:01 -07:00
Adeeb Shihadeh 08a294199e temporarily tolerate higher UI cpu usage in test 2021-03-26 17:32:59 -07:00
Adeeb Shihadeh fd15a21c5a new training guide (#20495)
* new training guide

* fix end

* new step1

* better images

* update images
2021-03-26 16:43:14 -07:00
Jason Young 85d0d521bd VW MQB: Škoda Superb Mk3 (#20500)
* Add 2018 Skoda Superb (johndoe)

* Propitiate test_fw_fingerprint unit test
2021-03-26 16:42:39 -07:00
ZwX1616 97133a8fac camerad jenkins box test (#20413)
* separate test

* send

* update test

* snapshot is rgb

* this does not belong here

* clean up

* tici

* no if

* no black frames

* flaky leds

* rename and cleanup

* should be stable and avoid lucky pass

* print

* logical and

* run in jenkins

* source profile on tici

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-26 13:23:18 -07:00
Willem Melching 6e57fb3767 Revert "temporarily increase ui cpu allowance"
This reverts commit 2b2d868c86.
2021-03-26 17:29:53 +01:00
Willem Melching da5f0c5332 run paramsd: sort messages 2021-03-26 17:15:55 +01:00
Willem Melching 2b2d868c86 temporarily increase ui cpu allowance 2021-03-26 17:07:33 +01:00
Willem Melching c0e3e2ba1b add debug script to run paramsd on route 2021-03-26 17:06:41 +01:00
Jason Young 5da6fced2b VW MQB: Volkswagen Passat Mk8 (#20493)
* Add VW Passat

* Add Passat legacy FP

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-26 15:03:41 +01:00
Jason Young 9ef0eee6b1 Add 2020 Skoda Scala (#20494)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-26 15:02:29 +01:00
Jason Young 32b59ba114 VW MQB: SEAT Ateca Mk1 (#20492)
* Add SEAT Ateca

* Add test route for Ateca

* Add Ateca to README

* Pull unnecessary comments
2021-03-26 15:01:31 +01:00
Willem Melching d43d625610 Cache prime/points widget (#20497)
* cache prime status on homescreen

* use stacked widget

* add caching and clear on 404
2021-03-26 14:53:12 +01:00
Willem Melching 32330bbf89 drive_stats.cc: fix distance rounding 2021-03-26 14:52:47 +01:00
Dean Lee 80ae6a7e1b Qt: cache home screen state (#20395)
* cache drive stats

* don't parse response if it's the same as previous

* remove blank line

* cleanup

* update stats in place

* validate json

* add DriveStats to params.pyx

* cleanup

* cleanup

* remove //#include

* simplify

* add cache to RequestRepeater

* rename CachedDriveStats to ApiCacheDriveStats

* rename ApiCacheDriveStats to ApiCache_DriveStats

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-26 13:29:30 +01:00
Adeeb Shihadeh f811dcc0cb always qt 2021-03-26 01:03:42 -07:00
Jason Young c253554b35 VW MQB: VW Jetta Mk7, Škoda Kodiaq Mk1 (#20487)
* Add VW Tiguan (jyoung8607)

* Update README and test_processes

* Moving test route to correct place

* Moving test route to correct place

* Fix candidate expression

* Add ignored fingerprints list

* Yo dawg I heard you like fingerprints..

* Support for Jetta, Passat, Kodiaq

* Add support clarity for MQB vs NMS Passat

* Remove Passat till we get a route

* Remove fwdRadar dupe FW

* fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-25 23:34:20 -07:00
Comma Device 7f428eadc1 update scons nodes 2021-03-25 23:14:44 -07:00
Comma Device dc0bfaaead fix qt spinner height 2021-03-25 22:43:34 -07:00
Jason Young 430951e1cd VW MQB: Volkswagen Tiguan Mk2 (#20484)
* Add VW Tiguan (jyoung8607)

* Update README and test_processes

* Moving test route to correct place

* Moving test route to correct place

* Fix candidate expression

* Add ignored fingerprints list

* Yo dawg I heard you like fingerprints..
2021-03-25 21:48:14 -07:00
Adeeb Shihadeh 367aec54d1 show persistent dashcam mode alert (#20483)
* always show dashcam mode alert

* show persistent dashcam mode alert

* lowest

Co-authored-by: Comma Device <device@comma.ai>
2021-03-25 21:37:38 -07:00
HaraldSchafer 4c24385018 new description for laneless (#20474)
* new description

* emoji
2021-03-25 19:59:46 -07:00
Greg Hogan b88ca985d6 fix athena calls that do not use params 2021-03-25 17:58:49 -07:00
iejMac 806226820c review training guide button (#20466)
* works

* move the param deletion

* clean that up

* Revert "move the param deletion"

This reverts commit 31d8a65f004e7bcf14d29465a9c9d6db03e9dee7.

* clean up

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2021-03-25 17:36:44 -07:00
iejMac d78546afbd fix (#20477) 2021-03-25 17:09:23 -07:00
Adeeb Shihadeh bcb6879199 updated: log git diff on overlay init (#20476)
* updated: log git diff on overlay init

* add git diff param

* params
2021-03-25 16:16:12 -07:00
Jason Young e7fc11c7fb VW MQB: UDS fingerprinting support (#20271)
* FPv2 support for MQB

* Comment touch-ups

* Trim extra newlines

* Add Atlas and Tiguan

* Update submodule ref

* Revert "Add Atlas and Tiguan"

This reverts commit a47bc1bca7a5b72df44578051379859eefa5fb39.

* Curb my enthusiasm

* Drop ABS/ESP from UDS fingerprinting for now

* Use multi-query to grab SW build ID and parameterization

* Resolve merge oops

* Resolve merge conflicts

* Make Ecu.fwdCamera optional for VW

* Where'd that come from?

* Propitiate process replay checks until ready for model dump

* FW values for Audi A3 Prestige

* Revert "Make Ecu.fwdCamera optional for VW"

This reverts commit 56852b99

* Don't try to FP fwdCamera for VW

* Remove FW comments

* Simplify RX offset handling

* Corrected scoping for MQB trans detection

* Add default response_offset

* Remove explicit list of MQB vehicles for now

* Deal with pylint warning

* Clarify and simplify comments

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-25 16:06:59 -07:00
Adeeb Shihadeh 4d377851a3 remove cython dependency in swaglog 2021-03-25 15:10:12 -07:00
Dean Lee f7957f681d Qt input: pass QString by reference (#20467)
* simple arry for keyboard layout

* revert some changes
2021-03-25 14:15:58 -07:00
Greg Hogan 3d48bd934d log to file and send through athena (#20250)
* log to file and send through athena

* rename logging level

* pass thru log formatter

* logMessage is TEXT

* send queue always strings

* switch to xattr and lower priority queue

* enable cloud logging for devices

* time or size based log rotation

* basename -> dirname

* remove HARDWARE.get_cloudlog_enabled

* fix errors

* fix another exception

* xattrs need to be bytes

* sending works

* cleanup files at start

* add id and adjust formatting

* do not send active log file

* better names

* separate log formatters

* fix formatter super init

* fix log file order

* ensure file always has file formatter

* i see why there was no formatter

* apply same formatting to cpp log msgs

* apply same formatting to cpp log msgs

* update queue names in tests

* strip deprecated keys in STATUS_PACKET

* strip DEPRECATED from dict recursively

* athena log queue test

* instanceof instead of type

* isinstance instead of type

* use super

* remove logentries

* last_scan param unused

* comment about special log msg attr names

* add dict_helpers.py to release files

* use monotonic time and counter for log rotation

* update for adjusted log file naming

* use monotonic clock for tracking last log file scan
2021-03-25 13:30:09 -07:00
Willem Melching 9291ca773c Kill processes in parallel when going offroad (#20469)
* Kill processes in parallel when going offroad

* smaller diff

* handle edge case

* more readable

* set variable after actually sending signal

* newline
2021-03-25 17:27:49 +01:00
Willem Melching 261045668b Start ui before manager preimport (#20468)
* start ui early

* test sets this afer import
2021-03-25 17:27:15 +01:00
Adeeb Shihadeh 7f56991b41 Qt touchups (#20465)
* reduce minimum size

* clean that up

* consistent

* feels pretty good

* cleanup

* less laggy toggle

* openpilot

Co-authored-by: Comma Device <device@comma.ai>
2021-03-24 21:18:12 -07:00
iejMac 55926e762a QML terms (#20439)
* initial_commit

* rich text + color

* nice scrolling

* margin

* print on scroll + some margins

* print on scroll + some margins

* working, needs a lot of improvements

* should be done

* initial_commit

* rich text + color

* nice scrolling

* margin

* print on scroll + some margins

* print on scroll + some margins

* working, needs a lot of improvements

* should be done

* update tests

* Revert "update tests"

This reverts commit 94d5ed789eb79bedc9544fc27b4d14c0acc44adf.

* cleanup

* QuickView -> QuickWidget

* tuned scrolling

* cherry on top

* screen size scaling

* load from html

* fixing tabs

* signal fix

* TABS

* mistake

* rename

* camel case

* transparent background

* naming + point->pixel Size

* style

* util::read_file

* adjusting font size

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-24 19:30:52 -07:00
Adeeb Shihadeh 936d9da567 agnos 0.11 (#20461)
* agnos 0.11

* actual kale support
2021-03-24 15:29:38 -07:00
Adeeb Shihadeh e76c80ffa1 APK purge (#20446)
* purge begins

* release files

* remove those

* no more android

* only qt

* text and spinner

* neos update script

* update sounds

* update cpu usage

* all done

Co-authored-by: Comma Device <device@comma.ai>
2021-03-24 14:30:41 -07:00