Commit Graph

805 Commits

Author SHA1 Message Date
Dean Lee adfdbfac54 cabana: only update the colors of newly fetched messages in historylog (#27144)
only update new msgs color
old-commit-hash: d60aca8dd28731f947153f9f5dcb26d0f92ac2ad
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: f038193f4447afc8ae7b6034dec430d08f6da331
2023-01-29 12:57:01 -08:00
Willem Melching d24fb585b5 cabana: fix occasional ellipsis on y axis ticks (#27142)
old-commit-hash: bdb42f7f84516279f308f95496a5f5f901c4adc1
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: 3d641fa5e530bd51ec40e9f1d9b466d75d2aefdf
2023-01-29 12:54:46 -08:00
Willem Melching 56618cdea6 cabana: fix overlap in byte highlighting (#27139)
old-commit-hash: d76012ec38ff5b996a329d35adc21ade17845d53
2023-01-29 12:52:42 -08:00
Willem Melching ccc28b40b5 cabana: fix crash when combining graphs on MacOS (#27128)
old-commit-hash: ba5c6715a8099eb5850382a5b7918da33a6c13dd
2023-01-28 12:06:04 -08:00
Willem Melching d7b677f441 cabana: DoubleValidator fix locale (#27129)
old-commit-hash: 68c0012bf62bcbe9a273d8d4caca0c1ce0d8e9bb
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: 07b32750c16fe4e71abbf81e07aa839ac60b5343
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: e1e043231720712d7c1e2d7342f13756d68efcde
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: f0078eafac20ac5af7e9683e61045bfb524f82cf
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: 50fc560b43bb24570400834edcaaa84d7270f38c
2023-01-26 20:29:28 -08:00
Dean Lee 499df99c9e cabana: saving & restoring columns widths (#27080)
saving & restoring columns widths
old-commit-hash: 08060e42c4bab39b85a64707f8eb801580ed2245
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: de5f792b3e893711a47c8f4db04162ab259ef286
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: 0f37ff6c0284b91881984ce5cf2d74c48bdf7e68
2023-01-26 12:37:04 -08:00
Dean Lee d8edb6962d cabana: improve detail view (#27099)
* improve detailview

* cleanup layout
old-commit-hash: 27e8f8ff3e3336fe4d5737cf7c766d16725706bc
2023-01-26 12:32:25 -08:00
Dean Lee 37badb184e cabana: fix video_splitter created twice (#27101)
old-commit-hash: 1d5d57a3847285af4bcce934dad49ffa65397fc1
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: 2de2bab2864eeaea8104ac0cbb619c5c25b8b4d6
2023-01-25 10:59:05 -08:00
Dean Lee 88e3c87072 cabana: fix a wrong settings key (#27085)
fix wrong key
old-commit-hash: 892835da7ad02d109794c5dc8e79ec938eebd572
2023-01-25 10:51:31 -08:00
Dean Lee a114a6bf17 cabana: improve layout (#27039)
improve layout
old-commit-hash: 81956649c8fad46beb6668009f2136b341260434
2023-01-24 16:14:08 -08:00
Dean Lee dd914f684a 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
old-commit-hash: 544ad25a0b9af70e2b22f3ec4e0fd8788929fd2d
2023-01-24 15:07:11 -08:00
Dean Lee fc3dac373e cabana: colorful logs based on activity (#27008)
* color logs

* remove space

* update in updateColors
old-commit-hash: b2675cef9a9d4993859b0cd924a1ca74281024f9
2023-01-24 11:36:40 -08:00
Dean Lee 54154252f6 cabana: fix slider crash on exit if loadThumbnails is running (#27052)
old-commit-hash: e49c7fa2bf3bbc2eb6aa851c51d82f1cfd6b9212
2023-01-23 10:16:11 -08:00
Dean Lee 37a16ff95e cabana: fix chart range not updated when replay is seeking back. (#27036)
old-commit-hash: a0f91b0a8b1f9e8d14adfb32691c8dec66807d13
2023-01-22 13:20:40 -08:00
Dean Lee 57fca0c177 cabana: fix memory corruption in live stream (#27037)
old-commit-hash: 1e4721ad62d8953ed2e55ebcb4c02d7e06d393df
2023-01-22 13:20:20 -08:00
Dean Lee 7a5ee2eb11 cabana: add new plot btn to create chart (#27023)
old-commit-hash: 35a943030ba67b89a13bdf95257e0b349ffb0ef7
2023-01-21 16:00:39 -08:00
Dean Lee 3e8901cac4 cabana: new chart on top (#27031)
old-commit-hash: 945d0c7696e79fd1889743f112d68060c0b67650
2023-01-21 12:41:55 -08:00
Dean Lee 182ab2a31e cabana: add no-vipc flag (#26999)
old-commit-hash: fa6e6a4eb52010466efb5a65d3b9ee7b59e86a58
2023-01-20 15:43:42 -08:00
Dean Lee b25f0356ee cabana: fix wrong column count displayed in combobox (#27020)
fix wrong column count displayed in combobox
old-commit-hash: c88853afaeab9c9ccf7f7c693c69d9d3e77ae6ac
2023-01-20 12:45:47 -08:00
Dean Lee e675648a16 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
old-commit-hash: f0d22f88e183c381897a3d48c34bfac63feb63a3
2023-01-20 11:47:29 -08:00
Dean Lee dbb05d6bd5 cabana: improve video splitter (#27012)
old-commit-hash: 21af68e3c36eef4a84b076a41305caabf76bd4a9
2023-01-20 10:43:30 -08:00
Shane Smiskol 264a61fefc Cabana: darken signal backgrounds on hover (#27010)
* darker signal background when hovering

* remove import

* little better
old-commit-hash: 1c128db8b07a1abf10b9a2f2cc6a7af22c9ae065
2023-01-19 20:54:50 -08:00
Dean Lee 504453c3e4 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
old-commit-hash: f9490739ab37ae680aef272d51eb3cf2b36b4103
2023-01-19 15:26:00 -08:00
Dean Lee 26ca64da0f cabana: add support for multiple columns charts (#27000)
old-commit-hash: fd4dc109e1ab01b2d1ea6aaf3e99126dbaddc63b
2023-01-19 13:51:55 -08:00
Willem Melching 4a56cddaff cabana: search by signal name (#26944)
old-commit-hash: 35b83579634f2cdee4d6ef4652995b1844773b6e
2023-01-19 10:37:27 -08:00
Willem Melching 9eee128e1f cabana: improve open/save functions (#27007)
old-commit-hash: d365d99cb005b99ce7385d169e696847b0726315
2023-01-19 10:36:17 -08:00
Willem Melching 589c7d951f 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>
old-commit-hash: 5b8d124be7d1277d816ff337fd69600da0e891e2
2023-01-19 10:35:18 -08:00
Dean Lee e95c8e665b cabana: click time label to seek to a specified time (#27006)
old-commit-hash: cebee69f304357c5966dec9b316a4d15e68c571b
2023-01-19 10:32:48 -08:00
Dean Lee fa47048e44 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
old-commit-hash: c21d9408a191ba8e3303f2459d1f7476fefd35ba
2023-01-18 13:19:23 -08:00
Dean Lee 215526119d cabana: make video resizable (#26998)
old-commit-hash: 351d97ab5a72f3dfb22de2e7e321c4cc447a44c9
2023-01-18 11:40:44 -08:00
Willem Melching 10a738c845 cabana: sort bus:id numerically instead of alphabetically (#26996)
* cabana: sort bus:id numerically instead of alphabetically

* Update tools/cabana/canmessages.h
old-commit-hash: e69e4f4052927b1053145d06cc8144f209f84f11
2023-01-18 10:32:04 -08:00
Willem Melching 7ad0b07b7b cabana: fix segfault on descending sort (#26995)
old-commit-hash: ef89ec3eb095df8604d8c66009413444b634b1e6
2023-01-18 10:31:40 -08:00
Dean Lee 34a0e44026 cabana: more compact form (#26985)
old-commit-hash: 2ef127ebc05c609dffff506a64fa3c600d7b194b
2023-01-17 13:09:18 -08:00
Kurt Nistelberger 8d5e71eb8e Improve GPSbox tests (#26983)
* add altitude testing

* fix proc check

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

* sync display mode between view & model
old-commit-hash: 164880524a705fee3ba0507e70c7c0069b1f7ef0
2023-01-16 11:21:15 -08:00
Willem Melching 2c22914bf8 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
old-commit-hash: 5cc192be4d994d26e385f03a1945d810d465eb00
2023-01-15 22:13:16 -08:00
Dean Lee c59ee39caa cabana: support drag and drop to merge charts (#26968)
old-commit-hash: 58bd02408979f19999acd8c755ed30785b9ef6d7
2023-01-15 12:52:11 -08:00
Dean Lee 27da08947f Cabana: save signal on editingFinished (#26940)
save signal on editingFinished
old-commit-hash: c1b9c3d3d1c928df929bce0cd1959d06e1091ccf
2023-01-13 11:40:34 -08:00
Dean Lee f6f6feb922 cabana: use Qt::Window flag for FindSimilarBitsDlg (#26938)
use Qt::Window flag for FindSimilarBitsDlg
old-commit-hash: aaed3537780b5082d427667d6ab4070db2e7e21f
2023-01-13 11:33:03 -08:00
Dean Lee 270893d562 cabana: double click on an item in FindSimilarBitsDlg to open the message in detailView (#26930)
* double click to open message

* remove qDebug
old-commit-hash: 53ec07edbd591296602658080df71d91e8629540
2023-01-12 13:39:51 -08:00
Dean Lee d6ec5da14e cabana: filtering in both address and msg name (#26929)
search in address and name

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 66d0d4c7d7035375bc17bdc9da404c2a5e77d453
2023-01-12 13:27:46 -08:00