Commit Graph

927 Commits

Author SHA1 Message Date
Dean Lee 19e20aad94 cabana: fix button geometries (#27659)
old-commit-hash: 1a560a1a6c114352b85959f96190d97f49f48010
2023-03-23 10:19:39 -07:00
Dean Lee 01a5616f82 cabana: improve find similar bits (#27651)
* improve find similar bits

* 2 precision
old-commit-hash: 89d767da49a32bd78024ac224236f82bf2b2fff5
2023-03-22 11:02:34 -07:00
Dean Lee 634a089845 cabana: sets the line width with floating point precision. (#27653)
old-commit-hash: dcbadc554d009c0e8d5c9a034cf748391c5015a8
2023-03-22 10:27:23 -07:00
Adeeb Shihadeh 7e6079465e plotjuggler: update controls mismatch layout
old-commit-hash: 5e269b25c470b73cd4a413d10d89c1f74584b41f
2023-03-18 20:03:00 -07:00
Dean Lee 4cf04f5b0a cabana: display zoom range while dragging rubber-band selection (#27620)
old-commit-hash: 529ba41825c3d47ee6f322ddecc8471d8e0cdd3a
2023-03-18 14:34:11 -07:00
Dean Lee 3d2066272b cabana: set min-max values from size when creating a new signal. (#27589)
old-commit-hash: 741d26b0255b806fce545b987b52e7a21c5a5d14
2023-03-17 16:18:38 -07:00
Dean Lee 35e5b4d927 cabana: group CAN events by message id to reduce the time complex from O(N) to O(1) (#27601)
* refactor streams

* helper function xLessThan

* fix fill gaps
old-commit-hash: 74db5a4b421c822065677b12c4493c4e20aa2a9b
2023-03-17 10:16:14 -07:00
Harald Schäfer 515645da51 LaikaD new cache version (#27596)
old-commit-hash: 38cb42f76aa9fe21b0e71569934864d578499c8e
2023-03-15 20:26:19 -07:00
Dean Lee ee692c5bec cabana: eliminate deep copy of events in live stream mode (#27588)
old-commit-hash: f00c108acb49bb633167dfdfcbdf84461cf59025
2023-03-15 10:54:22 -07:00
Dean Lee 83290c336b cabana: fix incorrect current ts in live stream mode (#27578)
old-commit-hash: 696cbb3e242a0613d4a8183df1eafd2fbcaf755b
2023-03-14 11:31:57 -07:00
Willem Melching 918bad4847 cabana: DBCManager only expose methods/signals through MessageId (#27540)
old-commit-hash: 0afd3bab34432e0ba83818c264f17e3ef16005df
2023-03-14 11:31:04 -07:00
Willem Melching da54ce208f cabana: show signal values with consistent number of digits (#27556)
old-commit-hash: b591b0c764b3ba025ec31b083143fcab4ffcb0d8
2023-03-14 11:29:00 -07:00
Dean Lee c95ca5a1d5 cabana: fix hang on scrubbing in zommed chart (#27568)
old-commit-hash: d09a9a08fc21edc03edeb40e1080d8495a7d2915
2023-03-13 10:25:16 -07:00
Willem Melching e8105f0413 cabana: extend max chart range to 30 minutes (#27555)
old-commit-hash: fc44ed63d78c3b45020db1130dae41f597c91e18
2023-03-11 12:47:53 -08:00
Dean Lee 41c03ff406 cabana: split events into chunks and processed concurrently (#27562)
old-commit-hash: dc31c50aa7bda8d5aab43b0382342ae5162ed37d
2023-03-11 12:47:34 -08:00
Willem Melching 65e0d40250 cabana: use ID as NEW_MSG_ suffix (#27554)
* cabana: use ID as NEW_MSG_ suffix

* start suffix at _1
old-commit-hash: 0fb8e974801b3a9fc664076830a8595a752d5c87
2023-03-10 13:29:11 -08:00
Willem Melching 612d7aee6b cabana: create autosave file when there are unsaved changes (#27542)
old-commit-hash: ee615a30775c56be2c13a4acb4a755072000b8d6
2023-03-10 11:21:34 -08:00
Willem Melching d79a43d62b cabana: autocomplete signal names (#27553)
old-commit-hash: c32a45b5b59396d7c7b90ede8db4e8ad678f39c5
2023-03-10 11:20:59 -08:00
Willem Melching f0d648d8c6 cabana: refactor Msg and Signal into dbc.cc (#27552)
old-commit-hash: e4d591ecbfaaf12b267e3f93927a89e9b4f6a7b9
2023-03-10 11:19:37 -08:00
Willem Melching 608477929c cabana: fix changing message size (#27544)
* cabana: fix changing message size

* fix naming signal untitled
old-commit-hash: 5b3a72267c628785859e673eaecc2787e02f1220
2023-03-09 13:14:21 -08:00
Willem Melching ed75ea1836 cabana: scrub by shift dragging on graph (#27545)
* cabana: scrub by shift dragging on graph

* not while live streaming
old-commit-hash: b79f4594c42b4af0fc371b5d48445ce86c1cb3ff
2023-03-09 13:14:06 -08:00
Dean Lee 2ca3feab16 cabana: get icon size from QStyle::PM_SmallIconSize (#27548)
old-commit-hash: b5d29b550c4b900d5e5e9dd9322a478e12ec9013
2023-03-09 13:13:46 -08:00
Dean Lee 0fcc3b4da7 replay: fix incorrect format string in seekTo (#27547)
old-commit-hash: 9b28897f09112ec1dc28d7196964588989029940
2023-03-09 13:13:29 -08:00
Adeeb Shihadeh 3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb2159802d3dba99620db0b08731c68a7e4733
2023-03-08 11:20:49 -08:00
Adeeb Shihadeh 47d30174d3 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
old-commit-hash: 6f40f0d4427f4238c3939a64d1d6baa7d77f1ecc
2023-03-08 10:56:54 -08:00
Dean Lee 392b9df2eb cabana: improve the performance of updating TreeView in real-time. (#27517)
old-commit-hash: ddcafeb7dcac709dbd517e619fe3807cfc898198
2023-03-07 10:08:33 -08:00
Dean Lee ca0b965d08 cabana: use a segment tree to solve range queries in O(log n) time complexity (#27498)
old-commit-hash: c2018d6bf291e68102859eb31bb1dd68790172b1
2023-03-05 16:03:44 -08:00
Dean Lee a9e8d3e885 cabana: faster copy events (#27499)
old-commit-hash: 2de085d39d0b9f149526828cd02cc4ccb9122d05
2023-03-05 15:55:22 -08:00
Dean Lee aeb812b5e1 replay: fixed the status is always "loading" if there is no carState in events (#27481)
old-commit-hash: 6c4320559a05d6af1ee7b0f4bbebda171b94e20a
2023-03-02 22:30:12 -08:00
Dean Lee 3cbcd532ac cabana: fix wrong tooltip (#27480)
old-commit-hash: afc24f08d66c34ccebf3143e5062390e8529f26f
2023-03-01 21:54:07 -08:00
Dean Lee 2026a1b454 cabana: recalc y-axis label width after unit change (#27466)
recalc width
old-commit-hash: 85a37d276c105494b97eee03aa6bb31a212f2f92
2023-02-28 23:41:28 -08:00
Dean Lee 138d468772 cabana: press F11 to toggle fullscreen (#27455)
old-commit-hash: 8d317ef51ce3518e6bd3bb1a97567f8686ca8c8d
2023-02-28 15:50:30 -08:00
Dean Lee f78b0d0a8a cabana: fix gaps in step line between chunks (#27447)
old-commit-hash: ce3e9d5649d930ea0daae2d2a1587cc6e69c158b
2023-02-27 15:51:23 -08:00
Dean Lee b12a2a0eaf cabana: replace hardcoded margins, colors, spacing with values from style. (#27449)
replace hardcoded margins, colors, spacing

improve performance of MessageBytesDelegate
old-commit-hash: 78116029d33ab7724daa087201f1743fd34d6a19
2023-02-25 14:27:18 -08:00
Dean Lee 3e89cf5db8 cabana: right align signal values & fixed text overflow (#27444)
right align the signal values
old-commit-hash: 608ac253df5295187c6c7289b5b41a983482123e
2023-02-23 20:02:46 -08:00
Dean Lee db35b147ac cabana: added a new series type to chart: step line (#27422)
* add step line series

* create buttons in createToolButtons

* add inline function clearTrackPoints

* do not show tooltip if series is invisible

* use QActionGroup
old-commit-hash: dc4ebeb29c569c2b3bc9c687778b6e4ed754d329
2023-02-23 10:45:59 -08:00
Willem Melching eb77f1c15b cabana: show units (#27433)
* show units on chart y axis

* show in signal list

* show in historyview

* use clear()
old-commit-hash: a5644faa3f1095c2aa36b12e534fbba1b2ac921d
2023-02-23 10:45:13 -08:00
Willem Melching 6684dede2f cabana: show bus in own column (#27434)
old-commit-hash: 4e0a3aa0d51c3abd96774bb12a6e28943082fa81
2023-02-23 10:44:53 -08:00
Dean Lee 6dcb9d8699 cabana: dispaly current FPS & cached minitues on statusbar (#27430)
dispaly current FPS & cached minitues on statusbar
old-commit-hash: c1be6d945bb2efd6564f80f153c0ff71c59a3505
2023-02-22 20:44:33 -08:00
Kurt Nistelberger 1a97edf8d2 laikad: use new cache param (#27404)
* add backward compatibility

* rename laikad cache file

* rm and update

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6b4ac801e7ecb1addf74c9018958469741b609a3
2023-02-22 14:11:04 -08:00
Dean Lee f7eb48852f cabana: remove setUpdatesEnabled and setLabelFormat after updateAxisY (#27421)
old-commit-hash: e0a6074d00df9fafaa2b6d5e2d0fa01b154cce2f
2023-02-22 11:45:05 -08:00
Dean Lee 952c5b7338 cabana: small improvements to SignalView (#27419)
old-commit-hash: 58cd96536b852949f65309fea37684a6fa16668e
2023-02-22 11:44:53 -08:00
Dean Lee 2aafd3bf01 cabana: improve UI & fix bugs (#27387)
* improve ui

* keep splitter size after msg changed

* no leading spaces allowed in msg filter and signal filter

* draw color byte AlignCenter

* always set as current index

* reduce chart flickers while resizing

* dispaly more info in tooltip for signal

* narrow combobox

* use &nbsp;

* typo

* private sigs,fix bugs

* merge  #27383

* no expanding after undo/redo

* gray color in tooltip

* clear current_msg_id before reset model

* dont call setmeesage if id is the same

* fix bugs

* cleanup

* dont fetch logs if invisible

* add new CenterWidget, make sure msg_id is always valid

* cache icons

* cleanup paint byte color

* merge #27385 implement sizeHint

* cleanup code

* fillrect if alpha>0
old-commit-hash: 4efd246bac004f3b6f1f7d733e6e285b3fdc8322
2023-02-20 14:16:30 -08:00
Dean Lee 9b9a90bf7a cabana: show command's text in statusbar (#27398)
old-commit-hash: 10ed70d95293375a36d57d103b7173dc637e861a
2023-02-20 13:52:16 -08:00
ntegan1 0e0503aee9 cabana: missing includes (#27390)
old-commit-hash: 1f89afd1401176641443090fde6ca7a787c890a9
2023-02-20 13:31:30 -08:00
Shane Smiskol 05d0ff0f6e cabana: add window icon (#27109)
* add logos

* most zoomed in

* add alt

* slightly zoomed more

* add images

* add draft images

* best image

* not working

* 96px icon image to reduce compiled size

* remove from selfdrive assets

* fixes
old-commit-hash: c7cc36d9ee22aea2e07aab61d51f0f949b64bcf5
2023-02-20 13:15:59 -08:00
Dean Lee 7cd3e178c1 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
old-commit-hash: 8e3cb0fb2075cc0e21f0362dad467cd992291c3a
2023-02-19 15:14:13 -08:00
Shane Smiskol d163f09e66 cabana: add space to help message (#27384)
add space
old-commit-hash: 8d9f99b835aeb0d317337d1f87a961e75f8d6468
2023-02-18 21:48:13 -08:00
Dean Lee 972e91463c cabana: add support for load&save extra dbc info (#27203)
* support extra info

* support undo/redo

* fix undo/redo

* cleanup

* fix regexp

* refactor dbcmanager

* replace text in headerview

* fix binary::refresh

* cleanup

* use QRegularExpression

* add desc validation

* edit val description in table

* cleanup
old-commit-hash: ac0dbf74bc835faa46beab4bbb948c95597e4e67
2023-02-17 19:31:54 -08:00
Dean Lee 517a020596 cabana: attach messageid to tabdata (#27368)
old-commit-hash: 2c5e55ccdca597857208fc2fbb6bbc58972dbc4b
2023-02-17 10:53:47 -08:00