Commit Graph

1521 Commits

Author SHA1 Message Date
Dean Lee
74db5a4b42 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
2023-03-17 10:16:14 -07:00
Harald Schäfer
38cb42f76a LaikaD new cache version (#27596) 2023-03-15 20:26:19 -07:00
Dean Lee
f00c108acb cabana: eliminate deep copy of events in live stream mode (#27588) 2023-03-15 10:54:22 -07:00
Dean Lee
696cbb3e24 cabana: fix incorrect current ts in live stream mode (#27578) 2023-03-14 11:31:57 -07:00
Willem Melching
0afd3bab34 cabana: DBCManager only expose methods/signals through MessageId (#27540) 2023-03-14 11:31:04 -07:00
Willem Melching
b591b0c764 cabana: show signal values with consistent number of digits (#27556) 2023-03-14 11:29:00 -07:00
Dean Lee
d09a9a08fc cabana: fix hang on scrubbing in zommed chart (#27568) 2023-03-13 10:25:16 -07:00
Willem Melching
fc44ed63d7 cabana: extend max chart range to 30 minutes (#27555) 2023-03-11 12:47:53 -08:00
Dean Lee
dc31c50aa7 cabana: split events into chunks and processed concurrently (#27562) 2023-03-11 12:47:34 -08:00
Willem Melching
0fb8e97480 cabana: use ID as NEW_MSG_ suffix (#27554)
* cabana: use ID as NEW_MSG_ suffix

* start suffix at _1
2023-03-10 13:29:11 -08:00
Willem Melching
ee615a3077 cabana: create autosave file when there are unsaved changes (#27542) 2023-03-10 11:21:34 -08:00
Willem Melching
c32a45b5b5 cabana: autocomplete signal names (#27553) 2023-03-10 11:20:59 -08:00
Willem Melching
e4d591ecbf cabana: refactor Msg and Signal into dbc.cc (#27552) 2023-03-10 11:19:37 -08:00
Willem Melching
5b3a72267c cabana: fix changing message size (#27544)
* cabana: fix changing message size

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

* not while live streaming
2023-03-09 13:14:06 -08:00
Dean Lee
b5d29b550c cabana: get icon size from QStyle::PM_SmallIconSize (#27548) 2023-03-09 13:13:46 -08:00
Dean Lee
9b28897f09 replay: fix incorrect format string in seekTo (#27547) 2023-03-09 13:13:29 -08:00
Adeeb Shihadeh
94eb215980 loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
Adeeb Shihadeh
6f40f0d442 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
2023-03-08 10:56:54 -08:00
Dean Lee
ddcafeb7dc cabana: improve the performance of updating TreeView in real-time. (#27517) 2023-03-07 10:08:33 -08:00
Dean Lee
c2018d6bf2 cabana: use a segment tree to solve range queries in O(log n) time complexity (#27498) 2023-03-05 16:03:44 -08:00
Dean Lee
2de085d39d cabana: faster copy events (#27499) 2023-03-05 15:55:22 -08:00
Dean Lee
6c4320559a replay: fixed the status is always "loading" if there is no carState in events (#27481) 2023-03-02 22:30:12 -08:00
Dean Lee
afc24f08d6 cabana: fix wrong tooltip (#27480) 2023-03-01 21:54:07 -08:00
Dean Lee
85a37d276c cabana: recalc y-axis label width after unit change (#27466)
recalc width
2023-02-28 23:41:28 -08:00
Dean Lee
8d317ef51c cabana: press F11 to toggle fullscreen (#27455) 2023-02-28 15:50:30 -08:00
Dean Lee
ce3e9d5649 cabana: fix gaps in step line between chunks (#27447) 2023-02-27 15:51:23 -08:00
Dean Lee
78116029d3 cabana: replace hardcoded margins, colors, spacing with values from style. (#27449)
replace hardcoded margins, colors, spacing

improve performance of MessageBytesDelegate
2023-02-25 14:27:18 -08:00
Dean Lee
608ac253df cabana: right align signal values & fixed text overflow (#27444)
right align the signal values
2023-02-23 20:02:46 -08:00
Dean Lee
dc4ebeb29c 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
2023-02-23 10:45:59 -08:00
Willem Melching
a5644faa3f cabana: show units (#27433)
* show units on chart y axis

* show in signal list

* show in historyview

* use clear()
2023-02-23 10:45:13 -08:00
Willem Melching
4e0a3aa0d5 cabana: show bus in own column (#27434) 2023-02-23 10:44:53 -08:00
Dean Lee
c1be6d945b cabana: dispaly current FPS & cached minitues on statusbar (#27430)
dispaly current FPS & cached minitues on statusbar
2023-02-22 20:44:33 -08:00
Kurt Nistelberger
6b4ac801e7 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>
2023-02-22 14:11:04 -08:00
Dean Lee
e0a6074d00 cabana: remove setUpdatesEnabled and setLabelFormat after updateAxisY (#27421) 2023-02-22 11:45:05 -08:00
Dean Lee
58cd96536b cabana: small improvements to SignalView (#27419) 2023-02-22 11:44:53 -08:00
Dean Lee
4efd246bac 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
2023-02-20 14:16:30 -08:00
Dean Lee
10ed70d952 cabana: show command's text in statusbar (#27398) 2023-02-20 13:52:16 -08:00
ntegan1
1f89afd140 cabana: missing includes (#27390) 2023-02-20 13:31:30 -08:00
Shane Smiskol
c7cc36d9ee 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
2023-02-20 13:15:59 -08:00
Dean Lee
8e3cb0fb20 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
2023-02-19 15:14:13 -08:00
Shane Smiskol
8d9f99b835 cabana: add space to help message (#27384)
add space
2023-02-18 21:48:13 -08:00
Dean Lee
ac0dbf74bc 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
2023-02-17 19:31:54 -08:00
Dean Lee
2c5e55ccdc cabana: attach messageid to tabdata (#27368) 2023-02-17 10:53:47 -08:00
Dean Lee
524f7079a9 cabana: add description for timeline color in help (#27375) 2023-02-17 10:35:50 -08:00
Dean Lee
37adf5d3a6 cabana: simplify conversions between QVariant and QVector<QColor> (#27367) 2023-02-16 18:53:12 -08:00
grekiki
202eb06a05 Carla simulator: set driver orientation (#27363) 2023-02-16 14:51:25 -08:00
Dean Lee
2510f78126 cabana: add online-help (#27349)
* add online helps

* typo

* remove duplicate 'too'

* show idle message:For Help, Press F1

* improve drawHelp

* fix color desc
2023-02-16 14:47:36 -08:00
Willem Melching
8772306467 cabana: fix events() call in AbstractStream::updateLastMsgsTo (#27360) 2023-02-16 10:34:42 -08:00
Willem Melching
e6c02027d3 cabana: fix updating tabbar_ids on "Close Other Tabs" (#27362) 2023-02-16 10:34:18 -08:00