Commit Graph

1521 Commits

Author SHA1 Message Date
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
Willem Melching
68c0012bf6 cabana: DoubleValidator fix locale (#27129) 2023-01-28 12:05:51 -08:00
Dean Lee
07b32750c1 cabana: remove extra frame border in logs (#27133)
remove extra frame border
2023-01-28 12:03:59 -08:00
Dean Lee
e1e0432317 cabana: display warning if failed to load dbc from clipboard (#27115)
display warning if failed to load from clipboard
2023-01-27 11:34:17 -08:00
Dean Lee
f0078eafac cabana: set time column to fixed width (#27117)
improve column width
2023-01-27 11:33:52 -08:00
Dean Lee
50fc560b43 cabana: improve mainwin (#27053)
* open recent

* improve mainwin

* move to submenu

* new file & remind save before load

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

* cleanup layout
2023-01-26 12:32:25 -08:00
Dean Lee
1d5d57a384 cabana: fix video_splitter created twice (#27101) 2023-01-26 11:02:17 -08:00
Dean Lee
2de2bab286 cabana: fix divde by zero for std::log10 (#27077)
fix divde by zero for std::log10
2023-01-25 10:59:05 -08:00
Dean Lee
892835da7a cabana: fix a wrong settings key (#27085)
fix wrong key
2023-01-25 10:51:31 -08:00
Dean Lee
81956649c8 cabana: improve layout (#27039)
improve layout
2023-01-24 16:14:08 -08:00
Dean Lee
544ad25a0b cabana: support pause and slow motion playback in live stream mode (#27051)
* support pause and slow motion playback in live stream mode

* override

* virtual functions

* move to function

fix

* lock handleEvent

* show speed controls in video widget

* fix pause signal

* set margins

* cleanup
2023-01-24 15:07:11 -08:00
Dean Lee
b2675cef9a cabana: colorful logs based on activity (#27008)
* color logs

* remove space

* update in updateColors
2023-01-24 11:36:40 -08:00
Dean Lee
e49c7fa2bf cabana: fix slider crash on exit if loadThumbnails is running (#27052) 2023-01-23 10:16:11 -08:00
Dean Lee
a0f91b0a8b cabana: fix chart range not updated when replay is seeking back. (#27036) 2023-01-22 13:20:40 -08:00
Dean Lee
1e4721ad62 cabana: fix memory corruption in live stream (#27037) 2023-01-22 13:20:20 -08:00
Dean Lee
35a943030b cabana: add new plot btn to create chart (#27023) 2023-01-21 16:00:39 -08:00
Dean Lee
945d0c7696 cabana: new chart on top (#27031) 2023-01-21 12:41:55 -08:00
Dean Lee
fa6e6a4eb5 cabana: add no-vipc flag (#26999) 2023-01-20 15:43:42 -08:00
Dean Lee
c88853afae cabana: fix wrong column count displayed in combobox (#27020)
fix wrong column count displayed in combobox
2023-01-20 12:45:47 -08:00
Dean Lee
f0d22f88e1 cabana: add a slider to adjust chart range from 1 sec to max cached seconds. (#27005)
* add slider to set chart range

* set minumu to 1 sec

* make chart work in any range

* cleanup

* rename to max_cached_minitues

* more

* dont draw out of plotarea

* cleanup

* updateLayout after chart removed

* cleanup

* fix clamp

* usea same cur_sec to update all charts
2023-01-20 11:47:29 -08:00
Dean Lee
21af68e3c3 cabana: improve video splitter (#27012) 2023-01-20 10:43:30 -08:00
Shane Smiskol
1c128db8b0 Cabana: darken signal backgrounds on hover (#27010)
* darker signal background when hovering

* remove import

* little better
2023-01-19 20:54:50 -08:00
Dean Lee
f9490739ab Cabana: support live streaming (#26946)
* support live streaming

* update live stream's time

* cleanup stream classes

* disable video control in live streaming mode

* emit streamStarted() in LiveStream::streamThread

* disable some features in live streaming mode

* refactor charts to support live streaming mode

* disable dynamic mode checkbox in live streaming mode

* updateDispalyRange

* thread safe events

* TODO: add support for ZMQ

* atomic time stamp

* only keep settings.cached_segment_limit*60  seconds data in liveStream

* make charts work better in live mode

* cleanup ChartView

* fix toolbar

* cleanup

cleanup

* disable openpilotPrefix and useOpenGL on macos

* add comment

* exit gracefully

* support ZMQ

* use ::operator new/delete

* cleanup streams

* cleanup

* align stream buffers

* check looping back

* check if series is empty

* cleanup

* add TODO: write stream to log file to replay it

* upper_bound

* remove class member event_range

* change default settings value

* cleanup updateDisplayrange

* fix merge error
2023-01-19 15:26:00 -08:00
Dean Lee
fd4dc109e1 cabana: add support for multiple columns charts (#27000) 2023-01-19 13:51:55 -08:00
Willem Melching
35b8357963 cabana: search by signal name (#26944) 2023-01-19 10:37:27 -08:00