Commit Graph

1521 Commits

Author SHA1 Message Date
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
Dean Lee
99f12ca7f3 cabana: fix coredump caused by getColor in updateSeries (#27265) 2023-02-08 13:29:16 -08:00
Willem Melching
fcaa6fb06f 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
2023-02-08 13:03:23 -08:00
Dean Lee
80bf755b07 cabana: set correct geometry for legend (#27260) 2023-02-08 12:40:43 -08:00
Dean Lee
303e21cbcc cabana: improve the welcome page (#27261) 2023-02-08 12:40:22 -08:00
Dean Lee
583057aa41 cabana: add space between signal and msg name (#27252) 2023-02-07 21:46:59 -08:00
Dean Lee
55ad7ee3cb cabana: remove toolbutton padding (#27240)
* remove toolbutton padding

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

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

* update axis y

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

* Update README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-05 14:52:28 -08:00
Dean Lee
4117986520 cabana: fix incorrect clamp (#27218)
* fix incorrect clamp

* fix type error
2023-02-05 14:50:32 -08:00
Dean Lee
54f3ca43bb cabana: only relayout charts when needed (#27210) 2023-02-05 12:35:30 -08:00
Dean Lee
9b054af8b6 cabana: improve align charts (#27217)
* improve align charts

* set range on need

* cleanup

* remove unused include
2023-02-05 12:35:15 -08:00
Dean Lee
2cb0f59962 cabana: delay starting live streaming thread (#27213) 2023-02-04 15:25:06 -08:00
Dean Lee
90108c0c28 cabana: better window title for live streaming (#27214)
better title for live streaming
2023-02-04 09:42:39 -08:00
Kurt Nistelberger
74187463da laikad: add laikad startup tests (#27207)
* add laikad startup test

* move debug files to xx

* add laikad startup and ephemeris test

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-03 13:45:36 -08:00
Dean Lee
d6516059bd cabana: fix incorrect point size after adding new series to chart or changing series type (#27199)
* update pointers after create series

* cleanup
2023-02-03 13:03:01 -08:00
Dean Lee
29d9d03759 cabana: add dialog to open route from remote or local (#27183)
* add OpenRouteDialog

* cleanup

* failed_to_load

* fix load

* clear message list and stream after open new route

* show message

* remove all tabs and charts after open

* use textEdited

* check route format

* cleanup loadRoute
2023-02-03 12:47:26 -08:00
Dean Lee
bd66f77a3b cabana: fix chart buttons occasionally did not respond to click. (#27198)
* fix btn not responding on click

* change icon from gear to list(menu)
2023-02-03 11:40:35 -08:00
Dean Lee
1ace481fa8 cabana: elide long signal names (#27202)
elide long signal names
2023-02-03 10:50:39 -08:00
Dean Lee
41304db1e6 cabana: syc the last messages after seeking (#27149)
* fix wrong last message time

* update last messages after seekto

* cleanup

* remove src,address from CanData

* merge master

merge master
2023-02-02 20:39:16 -08:00
Dean Lee
53396076df cabana: add capability for switching between line and scatter plots (#27169)
* add capability for switching between line and scatter plots

* Update tools/cabana/chartswidget.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* setUserOpengl in createSeries

* update series title

* set marker size by pixels_per_point

* sync menu state

* cleanup

* set default series type in settings dlg

* remove qdebug

---------

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2023-02-02 13:16:32 -08:00
Willem Melching
e3c202b4a2 cabana: add button to suppress highlighted bytes (#27131) 2023-02-02 13:16:09 -08:00
Willem Melching
9ece098098 cabana: do not round time when seeking from chartswidget (#27141)
* cabana: do not round time when seeking from chartswidget

* prevent zooming/seeking past end of route
2023-02-02 13:15:11 -08:00