Commit Graph

838 Commits

Author SHA1 Message Date
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
Dean Lee 1958d92206 cabana: fix incorrect clamp (#27218)
* fix incorrect clamp

* fix type error
old-commit-hash: 4117986520
2023-02-05 14:50:32 -08:00
Dean Lee 6bd72c1d19 cabana: only relayout charts when needed (#27210)
old-commit-hash: 54f3ca43bb
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: 9b054af8b6
2023-02-05 12:35:15 -08:00
Dean Lee 6640006987 cabana: delay starting live streaming thread (#27213)
old-commit-hash: 2cb0f59962
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: 90108c0c28
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: 74187463da
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: d6516059bd
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: 29d9d03759
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: bd66f77a3b
2023-02-03 11:40:35 -08:00
Dean Lee e397807a46 cabana: elide long signal names (#27202)
elide long signal names
old-commit-hash: 1ace481fa8
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: 41304db1e6
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: 53396076df
2023-02-02 13:16:32 -08:00
Willem Melching 4081c51c73 cabana: add button to suppress highlighted bytes (#27131)
old-commit-hash: e3c202b4a2
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: 9ece098098
2023-02-02 13:15:11 -08:00
Dean Lee 78fd6462c9 cabana: improve line marker (#27189)
old-commit-hash: 628b80de3d
2023-02-02 13:14:53 -08:00
Dean Lee ba6d251bbf cabana: remove the hardcoded width for columns (#27185)
old-commit-hash: 6b04ead6dd
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: 647e81f9bb
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: 0402e94927
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: 49e955d321
2023-01-31 13:08:07 -08:00
Dean Lee 10f39f4fd0 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
old-commit-hash: ceceb1c6cc
2023-01-30 19:23:36 -08:00
Willem Melching e814b0f9f7 cabana: add --dbc command line argument (#27132)
old-commit-hash: f3a9dac93e
2023-01-30 17:42:38 -08:00
Dean Lee bb56e75d0f cabana: restrict the rubber band in plot area. (#27154)
old-commit-hash: fba4827a7b
2023-01-30 13:56:34 -08:00
Dean Lee 6741c99afc cabana: small improvements to MessageListModel::setFilterString (#27153)
old-commit-hash: 3815afbde7
2023-01-30 10:57:35 -08:00
Dean Lee 8f812acb0d cabana: remove the margins of the legend item (#27152)
old-commit-hash: afa85e0256
2023-01-30 10:57:16 -08:00
Dean Lee 86266c0cea cabana: draw message bytes at the same width (#27150)
old-commit-hash: 078f06dbaf
2023-01-30 10:56:03 -08:00
Dean Lee 5e1b64285f cabana: fixed the column selector is always hidden if settings.chart_column_count is 1 (#27146)
fix column selector
old-commit-hash: 9822f1b0b4
2023-01-29 19:20:52 -08:00
Dean Lee a583bd621f 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
old-commit-hash: 7a485d4308
2023-01-29 19:19:50 -08:00
martinl 0970d900a2 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
old-commit-hash: fdc4a7f84c
2023-01-29 13:55:17 -08:00
Willem Melching a8b63f672b 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()
old-commit-hash: fa4f37a098
2023-01-29 13:02:32 -08:00
Dean Lee 1034573f1d Cabana: load commaai/opendbc from menu (#27114)
* load from opendbc

* move load from commaai/opendbc to menu

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

* review comments
old-commit-hash: f038193f44
2023-01-29 12:57:01 -08:00
Willem Melching d24fb585b5 cabana: fix occasional ellipsis on y axis ticks (#27142)
old-commit-hash: bdb42f7f84
2023-01-29 12:55:10 -08:00
Willem Melching fe511a5269 cabana: replace space by underscore when editing signal name (#27130)
cabana: replace space by _ whene editing signal name
old-commit-hash: 3d641fa5e5
2023-01-29 12:54:46 -08:00
Willem Melching 56618cdea6 cabana: fix overlap in byte highlighting (#27139)
old-commit-hash: d76012ec38
2023-01-29 12:52:42 -08:00
Willem Melching ccc28b40b5 cabana: fix crash when combining graphs on MacOS (#27128)
old-commit-hash: ba5c6715a8
2023-01-28 12:06:04 -08:00
Willem Melching d7b677f441 cabana: DoubleValidator fix locale (#27129)
old-commit-hash: 68c0012bf6
2023-01-28 12:05:51 -08:00
Dean Lee db8d4c8ff7 cabana: remove extra frame border in logs (#27133)
remove extra frame border
old-commit-hash: 07b32750c1
2023-01-28 12:03:59 -08:00
Dean Lee c08eeb0cf2 cabana: display warning if failed to load dbc from clipboard (#27115)
display warning if failed to load from clipboard
old-commit-hash: e1e0432317
2023-01-27 11:34:17 -08:00
Dean Lee dd369848cd cabana: set time column to fixed width (#27117)
improve column width
old-commit-hash: f0078eafac
2023-01-27 11:33:52 -08:00
Dean Lee 8d4a81c97d cabana: improve mainwin (#27053)
* open recent

* improve mainwin

* move to submenu

* new file & remind save before load

dd
old-commit-hash: 50fc560b43
2023-01-26 20:29:28 -08:00
Dean Lee 499df99c9e cabana: saving & restoring columns widths (#27080)
saving & restoring columns widths
old-commit-hash: 08060e42c4
2023-01-26 12:56:38 -08:00
Dean Lee 63f89e9746 cabana: only repaint changed cells in BinaryView::highlight (#27046)
dont update all cells on highlight
old-commit-hash: de5f792b3e
2023-01-26 12:41:17 -08:00
Dean Lee 7f350927d1 cabana: cleanup historylog and fix some known issues (#27100)
improve history logs
old-commit-hash: 0f37ff6c02
2023-01-26 12:37:04 -08:00
Dean Lee d8edb6962d cabana: improve detail view (#27099)
* improve detailview

* cleanup layout
old-commit-hash: 27e8f8ff3e
2023-01-26 12:32:25 -08:00
Dean Lee 37badb184e cabana: fix video_splitter created twice (#27101)
old-commit-hash: 1d5d57a384
2023-01-26 11:02:17 -08:00
Dean Lee 455452a1b1 cabana: fix divde by zero for std::log10 (#27077)
fix divde by zero for std::log10
old-commit-hash: 2de2bab286
2023-01-25 10:59:05 -08:00