Commit Graph

906 Commits

Author SHA1 Message Date
Dean Lee 2ca3feab16 cabana: get icon size from QStyle::PM_SmallIconSize (#27548)
old-commit-hash: b5d29b550c4b900d5e5e9dd9322a478e12ec9013
2023-03-09 13:13:46 -08:00
Dean Lee 0fcc3b4da7 replay: fix incorrect format string in seekTo (#27547)
old-commit-hash: 9b28897f09112ec1dc28d7196964588989029940
2023-03-09 13:13:29 -08:00
Adeeb Shihadeh 3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb2159802d3dba99620db0b08731c68a7e4733
2023-03-08 11:20:49 -08:00
Adeeb Shihadeh 47d30174d3 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
old-commit-hash: 6f40f0d4427f4238c3939a64d1d6baa7d77f1ecc
2023-03-08 10:56:54 -08:00
Dean Lee 392b9df2eb cabana: improve the performance of updating TreeView in real-time. (#27517)
old-commit-hash: ddcafeb7dcac709dbd517e619fe3807cfc898198
2023-03-07 10:08:33 -08:00
Dean Lee ca0b965d08 cabana: use a segment tree to solve range queries in O(log n) time complexity (#27498)
old-commit-hash: c2018d6bf291e68102859eb31bb1dd68790172b1
2023-03-05 16:03:44 -08:00
Dean Lee a9e8d3e885 cabana: faster copy events (#27499)
old-commit-hash: 2de085d39d0b9f149526828cd02cc4ccb9122d05
2023-03-05 15:55:22 -08:00
Dean Lee aeb812b5e1 replay: fixed the status is always "loading" if there is no carState in events (#27481)
old-commit-hash: 6c4320559a05d6af1ee7b0f4bbebda171b94e20a
2023-03-02 22:30:12 -08:00
Dean Lee 3cbcd532ac cabana: fix wrong tooltip (#27480)
old-commit-hash: afc24f08d66c34ccebf3143e5062390e8529f26f
2023-03-01 21:54:07 -08:00
Dean Lee 2026a1b454 cabana: recalc y-axis label width after unit change (#27466)
recalc width
old-commit-hash: 85a37d276c105494b97eee03aa6bb31a212f2f92
2023-02-28 23:41:28 -08:00
Dean Lee 138d468772 cabana: press F11 to toggle fullscreen (#27455)
old-commit-hash: 8d317ef51ce3518e6bd3bb1a97567f8686ca8c8d
2023-02-28 15:50:30 -08:00
Dean Lee f78b0d0a8a cabana: fix gaps in step line between chunks (#27447)
old-commit-hash: ce3e9d5649d930ea0daae2d2a1587cc6e69c158b
2023-02-27 15:51:23 -08:00
Dean Lee b12a2a0eaf cabana: replace hardcoded margins, colors, spacing with values from style. (#27449)
replace hardcoded margins, colors, spacing

improve performance of MessageBytesDelegate
old-commit-hash: 78116029d33ab7724daa087201f1743fd34d6a19
2023-02-25 14:27:18 -08:00
Dean Lee 3e89cf5db8 cabana: right align signal values & fixed text overflow (#27444)
right align the signal values
old-commit-hash: 608ac253df5295187c6c7289b5b41a983482123e
2023-02-23 20:02:46 -08:00
Dean Lee db35b147ac cabana: added a new series type to chart: step line (#27422)
* add step line series

* create buttons in createToolButtons

* add inline function clearTrackPoints

* do not show tooltip if series is invisible

* use QActionGroup
old-commit-hash: dc4ebeb29c569c2b3bc9c687778b6e4ed754d329
2023-02-23 10:45:59 -08:00
Willem Melching eb77f1c15b cabana: show units (#27433)
* show units on chart y axis

* show in signal list

* show in historyview

* use clear()
old-commit-hash: a5644faa3f1095c2aa36b12e534fbba1b2ac921d
2023-02-23 10:45:13 -08:00
Willem Melching 6684dede2f cabana: show bus in own column (#27434)
old-commit-hash: 4e0a3aa0d51c3abd96774bb12a6e28943082fa81
2023-02-23 10:44:53 -08:00
Dean Lee 6dcb9d8699 cabana: dispaly current FPS & cached minitues on statusbar (#27430)
dispaly current FPS & cached minitues on statusbar
old-commit-hash: c1be6d945bb2efd6564f80f153c0ff71c59a3505
2023-02-22 20:44:33 -08:00
Kurt Nistelberger 1a97edf8d2 laikad: use new cache param (#27404)
* add backward compatibility

* rename laikad cache file

* rm and update

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6b4ac801e7ecb1addf74c9018958469741b609a3
2023-02-22 14:11:04 -08:00
Dean Lee f7eb48852f cabana: remove setUpdatesEnabled and setLabelFormat after updateAxisY (#27421)
old-commit-hash: e0a6074d00df9fafaa2b6d5e2d0fa01b154cce2f
2023-02-22 11:45:05 -08:00
Dean Lee 952c5b7338 cabana: small improvements to SignalView (#27419)
old-commit-hash: 58cd96536b852949f65309fea37684a6fa16668e
2023-02-22 11:44:53 -08:00
Dean Lee 2aafd3bf01 cabana: improve UI & fix bugs (#27387)
* improve ui

* keep splitter size after msg changed

* no leading spaces allowed in msg filter and signal filter

* draw color byte AlignCenter

* always set as current index

* reduce chart flickers while resizing

* dispaly more info in tooltip for signal

* narrow combobox

* use &nbsp;

* typo

* private sigs,fix bugs

* merge  #27383

* no expanding after undo/redo

* gray color in tooltip

* clear current_msg_id before reset model

* dont call setmeesage if id is the same

* fix bugs

* cleanup

* dont fetch logs if invisible

* add new CenterWidget, make sure msg_id is always valid

* cache icons

* cleanup paint byte color

* merge #27385 implement sizeHint

* cleanup code

* fillrect if alpha>0
old-commit-hash: 4efd246bac004f3b6f1f7d733e6e285b3fdc8322
2023-02-20 14:16:30 -08:00
Dean Lee 9b9a90bf7a cabana: show command's text in statusbar (#27398)
old-commit-hash: 10ed70d95293375a36d57d103b7173dc637e861a
2023-02-20 13:52:16 -08:00
ntegan1 0e0503aee9 cabana: missing includes (#27390)
old-commit-hash: 1f89afd1401176641443090fde6ca7a787c890a9
2023-02-20 13:31:30 -08:00
Shane Smiskol 05d0ff0f6e cabana: add window icon (#27109)
* add logos

* most zoomed in

* add alt

* slightly zoomed more

* add images

* add draft images

* best image

* not working

* 96px icon image to reduce compiled size

* remove from selfdrive assets

* fixes
old-commit-hash: c7cc36d9ee22aea2e07aab61d51f0f949b64bcf5
2023-02-20 13:15:59 -08:00
Dean Lee 7cd3e178c1 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
old-commit-hash: 8e3cb0fb2075cc0e21f0362dad467cd992291c3a
2023-02-19 15:14:13 -08:00
Shane Smiskol d163f09e66 cabana: add space to help message (#27384)
add space
old-commit-hash: 8d9f99b835aeb0d317337d1f87a961e75f8d6468
2023-02-18 21:48:13 -08:00
Dean Lee 972e91463c cabana: add support for load&save extra dbc info (#27203)
* support extra info

* support undo/redo

* fix undo/redo

* cleanup

* fix regexp

* refactor dbcmanager

* replace text in headerview

* fix binary::refresh

* cleanup

* use QRegularExpression

* add desc validation

* edit val description in table

* cleanup
old-commit-hash: ac0dbf74bc835faa46beab4bbb948c95597e4e67
2023-02-17 19:31:54 -08:00
Dean Lee 517a020596 cabana: attach messageid to tabdata (#27368)
old-commit-hash: 2c5e55ccdca597857208fc2fbb6bbc58972dbc4b
2023-02-17 10:53:47 -08:00
Dean Lee e31c5b20cc cabana: add description for timeline color in help (#27375)
old-commit-hash: 524f7079a9a51631bef042f28bfc339ecdf6d7d3
2023-02-17 10:35:50 -08:00
Dean Lee af6892d118 cabana: simplify conversions between QVariant and QVector<QColor> (#27367)
old-commit-hash: 37adf5d3a681daac2542270a24897ae00d42e4b8
2023-02-16 18:53:12 -08:00
grekiki 0393f8b99c Carla simulator: set driver orientation (#27363)
old-commit-hash: 202eb06a05e43ce77e5be19540fb427b5a060cfc
2023-02-16 14:51:25 -08:00
Dean Lee c043ea7fa2 cabana: add online-help (#27349)
* add online helps

* typo

* remove duplicate 'too'

* show idle message:For Help, Press F1

* improve drawHelp

* fix color desc
old-commit-hash: 2510f78126b0a457b5e8b42f1f32e5bf24a2c045
2023-02-16 14:47:36 -08:00
Willem Melching e06a040f5b cabana: fix events() call in AbstractStream::updateLastMsgsTo (#27360)
old-commit-hash: 8772306467630df66716e47ec34fa36935152bf6
2023-02-16 10:34:42 -08:00
Willem Melching a82420e3a9 cabana: fix updating tabbar_ids on "Close Other Tabs" (#27362)
old-commit-hash: e6c02027d3d7c6cd850fb13b948bd010b15b5308
2023-02-16 10:34:18 -08:00
Willem Melching c9a2d19596 cabana: refactor message id from QString to struct (#27352)
* cabana: refactor message id from QString to struct

* fix tabbar

* fix findsimilarbits

* optimize hash function

* cleanup sorting

* use in updateLastMsgsTo
old-commit-hash: 5078c918056c189a3ec84bc63231fbae75c57eda
2023-02-15 12:39:03 -08:00
Dean Lee 1804f5cc67 cabana: cleanup code for charts (#27350)
old-commit-hash: e4d0ee8716c382e90fd725998216a2f7deafc592
2023-02-15 10:59:57 -08:00
Willem Melching 160b29d398 cabana: add keyboard shortcuts to binary view (#27338)
* cabana: add keyboard shortcuts to binary view

* typo

* whitespace

* keep signal highlighted
old-commit-hash: 286e42948e7cd6da66bc6a6c48aedc7ff88fd9eb
2023-02-14 10:46:29 -08:00
Dean Lee c732a369da cabana: fix two bugs in chart (#27336)
fix two bugs
old-commit-hash: a6bf26f5eb5a3cb4059783ce538901b7562a96db
2023-02-14 00:46:13 -08:00
Dean Lee 6c3a3f0fd4 cabana: add name validation when editing message (#27316)
* check duplicate name

* cant use ' untitled' as msg name

* const QString UNTITLED
old-commit-hash: d5d19978ad9de0066be943019bd5b7fd89af3487
2023-02-13 18:25:59 -08:00
Dean Lee 3ca1deaa69 cabana: set legend marker shape by the series type (#27296)
set legend marker shape by the series type
old-commit-hash: 507badb11717e23681ddaf7a3f54ebe348978aef
2023-02-13 14:40:47 -08:00
Dean Lee 8de2aa50c7 cabana: draw borders around signals (#27307)
* cabana: draw borders around signals

* add padding

* merge #27294

* add comment

* typo

* fix alpha

* cleanup

* spacing =2

---------

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e952ad2c66ccaf68027509f5da6b310ddb9c35db
2023-02-13 10:44:44 -08:00
Dean Lee 1a89fddc40 cabana: fix crash in BinaryView::refresh (#27318)
old-commit-hash: fff6e8baf6791382fc350950ee02e2ab0db78e44
2023-02-12 20:11:55 -08:00
Dean Lee 907939d882 cabana: fixed the buggy has_more_data, reduce unncessary calls to fetchMore (#27319)
old-commit-hash: 38cf0b8382d6f41e4e9ccd2610bdabe34ff33a87
2023-02-12 20:11:32 -08:00
Dean Lee fd7d001ecf cabana: cancel signal highlighting on leaveEvent (#27315)
cacnel signal hilighting on leaveEvent
old-commit-hash: f71aad955ca906a69da6d24dee63d1482077de8e
2023-02-12 18:49:33 -08:00
Dean Lee 721e822366 cabana: fix text-overflow for long msg name (#27297)
old-commit-hash: 0fdcf4efc0740b3caf2cf4683be301edc5bf3fe4
2023-02-10 14:50:52 -08:00
Dean Lee 1bca6bac01 cabana: fix y axis precision (#27299)
old-commit-hash: 3d2c156bbdfe455b97e6852882c5576600c6a600
2023-02-10 13:40:39 -08:00
Dean Lee b21b627271 cabana: fix inconsistent size for play button (#27298)
old-commit-hash: 152f1bf4858bf8e21d4a059baa5ec5fb4239c8fa
2023-02-10 12:57:20 -08:00
Dean Lee 086b043d3c cabana: improve SignalItemDelegate::paint (#27295)
old-commit-hash: 7cfa236ff2a40e80eef8b779131184eea5778242
2023-02-10 11:31:54 -08:00
Willem Melching 2e93f2b8ca cabana: add <array> include to fix macos build (#27291)
* cabana: add <array> include to fix macos build

* Update util.h

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fae5553838f87b61619c7ba5e673f91dd836401c
2023-02-10 10:14:45 -08:00