Commit Graph

866 Commits

Author SHA1 Message Date
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
Dean Lee 20977cbdfa cabana: fix incorrect bit color after seek (#27287)
old-commit-hash: d19b6683655813d18c4e485b613dd32666197232
2023-02-10 10:13:39 -08:00
Dean Lee 41500839a2 cabana: set pen width in createSeries (#27288)
old-commit-hash: 409c1c9c6558850bbced8ba05bf125102e6543bb
2023-02-10 10:13:28 -08:00
Dean Lee 91b1f88007 cabana: dont reset filter after seek (#27290)
old-commit-hash: 237428d0fd42bd0d00156029b38afced3222280e
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: 429311a2cc17ac4d50e28574c1ea35d42a725dc9
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: 95fc84e0b78843a7c8b1a3c42a751d072378960d
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: cd37231666f7758697cbdeece7db6067ee37dd75
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: 37abe3711788d87255b6b1719ea2dc30f0b57522
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: 276586fdf051caa86feef1820e6732567d22c19c
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: f4f081c56209a2fc0669e76e881821b43830462c
2023-02-08 15:18:07 -08:00
Dean Lee f01f51a22a cabana: fix coredump caused by getColor in updateSeries (#27265)
old-commit-hash: 99f12ca7f31a1d6ac8a54254f30d4a31ce628268
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: fcaa6fb06fd68a71b129487d80ee00918695fc5b
2023-02-08 13:03:23 -08:00
Dean Lee c11699e717 cabana: set correct geometry for legend (#27260)
old-commit-hash: 80bf755b075b2b56373b4ca49c2c95d1837e7648
2023-02-08 12:40:43 -08:00
Dean Lee 671bf991aa cabana: improve the welcome page (#27261)
old-commit-hash: 303e21cbccc5bbbc8450d6a09221b77e127631b7
2023-02-08 12:40:22 -08:00
Dean Lee 6b6d5320db cabana: add space between signal and msg name (#27252)
old-commit-hash: 583057aa413f533e761ce869abd69f2fedef39b9
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: 55ad7ee3cb50256bdc16c6777e2432bcf9f702eb
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: ae99a6d15d363ac01f970f266dd7bc7a13ae7366
2023-02-06 18:58:24 -08:00
Dean Lee b31e9b5bb8 cabana: improve charts toolbar (#27233)
* improve toolbar

* add text
old-commit-hash: 8f6521ded3c06b52f0d3c1389e4077be3f184329
2023-02-06 18:57:37 -08:00
Dean Lee d318513c33 cabana: fixed wrong plot area after changed column count (#27228)
old-commit-hash: 1a99fd36101fbe4cbe9853b1df5dfe6c59fea5c4
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: f9de6a0dd876352dacc843ef2b28fb2456771239
2023-02-06 10:18:44 -08:00
Dean Lee c1b3ff34ea cabana: concurrently update chart series (#27230)
old-commit-hash: 1ecda86e51ad3dfefa87a9cebd28370d57ed55fb
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: f5f14068173fbf8664e682e5b02270ecbc79abdb
2023-02-05 14:52:28 -08:00
Dean Lee 1958d92206 cabana: fix incorrect clamp (#27218)
* fix incorrect clamp

* fix type error
old-commit-hash: 4117986520e539aa2a6288538c940728ccb89884
2023-02-05 14:50:32 -08:00
Dean Lee 6bd72c1d19 cabana: only relayout charts when needed (#27210)
old-commit-hash: 54f3ca43bb72f697a5a2fc90d3c26f7301a48cd0
2023-02-05 12:35:30 -08:00
Dean Lee e58743cbea cabana: improve align charts (#27217)
* improve align charts

* set range on need

* cleanup

* remove unused include
old-commit-hash: 9b054af8b6943ffea8d26a4dadb6cfe8fbefe990
2023-02-05 12:35:15 -08:00
Dean Lee 6640006987 cabana: delay starting live streaming thread (#27213)
old-commit-hash: 2cb0f599628f65d4fdb9dc3d84bdcc0865c33224
2023-02-04 15:25:06 -08:00
Dean Lee a509f7a1eb cabana: better window title for live streaming (#27214)
better title for live streaming
old-commit-hash: 90108c0c28082b9129703b3a67e68180362e3dba
2023-02-04 09:42:39 -08:00
Kurt Nistelberger 080e7d0ebd 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>
old-commit-hash: 74187463da9f93c6841a6394b0b91a5451ef4765
2023-02-03 13:45:36 -08:00
Dean Lee 8d359ca270 cabana: fix incorrect point size after adding new series to chart or changing series type (#27199)
* update pointers after create series

* cleanup
old-commit-hash: d6516059bd757b1e23c94808187b2dbc38786ca8
2023-02-03 13:03:01 -08:00
Dean Lee 7af5741071 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
old-commit-hash: 29d9d037590d2db33b7d49c44120d83307ec6568
2023-02-03 12:47:26 -08:00
Dean Lee 27cd911c6b cabana: fix chart buttons occasionally did not respond to click. (#27198)
* fix btn not responding on click

* change icon from gear to list(menu)
old-commit-hash: bd66f77a3b5f59c1b0f72a4a655f0ca883b35f11
2023-02-03 11:40:35 -08:00
Dean Lee e397807a46 cabana: elide long signal names (#27202)
elide long signal names
old-commit-hash: 1ace481fa85287cbfb1799bea9d2fd325eaf1ce7
2023-02-03 10:50:39 -08:00
Dean Lee 43e4b84fec 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
old-commit-hash: 41304db1e661fa6593d777f0f17dfd60e6f909c8
2023-02-02 20:39:16 -08:00
Dean Lee b4ba7f91a5 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>
old-commit-hash: 53396076dfaa857da735d9943fc7e33cefdadf69
2023-02-02 13:16:32 -08:00
Willem Melching 4081c51c73 cabana: add button to suppress highlighted bytes (#27131)
old-commit-hash: e3c202b4a2d79f6843aa54ec9a1ef81e39da2731
2023-02-02 13:16:09 -08:00
Willem Melching c488ecc0b4 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
old-commit-hash: 9ece098098d571224ebf0a5b75e069416ca9d7f3
2023-02-02 13:15:11 -08:00
Dean Lee 78fd6462c9 cabana: improve line marker (#27189)
old-commit-hash: 628b80de3d1ac9b5556fcd4c60818d99b4b76af9
2023-02-02 13:14:53 -08:00
Dean Lee ba6d251bbf cabana: remove the hardcoded width for columns (#27185)
old-commit-hash: 6b04ead6dd8fc89540c9d0000a2aa262c6b420e1
2023-02-02 13:14:36 -08:00
Dean Lee f1a97c0137 cabana: show series colors in tooltip (#27186)
show series colors in tooltip
old-commit-hash: 647e81f9bbab53439dea4b418c532c21afbbb50a
2023-02-02 10:23:21 -08:00
Dean Lee a1fb5b7e1f cabana: render light or dark icon based on system theme (#27155)
old-commit-hash: 0402e949270219bfbd964d38916ed52917090169
2023-01-31 13:45:57 -08:00
Willem Melching d7ce6a56eb cabana: dynamically switch between OpenGL (#27167)
* cabana: dynamically switch between OpenGL

* put back todo

* only switch when x axis changes
old-commit-hash: 49e955d321aff222665ac89b62d9de0b5d8395d2
2023-01-31 13:08:07 -08:00