Commit Graph

797 Commits

Author SHA1 Message Date
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
Willem Melching
d365d99cb0 cabana: improve open/save functions (#27007) 2023-01-19 10:36:17 -08:00
Willem Melching
5b8d124be7 cabana: color bytes based on activity (#26970)
* cabana: color bytes based on activity

* newlines

* fix text color when selected

* fix indent

* add colors to binary view

* no need to check contains

* whitespace

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-01-19 10:35:18 -08:00
Dean Lee
cebee69f30 cabana: click time label to seek to a specified time (#27006) 2023-01-19 10:32:48 -08:00
Dean Lee
c21d9408a1 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
2023-01-18 13:19:23 -08:00
Dean Lee
351d97ab5a cabana: make video resizable (#26998) 2023-01-18 11:40:44 -08:00
Willem Melching
e69e4f4052 cabana: sort bus:id numerically instead of alphabetically (#26996)
* cabana: sort bus:id numerically instead of alphabetically

* Update tools/cabana/canmessages.h
2023-01-18 10:32:04 -08:00
Willem Melching
ef89ec3eb0 cabana: fix segfault on descending sort (#26995) 2023-01-18 10:31:40 -08:00
Dean Lee
2ef127ebc0 cabana: more compact form (#26985) 2023-01-17 13:09:18 -08:00
Kurt Nistelberger
a43a243b6e Improve GPSbox tests (#26983)
* add altitude testing

* fix proc check

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-16 20:02:30 -08:00
Dean Lee
164880524a cabana: add a combobox to switch between signal and raw hex value (#26974)
* switch between hex&signal value

* sync display mode between view & model
2023-01-16 11:21:15 -08:00
Willem Melching
5cc192be4d cabana: MacOS fixes (#26973)
* make qtcharts a framework

* cabana: dfisable openpilot prefix on macos

* cabana: disable opengl on charts

* fix linux build

* no newline

* add comments
2023-01-15 22:13:16 -08:00
Dean Lee
58bd024089 cabana: support drag and drop to merge charts (#26968) 2023-01-15 12:52:11 -08:00
Dean Lee
c1b9c3d3d1 Cabana: save signal on editingFinished (#26940)
save signal on editingFinished
2023-01-13 11:40:34 -08:00
Dean Lee
aaed353778 cabana: use Qt::Window flag for FindSimilarBitsDlg (#26938)
use Qt::Window flag for FindSimilarBitsDlg
2023-01-13 11:33:03 -08:00
Dean Lee
53ec07edbd cabana: double click on an item in FindSimilarBitsDlg to open the message in detailView (#26930)
* double click to open message

* remove qDebug
2023-01-12 13:39:51 -08:00
Dean Lee
66d0d4c7d7 cabana: filtering in both address and msg name (#26929)
search in address and name

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-12 13:27:46 -08:00
Dean Lee
97b931a12a cabana: fix chart glitches (#26928) 2023-01-12 11:27:20 -08:00
Dean Lee
f3fa4d759d cabana: fix find similar bits (#26918)
* dynamic find bit

* change

* Revert "change"

This reverts commit 12cf513e2725a52ee40b8999521adcd6ecb00221.

* change sorting and headers

* make perc a float

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-11 21:21:11 -08:00
Dean Lee
9884957e3e cabana: sync play button state (#26917)
sync play button
2023-01-11 15:32:13 -08:00
Dean Lee
a421c9464e replay: sync vision buffer (#26904) 2023-01-09 13:48:04 -08:00
Willem Melching
19a15eeb53 MacOS: homebrew arm-none-eabi-gcc works again (#26903)
Revert "Fix gcc-arm-embedded for m1 mac (#24515)"

This reverts commit 01a237ef02.
2023-01-09 10:30:30 -08:00
Dean Lee
2204a7153f replay: remove need for fake dongle id (#26899) 2023-01-08 15:51:08 -08:00
Dean Lee
2c7df6efc8 replay: show absolute time (#26869) 2023-01-07 11:07:30 -08:00
Dean Lee
88fd2ea84f replay: add option --prefix to set OPENPILOT_PREFIX (#26862) 2023-01-02 13:31:08 -08:00