Commit Graph

676 Commits

Author SHA1 Message Date
Dean Lee 2ed7ce2eed Cabana: confirm exit without saving (#26452)
* confirm exit without saving

* typo
old-commit-hash: e08896c45d84f4005de156317ae902d601e9b895
2022-11-10 12:57:52 -08:00
Dean Lee 26fb7d0db0 Cabana: remember last directory in open file dialog (#26449)
* remember last directory in open file dialog

* use QFileInfo
old-commit-hash: 122c0ec135804ac6a106f1e06f4cb3467fb13b1a
2022-11-10 10:37:52 -08:00
Dean Lee 5f80ca6359 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
old-commit-hash: 7c922eafe9d9c8e07de80f8bafcd9b2dc2932c13
2022-11-10 10:37:38 -08:00
Dean Lee e48e9b30f0 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
old-commit-hash: b320ac6c237eb0d31ab54227066e8ea6ba0f4dec
2022-11-09 22:05:18 -08:00
Dean Lee f3fb385a74 Cabana: support deleting message (#26418)
delete message
old-commit-hash: 59bf2fc0085420b13b7854d1a106c1706d7df265
2022-11-09 14:19:11 -08:00
Dean Lee ca2faafdb9 Cabana: add menu bar to main window (#26419)
* add menu bar

* show DBC name in title

* cleanup
old-commit-hash: fc872271ae73a0139be6b085b90467c2e8d83c66
2022-11-09 11:10:57 -08:00
Kurt Nistelberger 34adf259e8 CI: update qcom tests (#26404)
update qcom tests

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

* helper function msgName

* cleanup
old-commit-hash: 1cf293f3a6c02bb44af9ef1e715b005104de1bc1
2022-11-07 07:53:42 -08:00
Dean Lee b858a1c4a4 Cabana: use QToolBar to manage the controls in ChartsView (#26388)
use QToolBar
old-commit-hash: 45891c79079ae4404b8828d9bcfe5cd79bce0c90
2022-11-06 11:06:42 -08:00
Dean Lee 32ff5a5b1c Cabana: Reimplement HistoryLog::sizeHintForColumn to improve performance (#26393)
Reimplement sizeHintForColumn to improve performance
old-commit-hash: cdcc0fb3695d75e781053f9feda6b6b91a08ea86
2022-11-06 11:06:10 -08:00
Dean Lee 2a6edbea60 Cabana: move the chart title into graphics view (#26389)
remove class ChartWidget
old-commit-hash: 3dc5dbf103290355b85a146f213f733cbb1dfeb5
2022-11-06 11:05:46 -08:00
Dean Lee aa4d1816a5 Cabana: move dbc related code from MessagesWidget to MainWin (#26387)
* move dbc related code to mainwin

* trigger ci
old-commit-hash: 529504e201a4130bad7ff9ab712e01c1341ac349
2022-11-06 11:05:14 -08:00
Dean Lee 650a6a921c Cabana: fix wrong hardcoded column index (#26392)
fix wrong column count
old-commit-hash: ea5587d1d14e01b7a2aeae34f8abc73886699519
2022-11-06 11:03:57 -08:00
Dean Lee 1bc0166499 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
old-commit-hash: ac76cc93256578f24db255cefd10c013dd906c28
2022-11-05 16:52:16 -07:00
Kurt Nistelberger cd4b74e217 fix gps test runner
old-commit-hash: e23a25c3ae82e65b8adad47e799c588cc46bba0e
2022-11-04 21:54:06 -07:00
Dean Lee 5d965010be 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
old-commit-hash: 0e3edf7877e2a219ae67f7e71d36d8458d50f7e4
2022-11-04 11:16:15 -07:00
Dean Lee a76506d9ce Cabana: update viewport after mouse released (#26355)
update viewport after mouse released
old-commit-hash: 241d88c018d2acae4dbc71b5a033644959e2b24a
2022-11-03 20:09:14 -07:00
Dean Lee d81bd3f8ec Cabana: word wrap header (#26341)
* auto wrap header

* custom headerview
old-commit-hash: 70363e2491ea4150f85b44ff221d3318208581a9
2022-11-03 13:23:53 -07:00
Dean Lee 21960039ed Cabana: update line series concurrently (#26339)
update series concurrently
old-commit-hash: e4ec1d7c4cc65d2f91530776584807eb4b13e59e
2022-11-03 10:44:49 -07:00
Dean Lee 01b10ac864 Cabana: make whole DetailWidget scrollable (#26340)
old-commit-hash: b25e56925c2453464f554bfab57b38f9487a9844
2022-11-03 10:44:37 -07:00
Dean Lee 6b4c205836 Cabana: add y-axis padding (#26326)
add padding
old-commit-hash: e355d7383fbd1840f1d8f7e56cec3dba6f4f1d2a
2022-11-02 10:46:17 -07:00
Dean Lee 9b00da46da cabana: optimize chart update (#26327)
optimize update
old-commit-hash: 4c90bb8635d460c1a574f3ab3d7aa264179c197e
2022-11-02 10:45:54 -07:00
Shane Smiskol b3ac1c6fae PJ: add longitudinal layout (#26324)
longitudinal layout
old-commit-hash: e3188c0b1fb8bd02cf22a774fa70057424d3d8db
2022-11-02 02:10:11 -07:00
Dean Lee 1e30802b36 Cabana: fix update issues when the the replay is paused (#26311)
fix state not updated if replay is paused
old-commit-hash: 6ca6a26d4c12ab0813c8474eb1a9bed6f69374ee
2022-11-01 09:31:47 -07:00
Ricardo Nuno 9e033f6d7e sim: add docker kill to openpilot docker (#26310)
add docker kill to openpilot docker
old-commit-hash: d1cf31bced9609f43a518b2c07b0f440ecc2479a
2022-11-01 08:09:47 -07:00
Shane Smiskol 59a4ffbbae PJ: support internal cd:/ paths (#26302)
Update juggle.py
old-commit-hash: d07b7fd7a832832b7f1f167b5dc60a16778d2502
2022-10-31 18:37:43 -07:00
Dean Lee 6803215105 Cabana: fix mouse freezes / hangs (#26292)
* fix mouseReleaseEvent

* trigger ci
old-commit-hash: 3fc373b4e4829b03ddc363741006af0589d97588
2022-10-31 13:59:16 -07:00
Dean Lee 8eb6d54ede Cabana: get double precision from std::numeric_limits (#26293)
fix precision
old-commit-hash: 23f290941aa16742ba9d9477c4d98533aca15322
2022-10-31 09:51:41 -07:00
Dean Lee 7616df4a8e Cabana: update msg name after load dbc from paste (#26294)
update msg name after load dbc from paste
old-commit-hash: af685851af226041f349212a0344dd00f0c3dd6e
2022-10-31 09:50:27 -07:00
Dean Lee 93fd07a212 Cabana: fix possible crash when removing tabs (#26283)
fix dead loop
old-commit-hash: 6fed76695cbab39ffbaca2cd5e656e4c5a5badca
2022-10-30 08:53:02 -07:00
Dean Lee 37b0ba7535 Cabana: sync button state with chart (#26285)
sync button state with charts
old-commit-hash: 9c7e3759441f0dff1200f7946e77f06c6a101c26
2022-10-30 07:31:43 -07:00
Dean Lee 520d0d1af0 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
old-commit-hash: 80b088c332808439ea9cfe23557fae5a86fb075c
2022-10-30 07:31:12 -07:00
Adeeb Shihadeh c437efca6a cabana: fix settings titles
old-commit-hash: 5de54c35a9017454982c1deda973a8519968d854
2022-10-29 14:32:22 -07:00
Rohit Bernard bf27021719 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>
old-commit-hash: 9377448888c181674fdc1b1aa8c3bc485156d3d2
2022-10-29 13:20:37 -07:00
Dean Lee 881273fe19 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
old-commit-hash: 5aa0d211f075681e18395d0fd7dd73d8cc44573c
2022-10-29 12:01:08 -07:00
Dean Lee b061e768be Cabana: add tab context menu for 'close other tabs' (#26279)
close other tabs
old-commit-hash: a622e523b2251472aa59b80eee60cae9fcb1e024
2022-10-28 21:44:51 -07:00
Dean Lee bdadda4a0e Cabana: improve track line (#26231)
* improve track line

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

* cleanup

* cleanup
old-commit-hash: 8de9bbaa73ea94b966b1161fb630bf3cac72c764
2022-10-28 10:55:05 -07:00
Dean Lee 72f6a3b56d Cabana: change the chart theme in setting (#26220)
* change the chart theme in setting

* change title colors

* cleanup
old-commit-hash: ba570b963f18d96ac181882b1f4e1678b992f665
2022-10-27 14:48:40 -07:00
Dean Lee 491009e0fa Cabana: fix marker z-index (#26254)
old-commit-hash: d67965901895432375584d95103ee1afc14f5554
2022-10-27 13:59:52 -07:00
Dean Lee b32ca59ced Cabana: fix dbc opened twice on startup (#26265)
old-commit-hash: f04ca9ff3dc1af71a66c2d1d75364938e898ed10
2022-10-27 12:58:25 -07:00
Dean Lee 1f17340ef4 Cabana: set fixed height for statusbar (#26264)
old-commit-hash: 7c1bb03497f28ad7e014d7df7262f4cfcd2fc738
2022-10-27 12:57:22 -07:00
Dean Lee e63b53335d Cabana:: remove a fixed TODO (#26257)
remove a fixed TODO
old-commit-hash: 5e717c12f11151ca064c6829b75616c0776d0059
2022-10-26 22:14:26 -07:00
Kurt Nistelberger d492af3b34 finalize gps tests (#26255)
* finalize gps test before adding to ci

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 5b455f1d318939470b99ab81d2e20d247db2715d
2022-10-26 20:22:46 -07:00
Kurt Nistelberger 9c791ad9b2 Improve GPS tests, add qcom tests (#26060)
* first ignore

* init gps test

* make LimeGPS git clone

* gps test v1

* add static signal gen script

* remove LD_PRELOAD by using rpath, update values after testing

* cleanUp

* update fuzzy tests

* finalize qcom gps tests

* add downloader

* finalize unit tests

* inc limeGPS startup time

* loosen init time

* add ublox warmstart test

* improve location tests

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 9c9281458510f4e34ee5434138086075cf0c8838
2022-10-26 13:37:11 -07:00
Dean Lee a02e81b710 Cabana: limit X-axis range from settings (#26213)
* limit X-axis range from settings

* continue

* update range if events merged

* update line series by range

* cleanup removeChart

* cleanup updateAxisy
old-commit-hash: 728d96924924dd8d4e899ccaba0ed6bcc4a23417
2022-10-26 12:59:37 -07:00
Dean Lee d070420f00 Cabana: use QLineEdit for double value (#26247)
old-commit-hash: d549e1899dbc7f28e0f27db51d875b30caa12ab0
2022-10-26 12:59:16 -07:00
Adeeb Shihadeh e3ef65ab4a pj: update thermal layout + layout test (#26224)
old-commit-hash: bc7fc481d57cbdfb8c727a38ba5a32e856315df0
2022-10-25 11:33:02 -07:00
Dean Lee bd98b9b80c Cabana: display overlapping bits warning (#26219)
display overlapping bits warning
old-commit-hash: 87e0a5dd1a0f58ce119d652808df8888e85ced2a
2022-10-24 11:46:40 -07:00
Dean Lee bc7b437266 cabana: stable FPS (#26120)
* stable FPS

* fix
old-commit-hash: 686506f4003964e230550e100d6a841c2ff5d3ac
2022-10-24 11:46:07 -07:00
Dean Lee 1ff74d58b7 Cabana: Added ability to highlight and resize overlapped signals (#26210)
old-commit-hash: 20dced4edcbebfcf496800fb236f0d6f2be26665
2022-10-23 15:28:25 -07:00