Commit Graph

948 Commits

Author SHA1 Message Date
Willem Melching 306e24a062 cabana: fix parts of chart widget not being redrawn (#27742)
* cabana: fix parts of chart widget not being redrawn

* revert others
old-commit-hash: bec8cb1e30c91b150008ef600b42abaf48e1641a
2023-03-30 12:37:49 -07:00
Willem Melching 2127db9a0c cabana: fix drawing sparkline at half width on hi-dpi screen (#27746)
old-commit-hash: ecd82f04087eb58df7de9b503133aae1d8de15d5
2023-03-30 12:37:29 -07:00
Willem Melching 3484716d85 cabana: show string value for val/desc (#27747)
old-commit-hash: 469accbec105e376b88d75a387bb244f0cfd11eb
2023-03-30 12:36:54 -07:00
Willem Melching 969efb868f cabana: allow zooming to smaller ranges (#27748)
* cabana: allow zooming to smaller ranges

* remove comment
old-commit-hash: cf299002f73d121ed2e7afb69f9ff68567ac62cd
2023-03-30 12:36:34 -07:00
Dean Lee 0035749f62 add libncurses5 to ubuntu_setup.sh (#27751)
old-commit-hash: f3664b658b0b375cb95d6511d345d5869ae64a24
2023-03-30 12:24:41 -07:00
Willem Melching b34e314d25 cabana: fix merging sources for already open DBC file (#27715)
* fix build

* fix merging sources
old-commit-hash: e0afaa4eeec1dd36ede1aea809d34637ef968385
2023-03-29 13:17:46 -07:00
Dean Lee 9897bc83c4 cabana: add a slider to set sparkline time range (#27727)
* add slider to set sparkline time range

* rename signaleedit to signalview

* default is 15s

* util::formatSeconds

* update() is faster than invalidate

* draw points

* fix scatter width
old-commit-hash: d6961152b824518f584d2ffad831312447d79d5f
2023-03-29 12:43:43 -07:00
Dean Lee 7ffea181b7 cabana: add sparkline to signal view (#27717)
* display small line chart beside signal

* TODO

* 1 px width

* auto stretch

* static lines

* use std::vector

* cleanup

* use ts from last message

* remove hardcorded size
old-commit-hash: eee3c8ee6007918d8a5ebf80ab236659a4738356
2023-03-28 13:25:13 -07:00
Dean Lee d2fcf6dbae cabana: improve video thumbnail (#27711)
old-commit-hash: a1fb8d248022e7c47010fe7a91d84f12adc12114
2023-03-28 13:24:54 -07:00
Dean Lee 640d68e3bc cabana: move dbc related files to dbc/ (#27712)
* move dbc related files to dbc/

* move generate_dbc_json.py to dbc/
old-commit-hash: 8903e03c8844df03783ae78d97e1294d0869ffea
2023-03-28 11:52:28 -07:00
Dean Lee ad5b489005 cabana: clear zoom stack after reset zoom (#27716)
old-commit-hash: 2f954a50e3b34b8a38878bf8dbd37e359c0c6d3f
2023-03-28 11:50:19 -07:00
Willem Melching cfa62044d6 cabana: go to previous zoom window (#27702)
* cabana: go to previous zoom level

* zoom undo on right click

* catch mousepress event on linux
old-commit-hash: e4348dc45d383c5ef0622b3bbf5dcd659081e5bb
2023-03-27 12:45:55 -07:00
Willem Melching e0ba3902df cabana: add support for multiple DBC files (#27435)
* split out dbc file logic into separate file

* emit dbc file changed

* change to list of dbc files

* handle missing DBC file

* dbcmanager emits signal

* close existing files before loading new one

* add placeholder open for bus menu

* implement open dbc for bus

* emit signals relevant for current dbc

* move logic into findDBC

* fix use after free

* show currently loaded names in load dialog

* enable/disable load save menus

* handle saving

* add save as to recents

* handle file already open

* do not assert

* fix return and throw on file open error

* fix test maybe

* remove todo

* typo

* fix new dbc

* fix loading fingerprint on macos

* handle replacing a currently open dbc

* fix reference and handle exception

* fix indendation
old-commit-hash: 4ab2131ec9e21d9784f2f423bd6b21c9914cd661
2023-03-27 10:29:44 -07:00
AlexandreSato e75c02e89c caban: fix typo (#27700)
old-commit-hash: 083f008d94a037174f27417c6e2d1698f7ee897f
2023-03-26 17:06:33 -07:00
Dean Lee 0899e5628a cabana: improve LogSlider (#27673)
* improve logslider

* fix code indentation
old-commit-hash: 583c4a031f433fb4b48c5dc0a522b71cdbd6f23c
2023-03-25 16:03:16 -07:00
Dean Lee 5f98b5c0fa cabana: update state after creating new signal (#27690)
old-commit-hash: 8bd4c0f5103d09ef90313ba4b6a55d51ff27744d
2023-03-25 15:39:21 -07:00
Dean Lee b70e95dcbb cabana: support qlogs (#27689)
old-commit-hash: 8150e4a4b864e266bac4a0f4cc95816424f0d463
2023-03-25 15:38:55 -07:00
Dean Lee ac56a33a2d cabana: fix high DPI issues in chart (#27694)
old-commit-hash: c77a0feab4e8474f73e47d7f111f3f41f0d68ff3
2023-03-25 15:38:41 -07:00
Dean Lee 66a7d0b8a3 cabana: enables user to select the zoom area when the mouse press on the data point (#27679)
zoom anywhere
old-commit-hash: 33afefd346e4348aacb122a486066741731b7d05
2023-03-24 21:54:41 -07:00
Dean Lee 6e7afd47ec cabana: clear the old timeline after opening a new route from menu (#27672)
old-commit-hash: 9c84af296c325f310bad23657bc35e725be45541
2023-03-24 11:01:26 -07:00
Dean Lee 9e0df8b2ed cabana: align signal value vcenter (#27675)
old-commit-hash: f08132475dc94214c6deda42add8bb4360220ea6
2023-03-24 11:01:03 -07:00
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