Commit Graph

897 Commits

Author SHA1 Message Date
Dean Lee
85a37d276c cabana: recalc y-axis label width after unit change (#27466)
recalc width
2023-02-28 23:41:28 -08:00
Dean Lee
8d317ef51c cabana: press F11 to toggle fullscreen (#27455) 2023-02-28 15:50:30 -08:00
Dean Lee
ce3e9d5649 cabana: fix gaps in step line between chunks (#27447) 2023-02-27 15:51:23 -08:00
Dean Lee
78116029d3 cabana: replace hardcoded margins, colors, spacing with values from style. (#27449)
replace hardcoded margins, colors, spacing

improve performance of MessageBytesDelegate
2023-02-25 14:27:18 -08:00
Dean Lee
608ac253df cabana: right align signal values & fixed text overflow (#27444)
right align the signal values
2023-02-23 20:02:46 -08:00
Dean Lee
dc4ebeb29c 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
2023-02-23 10:45:59 -08:00
Willem Melching
a5644faa3f cabana: show units (#27433)
* show units on chart y axis

* show in signal list

* show in historyview

* use clear()
2023-02-23 10:45:13 -08:00
Willem Melching
4e0a3aa0d5 cabana: show bus in own column (#27434) 2023-02-23 10:44:53 -08:00
Dean Lee
c1be6d945b cabana: dispaly current FPS & cached minitues on statusbar (#27430)
dispaly current FPS & cached minitues on statusbar
2023-02-22 20:44:33 -08:00
Kurt Nistelberger
6b4ac801e7 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>
2023-02-22 14:11:04 -08:00
Dean Lee
e0a6074d00 cabana: remove setUpdatesEnabled and setLabelFormat after updateAxisY (#27421) 2023-02-22 11:45:05 -08:00
Dean Lee
58cd96536b cabana: small improvements to SignalView (#27419) 2023-02-22 11:44:53 -08:00
Dean Lee
4efd246bac 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
2023-02-20 14:16:30 -08:00
Dean Lee
10ed70d952 cabana: show command's text in statusbar (#27398) 2023-02-20 13:52:16 -08:00
ntegan1
1f89afd140 cabana: missing includes (#27390) 2023-02-20 13:31:30 -08:00
Shane Smiskol
c7cc36d9ee 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
2023-02-20 13:15:59 -08:00
Dean Lee
8e3cb0fb20 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
2023-02-19 15:14:13 -08:00
Shane Smiskol
8d9f99b835 cabana: add space to help message (#27384)
add space
2023-02-18 21:48:13 -08:00
Dean Lee
ac0dbf74bc 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
2023-02-17 19:31:54 -08:00
Dean Lee
2c5e55ccdc cabana: attach messageid to tabdata (#27368) 2023-02-17 10:53:47 -08:00
Dean Lee
524f7079a9 cabana: add description for timeline color in help (#27375) 2023-02-17 10:35:50 -08:00
Dean Lee
37adf5d3a6 cabana: simplify conversions between QVariant and QVector<QColor> (#27367) 2023-02-16 18:53:12 -08:00
grekiki
202eb06a05 Carla simulator: set driver orientation (#27363) 2023-02-16 14:51:25 -08:00
Dean Lee
2510f78126 cabana: add online-help (#27349)
* add online helps

* typo

* remove duplicate 'too'

* show idle message:For Help, Press F1

* improve drawHelp

* fix color desc
2023-02-16 14:47:36 -08:00
Willem Melching
8772306467 cabana: fix events() call in AbstractStream::updateLastMsgsTo (#27360) 2023-02-16 10:34:42 -08:00
Willem Melching
e6c02027d3 cabana: fix updating tabbar_ids on "Close Other Tabs" (#27362) 2023-02-16 10:34:18 -08:00
Willem Melching
5078c91805 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
2023-02-15 12:39:03 -08:00
Dean Lee
e4d0ee8716 cabana: cleanup code for charts (#27350) 2023-02-15 10:59:57 -08:00
Willem Melching
286e42948e cabana: add keyboard shortcuts to binary view (#27338)
* cabana: add keyboard shortcuts to binary view

* typo

* whitespace

* keep signal highlighted
2023-02-14 10:46:29 -08:00
Dean Lee
a6bf26f5eb cabana: fix two bugs in chart (#27336)
fix two bugs
2023-02-14 00:46:13 -08:00
Dean Lee
d5d19978ad cabana: add name validation when editing message (#27316)
* check duplicate name

* cant use ' untitled' as msg name

* const QString UNTITLED
2023-02-13 18:25:59 -08:00
Dean Lee
507badb117 cabana: set legend marker shape by the series type (#27296)
set legend marker shape by the series type
2023-02-13 14:40:47 -08:00
Dean Lee
e952ad2c66 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>
2023-02-13 10:44:44 -08:00
Dean Lee
fff6e8baf6 cabana: fix crash in BinaryView::refresh (#27318) 2023-02-12 20:11:55 -08:00
Dean Lee
38cf0b8382 cabana: fixed the buggy has_more_data, reduce unncessary calls to fetchMore (#27319) 2023-02-12 20:11:32 -08:00
Dean Lee
f71aad955c cabana: cancel signal highlighting on leaveEvent (#27315)
cacnel signal hilighting on leaveEvent
2023-02-12 18:49:33 -08:00
Dean Lee
0fdcf4efc0 cabana: fix text-overflow for long msg name (#27297) 2023-02-10 14:50:52 -08:00
Dean Lee
3d2c156bbd cabana: fix y axis precision (#27299) 2023-02-10 13:40:39 -08:00
Dean Lee
152f1bf485 cabana: fix inconsistent size for play button (#27298) 2023-02-10 12:57:20 -08:00
Dean Lee
7cfa236ff2 cabana: improve SignalItemDelegate::paint (#27295) 2023-02-10 11:31:54 -08:00
Willem Melching
fae5553838 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>
2023-02-10 10:14:45 -08:00
Dean Lee
d19b668365 cabana: fix incorrect bit color after seek (#27287) 2023-02-10 10:13:39 -08:00
Dean Lee
409c1c9c65 cabana: set pen width in createSeries (#27288) 2023-02-10 10:13:28 -08:00
Dean Lee
237428d0fd cabana: dont reset filter after seek (#27290) 2023-02-10 10:13:15 -08:00
Dean Lee
429311a2cc cabana: fix the text of signal value being clipped (#27292)
fix value be clipped
2023-02-10 10:12:33 -08:00
Dean Lee
95fc84e0b7 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>
2023-02-09 14:52:44 -08:00
ClockeNessMnstr
cd37231666 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.
2023-02-09 12:51:50 -08:00
Dean Lee
37abe37117 cabana: set series color in createSeries (#27270)
* set color in createSeries

* fix
2023-02-09 10:37:37 -08:00
Willem Melching
276586fdf0 cabana: bit level change frequency highlighting (#27259)
* cabana: bit level change highlighting

* change default color
2023-02-08 15:18:56 -08:00
Dean Lee
f4f081c562 cabana: imporve series selector dialog (#27266)
* imporve series selector dialog

* typo
2023-02-08 15:18:07 -08:00