Commit Graph

849 Commits

Author SHA1 Message Date
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
Dean Lee 628b80de3d cabana: improve line marker (#27189) 2023-02-02 13:14:53 -08:00
Dean Lee 6b04ead6dd cabana: remove the hardcoded width for columns (#27185) 2023-02-02 13:14:36 -08:00
Dean Lee 647e81f9bb cabana: show series colors in tooltip (#27186)
show series colors in tooltip
2023-02-02 10:23:21 -08:00
Dean Lee 0402e94927 cabana: render light or dark icon based on system theme (#27155) 2023-01-31 13:45:57 -08:00
Willem Melching 49e955d321 cabana: dynamically switch between OpenGL (#27167)
* cabana: dynamically switch between OpenGL

* put back todo

* only switch when x axis changes
2023-01-31 13:08:07 -08:00
Dean Lee ceceb1c6cc replay: fix hang if started with a special segment and there is no INIT_DATA in events (#27107)
* add events if allow or block is specified

* add init_data
2023-01-30 19:23:36 -08:00
Willem Melching f3a9dac93e cabana: add --dbc command line argument (#27132) 2023-01-30 17:42:38 -08:00
Dean Lee fba4827a7b cabana: restrict the rubber band in plot area. (#27154) 2023-01-30 13:56:34 -08:00
Dean Lee 3815afbde7 cabana: small improvements to MessageListModel::setFilterString (#27153) 2023-01-30 10:57:35 -08:00
Dean Lee afa85e0256 cabana: remove the margins of the legend item (#27152) 2023-01-30 10:57:16 -08:00
Dean Lee 078f06dbaf cabana: draw message bytes at the same width (#27150) 2023-01-30 10:56:03 -08:00
Dean Lee 9822f1b0b4 cabana: fixed the column selector is always hidden if settings.chart_column_count is 1 (#27146)
fix column selector
2023-01-29 19:20:52 -08:00
Dean Lee 7a485d4308 cabana: refactor and improve signal view (#26997)
* refactor and improve signal view

* cleanup undostack after save

* set clean

* fix logswidget::refresh

* fix bugs in historylog

* historylog:dont reset display_type on msg changed

* inline displaySignals

* historylog:add stretch to header

* remove sizePolicy

* always show toolbar

* add icon to tabwidget

* create new chart on top

* fix 'show plot' btn state sync issue

* rename removeSeries to removeItem

* historylog::fix displayRange

* MessageListModeL: improve setFilterString

* set as current index after expanded

* disable update during setmessage

* ChartWidget: fix issue in updateState

* skip align charts if there only one chart

* fix updateLayout

* cleanup historylog

* updateState before end reset model

* add validator

* improve sigmodel

* expand new signal

* add comment

* reserve vector

* cleanup condition

* single click on row to expand signal

* improve layout for canfd(64 bytes)

* cleanup

* return false on default

* show the latest signal value next to the signal name

* update sig value after setmessage.to make the value updated in pause mode.

* better size policy

* +1 for grid size

* better palette

* set autofillbg
2023-01-29 19:19:50 -08:00
martinl fdc4a7f84c MacOS: build fixes (#27143)
* MacOS: exclude common/gpio.cc

* MacOS: no spi for boardd

* MacOS: loggerd: no v4l_encoder.cc

* MacOS: update libdbc path for cabana
2023-01-29 13:55:17 -08:00
Willem Melching fa4f37a098 cabana: small improvements to charts (#27140)
* cabana: small improvements to charts toolbar

* show column count when wide enough

* call setspacing

* set in same place

* remove call to updateToolBar()
2023-01-29 13:02:32 -08:00
Dean Lee a84b601d4c Cabana: load commaai/opendbc from menu (#27114)
* load from opendbc

* move load from commaai/opendbc to menu

* keep margins
2023-01-29 13:02:20 -08:00
Dean Lee d60aca8dd2 cabana: only update the colors of newly fetched messages in historylog (#27144)
only update new msgs color
2023-01-29 13:01:57 -08:00
Willem Melching f038193f44 cabana: show dots when zoomed far into a signal (#27145)
* cabana: show dots when zoomed far into a signal

* review comments
2023-01-29 12:57:01 -08:00
Willem Melching bdb42f7f84 cabana: fix occasional ellipsis on y axis ticks (#27142) 2023-01-29 12:55:10 -08:00
Willem Melching 3d641fa5e5 cabana: replace space by underscore when editing signal name (#27130)
cabana: replace space by _ whene editing signal name
2023-01-29 12:54:46 -08:00
Willem Melching d76012ec38 cabana: fix overlap in byte highlighting (#27139) 2023-01-29 12:52:42 -08:00
Willem Melching ba5c6715a8 cabana: fix crash when combining graphs on MacOS (#27128) 2023-01-28 12:06:04 -08:00