Commit Graph

4201 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 49748d5dc1 Qt UI: power saving (#20456)
* c2 power saving

* clean that up

* that works

* add to hw

* set power

* release files

* add that

* include hw base

* pc joins the party

* util

Co-authored-by: Comma Device <device@comma.ai>
2021-03-24 11:09:39 -07:00
Comma Device d72855ecb8 split 2021-03-24 10:12:09 -07:00
Willem Melching 301500dff6 Upload android tombstones (#20459)
* upload android tombstones

* remove comment
2021-03-24 16:11:53 +01:00
Willem Melching 0e338d2b91 use scons to build panda fw (#20457)
* use scons to build panda fw

* add arm gcc to dockerfile

* install gcc on macOS

* pandad shutdown test is flaky and broken due to faster startup

* bump panda
2021-03-24 14:44:39 +01:00
HaraldSchafer 7ee79c9923 New KL model + laneless toggle (#20454)
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650

* laneless baby

* hardcode model difference for now

* kale toggle

* kale emoji

* sensible description

* make clear it is not just for ui

* emojis dont work yet

* 9671a8fe-539f-4a04-a163-54571df21139/650

* new model

* only read param on rising edge of ignition

* update toggle text

* fix that

* update refs

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-24 01:10:31 -07:00
Willem Melching 621824d813 ui: unify terms scrolling 2021-03-24 08:57:22 +01:00
Adeeb Shihadeh c33f839e9d add description for SSH keys 2021-03-24 00:32:09 -07:00
Adeeb Shihadeh c89e17e0d5 add descriptions in settings (#20453)
* add descriptions

* scroll scroll

* clean up

* try this

* scrolling on touch

* better scrolling

* we can afford 30fps

* remove that

Co-authored-by: Comma Device <device@comma.ai>
2021-03-24 00:22:33 -07:00
Chris McCammon 48178c341e Camry Firmware (#20450) 2021-03-23 18:17:27 -07:00
Adeeb Shihadeh 7aade3db43 auotmatic jenkins setup (#20448)
* auotmatic jenkins setup

* fix quote

* ne wkey
2021-03-23 17:46:53 -07:00
Chris McCammon e1558335a6 CH-R Hybrid Firmware (#20449) 2021-03-23 17:19:16 -07:00
Adeeb Shihadeh 0ccaec495c offroad alert improvements (#20443)
* alert niceties

* cleanup

* move the button

Co-authored-by: Comma Device <device@comma.ai>
2021-03-22 22:54:22 -07:00
Adeeb Shihadeh 43ce7165c4 Remove lane change toggle and default LDW to off (#20442)
* remove lane change toggle and default LDW to off

* update refs
2021-03-22 20:55:57 -07:00
Adeeb Shihadeh f1da1f9cb2 Qt UI: scale volume with speed (#20441)
* Qt UI: scale volume with speed

* for all hw

* way too loud for tici

* set volume

* volume

* swap
2021-03-22 19:51:44 -07:00
Adeeb Shihadeh c17d5217d0 agnos 0.10 (#20437) 2021-03-22 16:15:17 -07:00
Adeeb Shihadeh 106ed2ea66 fix offroad home on tici (#20435)
* grid layout was a hack

* duplicate slot

* looks better

* fix that

Co-authored-by: Comma Device <device@comma.ai>
2021-03-22 14:27:37 -07:00
Adeeb Shihadeh 61a0129fdc tici touch ups (#20434)
* tici touch ups

* trim

* less squish

Co-authored-by: Comma Device <device@comma.ai>
2021-03-22 13:40:08 -07:00
qadmus 0d61d8a4b6 int(round()) on apply_steer for correct comparison after rate limiting (#20425) 2021-03-22 13:01:33 +01:00
Adeeb Shihadeh 647c5804b8 small style improvement in settings 2021-03-22 04:03:11 -07:00
Adeeb Shihadeh e547a97216 Qt UI: SSH keys (#20430)
* rename

* toggle control

* SSH toggle

* hw

* qcom

* lines

* fix that

* start refactoring

* adding keys

* hacky remove

* alerts

* fix qcom ssl

* use the same widgets everywhere

* clean up

* more cleanup

* little more

* bigger

* fix tethering toggleg
2021-03-22 03:52:28 -07:00
Comma Device eda9538cc3 fix margin on c2 2021-03-22 00:02:49 -07:00
Dean Lee 8be2e07f4f Qt: use the AbstractControl for multiple types of controls (#20417)
* class ClickableLabel

* scrollable widget

* rename to controls.cc

* rename to AbstractControl

* cleanup

* remove useless stylesheets

* change button stylesheet

* cleanup

* better margin

* cleanup

cleanup

* remove bottom line from AbstractControl

* no scrolling for now

* add those back

* style

* clean up

* don't need a function for that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-21 23:53:56 -07:00
Adeeb Shihadeh 33500bf23f log when nvme isn't mounted (#20428)
Co-authored-by: Comma Device <device@comma.ai>
2021-03-21 23:12:09 -07:00
Adeeb Shihadeh ce5d93da44 remove redundant update available title 2021-03-21 21:06:34 -07:00
Dean Lee ddde7efb4b Qt: update developer page when it's visible (#20396)
* simplify&cleanup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-21 21:02:00 -07:00
Dean Lee 00dcc94ae6 cleanup ui_draw_vision_event (#20386) 2021-03-21 20:27:16 -07:00
Jimmy Nguyen 347d508b20 2021 RAV4 Hybrid Engine fingerprint (#20427)
* add value to RAV4H_TSS2 ecu.engine

* fix typo

Co-authored-by: jimmybnguyen <b.nguyen.jimmy@gmail.com>
2021-03-21 20:18:13 -07:00
Dean Lee d34e414a65 SettingsWindow: use list instead of map to preserve insertion order for sidebar items. (#20424)
* use a list instead of map to preserve insertion order

* unused signal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-21 19:08:12 -07:00
Erich Moraga 0fc5c86805 remove unused line (#20426) 2021-03-21 17:13:16 -07:00
Comma Device 7954256a09 fix margin after setting DPI 2021-03-20 22:00:25 -07:00
iejMac 6a9afd8460 terms fixups (#20392)
* accept

* accept at end + env variables

* better

* testing some settings

* bottom margin

* nothing

* doesnt work

* don't need anymore

* clean up

* fix

* unused

* more prime widget cleanup

* Revert "more prime widget cleanup"

This reverts commit d44651ee8c501be61099dc4cd40fa0467bc315a3.

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-20 21:26:05 -07:00
Adeeb Shihadeh 0b16ed9dc9 Qt UI: offroad home touchups (#20416)
* brand

* fix overlap

* touchup prime widget

* more prime widget cleanup

* don't need background layout

* fix overlap again

* more prime

* looks pretty good

Co-authored-by: Comma Device <device@comma.ai>
2021-03-20 21:18:07 -07:00
HaraldSchafer 8bddaa7607 Update locationd (#20410)
* this was too extreme

* unused import

* capnp wants bools

* update refs
2021-03-19 17:12:34 -07:00
Chris McCammon a68061f5f0 radar fw for Acura RDX 2021 (#20411) 2021-03-19 15:29:35 -07:00
Dean Lee c9ac15bb96 OffroadAlert: read alert keys in constructor (#20408) 2021-03-19 13:30:51 -07:00
Dean Lee bf3c7e6afa qt: faster training guide (#20407) 2021-03-19 13:07:59 -07:00
Adeeb Shihadeh b60cd8d0a0 record front lock (#20400)
* record front lock

* only if set

* add to internal installer

* move that

* change that bck

Co-authored-by: Comma Device <device@comma.ai>
2021-03-18 20:15:51 -07:00
Dean Lee 90da15778c QT: click outside of confirmation dialog to dismiss (#20394) 2021-03-18 17:39:38 -07:00
Drew Hintz 01f20229cb include PACIFICA_2020 in late-model behavior (#20399)
These models need to turn off gone_fast_yet bit at -3 to avoid LKAS
faults.

This was likely an accidental omission from PR #1297
To avoid future similar mistakes, we could define a list of these cars
in values.py instead of having the list in multiple places.
2021-03-18 17:29:36 -07:00
Erich Moraga 4ea0b04fed Add missing engine & EPS f/w for LEXUS_IS (#20398)
`@ash11111111#7507` 2017 Lexus IS300 AWD DongleID/route c92bb9ac835c90f7|2021-03-17--17-33-50--0
2021-03-18 12:02:12 -07:00
Willem Melching 3258ecedd4 profiler: use more recent drive 2021-03-18 16:01:48 +01:00
Willem Melching 65733fd504 fixup profiler 2021-03-18 15:49:26 +01:00