Commit Graph

686 Commits

Author SHA1 Message Date
Dean Lee
8e91ce1eb4 Cabana: Move history logs to a tabbed widget (#26481)
* tabwidget

* cleanup

* update state  before show

* cleanup

* remove spacing

* fix right panel stretch issue

* fix missing }
2022-11-14 19:09:19 -08:00
Dean Lee
ae40774425 Cabana: add test case for parsing can messages (#26495)
* add test case for parsing can messages

* require size equal

* cleanup
2022-11-14 10:13:16 -08:00
Dean Lee
29f24c7491 Cabana: Fix title overlapping on chart with long names (#26494)
fix title overlapping
2022-11-14 10:04:14 -08:00
Adeeb Shihadeh
102669a232 compressed vipc: fix client connect 2022-11-13 22:28:27 -08:00
Dean Lee
4ef941e954 Cabana: update detail view on change (#26476)
update on changed
2022-11-13 12:56:48 -08:00
Dean Lee
3d208567f3 Cabana: added color labels to signal list (#26485)
add color label
2022-11-13 12:56:26 -08:00
Dean Lee
f924e797b7 Cabana: remove bus time from can message (#26475)
remove bustime
2022-11-13 12:56:05 -08:00
Dean Lee
7b0f7312e5 Cabana: miscellaneous fixes (#26477)
* update pos after adjusted margins

* ts >=0

* output debug message to console

* fix freq&count incorrect after replay auto loop restart replay

* fix different height of play/pause

* delay posting CAN message if UI thread is busy

* >=

* clear undo stack after saving

* no space allowed in names

* const referer
2022-11-13 12:55:46 -08:00
Dean Lee
3c507e8ad7 Cabana: auto update signal on field changes (#26464)
* auto update signal on field changes

* better icon
2022-11-11 10:34:49 -08:00
Dean Lee
6cf9fff919 Cabana: fix segfault on exit (#26465)
fix segfault on exit
2022-11-11 10:34:25 -08:00
Dean Lee
e08896c45d Cabana: confirm exit without saving (#26452)
* confirm exit without saving

* typo
2022-11-10 12:57:52 -08:00
Dean Lee
122c0ec135 Cabana: remember last directory in open file dialog (#26449)
* remember last directory in open file dialog

* use QFileInfo
2022-11-10 10:37:52 -08:00
Dean Lee
7c922eafe9 Cabana: Added support for undo & redo (#26440)
* undo/redo

* display command list to rolling the state backwards or forward

* update detailview after rolling states

* add * to title bar to indicate dbc has changed

* fix signal pointer address changed after removed

* cleanup

* fix id error

* clear undo stack after dbc file changed

* cleanup

* use map

* cleanup

* typo
2022-11-10 10:37:38 -08:00
Dean Lee
b320ac6c23 Cabana: improve the BinaryView & fix known issues (#26409)
* fix flipping issue

* dragging up to create little endian signal

* transform between little & big endian

* complete selection functions

* scroll to top after msg updated

* remove empty line

* cleanup code

* remove extra semicolon

* fix indentation

* minmax

* dont select hex column

* create msg if not existed
2022-11-09 22:05:18 -08:00
Dean Lee
59bf2fc008 Cabana: support deleting message (#26418)
delete message
2022-11-09 14:19:11 -08:00
Dean Lee
fc872271ae Cabana: add menu bar to main window (#26419)
* add menu bar

* show DBC name in title

* cleanup
2022-11-09 11:10:57 -08:00
Kurt Nistelberger
1181efb288 CI: update qcom tests (#26404)
update qcom tests

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-11-08 14:01:07 -08:00
Dean Lee
1cf293f3a6 Cabana: improve message sorting,filtering and updating. (#26396)
* optimize sort/filter/update

* helper function msgName

* cleanup
2022-11-07 07:53:42 -08:00
Dean Lee
45891c7907 Cabana: use QToolBar to manage the controls in ChartsView (#26388)
use QToolBar
2022-11-06 11:06:42 -08:00
Dean Lee
cdcc0fb369 Cabana: Reimplement HistoryLog::sizeHintForColumn to improve performance (#26393)
Reimplement sizeHintForColumn to improve performance
2022-11-06 11:06:10 -08:00
Dean Lee
3dc5dbf103 Cabana: move the chart title into graphics view (#26389)
remove class ChartWidget
2022-11-06 11:05:46 -08:00
Dean Lee
529504e201 Cabana: move dbc related code from MessagesWidget to MainWin (#26387)
* move dbc related code to mainwin

* trigger ci
2022-11-06 11:05:14 -08:00
Dean Lee
ea5587d1d1 Cabana: fix wrong hardcoded column index (#26392)
fix wrong column count
2022-11-06 11:03:57 -08:00
Dean Lee
ac76cc9325 Cabana: cleanup code (#26369)
* remove ChartView::enterEvent

* cleanup ChartsWidget::removeAll

* group graphics items

* remove rubber->setPalette

* helper function DBCManager::parseId

* remove variable name from dbcManager

* fix readme/Usage

* use QSlider::setRange

* cleanup include

* use emplace_back

* remove varialbe routeName from CanMessages

* remove tmp variable

* remove blank line

* cleanup layout

* clean settings layout

* connect to streamStarted

* cleanup signal/slot
2022-11-05 16:52:16 -07:00
Kurt Nistelberger
e23a25c3ae fix gps test runner 2022-11-04 21:54:06 -07:00
Dean Lee
0e3edf7877 Cabana: fix signal list glitch (#26357)
* fix signal list glitch

* fix glitch when open new msg

* reduce spacing

* fix binaryview glitch

* spacing 3

* create form on demand

* dont close form after save

* remove timer

* remove sizepolicy

* cleanup
2022-11-04 11:16:15 -07:00
Dean Lee
241d88c018 Cabana: update viewport after mouse released (#26355)
update viewport after mouse released
2022-11-03 20:09:14 -07:00
Dean Lee
70363e2491 Cabana: word wrap header (#26341)
* auto wrap header

* custom headerview
2022-11-03 13:23:53 -07:00
Dean Lee
e4ec1d7c4c Cabana: update line series concurrently (#26339)
update series concurrently
2022-11-03 10:44:49 -07:00
Dean Lee
b25e56925c Cabana: make whole DetailWidget scrollable (#26340) 2022-11-03 10:44:37 -07:00
Dean Lee
e355d7383f Cabana: add y-axis padding (#26326)
add padding
2022-11-02 10:46:17 -07:00
Dean Lee
4c90bb8635 cabana: optimize chart update (#26327)
optimize update
2022-11-02 10:45:54 -07:00
Shane Smiskol
e3188c0b1f PJ: add longitudinal layout (#26324)
longitudinal layout
2022-11-02 02:10:11 -07:00
Dean Lee
6ca6a26d4c Cabana: fix update issues when the the replay is paused (#26311)
fix state not updated if replay is paused
2022-11-01 09:31:47 -07:00
Ricardo Nuno
d1cf31bced sim: add docker kill to openpilot docker (#26310)
add docker kill to openpilot docker
2022-11-01 08:09:47 -07:00
Shane Smiskol
d07b7fd7a8 PJ: support internal cd:/ paths (#26302)
Update juggle.py
2022-10-31 18:37:43 -07:00
Dean Lee
3fc373b4e4 Cabana: fix mouse freezes / hangs (#26292)
* fix mouseReleaseEvent

* trigger ci
2022-10-31 13:59:16 -07:00
Dean Lee
23f290941a Cabana: get double precision from std::numeric_limits (#26293)
fix precision
2022-10-31 09:51:41 -07:00
Dean Lee
af685851af Cabana: update msg name after load dbc from paste (#26294)
update msg name after load dbc from paste
2022-10-31 09:50:27 -07:00
Dean Lee
6fed76695c Cabana: fix possible crash when removing tabs (#26283)
fix dead loop
2022-10-30 08:53:02 -07:00
Dean Lee
9c7e375944 Cabana: sync button state with chart (#26285)
sync button state with charts
2022-10-30 07:31:43 -07:00
Dean Lee
80b088c332 Cabana: add save DBC dialog (#26282)
* export DBC to text edit

* added saveAs & Copy To Clipboard

* cleanup

* cleanup include

* add test case

* rename variable

* fix precision
2022-10-30 07:31:12 -07:00
Adeeb Shihadeh
5de54c35a9 cabana: fix settings titles 2022-10-29 14:32:22 -07:00
Rohit Bernard
9377448888 sim: Converting RGB frames to NV12 format in OpenCL (#26169)
* convert carla rgb frames to nv12

* code cleanup

* move kernel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-29 13:20:37 -07:00
Dean Lee
5aa0d211f0 Cabana: double click the title bar to move binview to a separate column (#26280)
* double click to move binview to seperate column

* cleanup

* double click frame

* continue

* rename signal

* add tooltip

* fix layout

* don't show last cell's  bottom line

* increase spliter handle size

* cleanup

* set resize mode to ResizeToContents

* add a split button

* cleanup layout&fix space

* cleanup

* remove hardcoded size

* cleanup
2022-10-29 12:01:08 -07:00
Dean Lee
a622e523b2 Cabana: add tab context menu for 'close other tabs' (#26279)
close other tabs
2022-10-28 21:44:51 -07:00
Dean Lee
8de9bbaa73 Cabana: improve track line (#26231)
* improve track line

* show text label on the left if reach the right edge

* cleanup

* cleanup
2022-10-28 10:55:05 -07:00
Dean Lee
ba570b963f Cabana: change the chart theme in setting (#26220)
* change the chart theme in setting

* change title colors

* cleanup
2022-10-27 14:48:40 -07:00
Dean Lee
d679659018 Cabana: fix marker z-index (#26254) 2022-10-27 13:59:52 -07:00
Dean Lee
f04ca9ff3d Cabana: fix dbc opened twice on startup (#26265) 2022-10-27 12:58:25 -07:00