Commit Graph

885 Commits

Author SHA1 Message Date
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  

* 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: 4efd246bac
2023-02-20 14:16:30 -08:00
Dean Lee
9b9a90bf7a cabana: show command's text in statusbar (#27398)
old-commit-hash: 10ed70d952
2023-02-20 13:52:16 -08:00
ntegan1
0e0503aee9 cabana: missing includes (#27390)
old-commit-hash: 1f89afd140
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: c7cc36d9ee
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: 8e3cb0fb20
2023-02-19 15:14:13 -08:00
Shane Smiskol
d163f09e66 cabana: add space to help message (#27384)
add space
old-commit-hash: 8d9f99b835
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: ac0dbf74bc
2023-02-17 19:31:54 -08:00
Dean Lee
517a020596 cabana: attach messageid to tabdata (#27368)
old-commit-hash: 2c5e55ccdc
2023-02-17 10:53:47 -08:00
Dean Lee
e31c5b20cc cabana: add description for timeline color in help (#27375)
old-commit-hash: 524f7079a9
2023-02-17 10:35:50 -08:00
Dean Lee
af6892d118 cabana: simplify conversions between QVariant and QVector<QColor> (#27367)
old-commit-hash: 37adf5d3a6
2023-02-16 18:53:12 -08:00
grekiki
0393f8b99c Carla simulator: set driver orientation (#27363)
old-commit-hash: 202eb06a05
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: 2510f78126
2023-02-16 14:47:36 -08:00
Willem Melching
e06a040f5b cabana: fix events() call in AbstractStream::updateLastMsgsTo (#27360)
old-commit-hash: 8772306467
2023-02-16 10:34:42 -08:00
Willem Melching
a82420e3a9 cabana: fix updating tabbar_ids on "Close Other Tabs" (#27362)
old-commit-hash: e6c02027d3
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: 5078c91805
2023-02-15 12:39:03 -08:00
Dean Lee
1804f5cc67 cabana: cleanup code for charts (#27350)
old-commit-hash: e4d0ee8716
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: 286e42948e
2023-02-14 10:46:29 -08:00
Dean Lee
c732a369da cabana: fix two bugs in chart (#27336)
fix two bugs
old-commit-hash: a6bf26f5eb
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: d5d19978ad
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: 507badb117
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: e952ad2c66
2023-02-13 10:44:44 -08:00
Dean Lee
1a89fddc40 cabana: fix crash in BinaryView::refresh (#27318)
old-commit-hash: fff6e8baf6
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: 38cf0b8382
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: f71aad955c
2023-02-12 18:49:33 -08:00
Dean Lee
721e822366 cabana: fix text-overflow for long msg name (#27297)
old-commit-hash: 0fdcf4efc0
2023-02-10 14:50:52 -08:00
Dean Lee
1bca6bac01 cabana: fix y axis precision (#27299)
old-commit-hash: 3d2c156bbd
2023-02-10 13:40:39 -08:00
Dean Lee
b21b627271 cabana: fix inconsistent size for play button (#27298)
old-commit-hash: 152f1bf485
2023-02-10 12:57:20 -08:00
Dean Lee
086b043d3c cabana: improve SignalItemDelegate::paint (#27295)
old-commit-hash: 7cfa236ff2
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: fae5553838
2023-02-10 10:14:45 -08:00
Dean Lee
20977cbdfa cabana: fix incorrect bit color after seek (#27287)
old-commit-hash: d19b668365
2023-02-10 10:13:39 -08:00
Dean Lee
41500839a2 cabana: set pen width in createSeries (#27288)
old-commit-hash: 409c1c9c65
2023-02-10 10:13:28 -08:00
Dean Lee
91b1f88007 cabana: dont reset filter after seek (#27290)
old-commit-hash: 237428d0fd
2023-02-10 10:13:15 -08:00
Dean Lee
d884ca45ed cabana: fix the text of signal value being clipped (#27292)
fix value be clipped
old-commit-hash: 429311a2cc
2023-02-10 10:12:33 -08:00
Dean Lee
2d4faa20be cabana: catch exceptions thrown from opendbc (#27242)
* catch exceptions thrown from opendbc

* Update tools/cabana/mainwin.cc

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* Update tools/cabana/mainwin.cc

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* show error line in detailed text

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 95fc84e0b7
2023-02-09 14:52:44 -08:00
ClockeNessMnstr
ac72bdb09b add g++-12 dependancy for Ubuntu 22.04 (#27263)
add g++-12 dependancy for 22.04

scons -u -j8 gave clang++ not finding iostream and others. 

https://askubuntu.com/questions/1449769/clang-cannot-find-iostream

solution at the bottom of the page worked. installed g++-12 and built fine after that.
old-commit-hash: cd37231666
2023-02-09 12:51:50 -08:00
Dean Lee
cff6df8b8c cabana: set series color in createSeries (#27270)
* set color in createSeries

* fix
old-commit-hash: 37abe37117
2023-02-09 10:37:37 -08:00
Willem Melching
82eeb6f256 cabana: bit level change frequency highlighting (#27259)
* cabana: bit level change highlighting

* change default color
old-commit-hash: 276586fdf0
2023-02-08 15:18:56 -08:00
Dean Lee
9bd4af9781 cabana: imporve series selector dialog (#27266)
* imporve series selector dialog

* typo
old-commit-hash: f4f081c562
2023-02-08 15:18:07 -08:00
Dean Lee
f01f51a22a cabana: fix coredump caused by getColor in updateSeries (#27265)
old-commit-hash: 99f12ca7f3
2023-02-08 13:29:16 -08:00
Willem Melching
b94e06a6be cabana: extend color palette, make chart colors match signal view (#27258)
* cabana: extend color palette, make chart colors match signal view

* vary saturation too

* cleanup
old-commit-hash: fcaa6fb06f
2023-02-08 13:03:23 -08:00
Dean Lee
c11699e717 cabana: set correct geometry for legend (#27260)
old-commit-hash: 80bf755b07
2023-02-08 12:40:43 -08:00
Dean Lee
671bf991aa cabana: improve the welcome page (#27261)
old-commit-hash: 303e21cbcc
2023-02-08 12:40:22 -08:00
Dean Lee
6b6d5320db cabana: add space between signal and msg name (#27252)
old-commit-hash: 583057aa41
2023-02-07 21:46:59 -08:00
Dean Lee
8a5dfaa35d cabana: remove toolbutton padding (#27240)
* remove toolbutton padding

* fix incorrect checked state in setSeriesType
old-commit-hash: 55ad7ee3cb
2023-02-06 21:14:07 -08:00
Dean Lee
3daa82e5a1 cabana: paint points in drawForeground instead of switching opengl mode (#27239)
old-commit-hash: ae99a6d15d
2023-02-06 18:58:24 -08:00
Dean Lee
b31e9b5bb8 cabana: improve charts toolbar (#27233)
* improve toolbar

* add text
old-commit-hash: 8f6521ded3
2023-02-06 18:57:37 -08:00
Dean Lee
d318513c33 cabana: fixed wrong plot area after changed column count (#27228)
old-commit-hash: 1a99fd3610
2023-02-06 16:39:16 -08:00
Dean Lee
bd2e71260e cabana: click on legend to show/hide series (#27231)
* click on legend to show/hide series

* update axis y

* add move icon
old-commit-hash: f9de6a0dd8
2023-02-06 10:18:44 -08:00
Dean Lee
c1b3ff34ea cabana: concurrently update chart series (#27230)
old-commit-hash: 1ecda86e51
2023-02-06 10:17:58 -08:00
pbkompasz
0b49672df9 docs: update cabana usage in README (#27225)
* Add ecam

* Update README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f5f1406817
2023-02-05 14:52:28 -08:00