Commit Graph

639 Commits

Author SHA1 Message Date
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
Oxygen 4c6c8f4e99 Add #include <QFile> in cabana (#26208)
* Add #include <QFile>

* fix import order

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 60b666fe3b24495b8a6c51dc016988049803bc2d
2022-10-23 15:25:50 -07:00
Dean Lee 5b093b2da3 replay: reduce test running time (#26160)
old-commit-hash: 062267f4696c304b6ed0824a3b1046fecdd07e04
2022-10-23 13:57:32 -07:00
Dean Lee 426eb2fc67 Cabana: use deque::resize() instead of pop_back in loop (#26209)
use resize instead of pop_front in loop
old-commit-hash: 0844662f845130bb536d7c8cad093fffbdefd761
2022-10-23 13:39:38 -07:00
Dean Lee ba08a4d2ac Cabana: delete all selected cells when shrinking signal (#26211)
old-commit-hash: 64f89beb0d8d594e10876b2df11cfdba42b8c2c1
2022-10-23 13:39:06 -07:00
Dean Lee 9f47b3b517 Cabana: no popup when adding a new signal. (#26155)
* merge master

* GM: make loopback updated check more explicit

This previously checked if parser_pyx filled the defaultdict, now it checks the values in the list (same either way)

* merge master

* continue

* continue

* check for duplicate name

* check duplicate signal name in saveSignal

* check signal size

* size*8

* cleanup

* check size after push_back

* install qlog handler at end

* remove todo

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 80c565d9fe9b10a05e34ae867f7711389ae240d1
2022-10-23 13:38:38 -07:00
Adeeb Shihadeh 327e092a5a cabana: fix BinaryView byte indices
old-commit-hash: 8a0475bd3bc4c86777be234d393a4e80da1a5fcd
2022-10-22 16:15:03 -07:00
Dean Lee dbe9b6fe02 cabana: fix incorrect freq&counter (#26207)
fix wrong freq
old-commit-hash: e7e64be734899fa2cd8f3a2fe178c1aa958dd258
2022-10-22 01:05:09 -07:00
HaraldSchafer 3ca9b7f02e Pipenv -> poetry (#24858)
* Try poetry

* Remove casadi for now

* Update docker

* Copy pipfiles

* add casadi back

* Too many slashes

* New poetry api

* Install system

* Try again

* No more pipenv

* new dependencies

* updates

* poetry 1.2.1, install dev dependencies

* keep install pipenv for xx for now?

* add pre-commit checks for poetry

* poetry lock is too slow

* update pip

* migrate to poetry groups

* update lockfile

* don't need to specify dev group unless it is made optional

* always install poetry

* set POETRY_VIRTUALENVS_CREATE instead, and use pipenv for xx

* use env for docs docker image

* alphabetical

* poetry 1.2.2

* add dev dependencies for typing

added in aacf6ae3

* remove constraint

* fix PIPENV_SYSTEM

* remove constraint

* don't need this here

* bump

* bump pipenv

adds support for installing local pyprojects (can add openpilot as dependency of xx)

* README improvements

* probably not necessary

* bump pip

* maybe not necessary?

* revert

* don't install openpilot itself into the virtual env

* remove PySide2 and shiboken2

reverts 3e41c775cbf670740ac648a8614d2d6b433312fe

* remove Pipenv, add xx dependencies, sync system python

* add pipenv as xx dep

* semver package constraints, use old lockfile versions

* fix casadi

* remove whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* disable poetry cache

* cleanup

* prefer config file

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a98d105cb95a445f5ec69e783585c56604b09449
2022-10-21 16:23:56 -07:00
Dean Lee 2aaefc5744 Cabana: fix segfault on exit (#26193)
fix segfault on exit
old-commit-hash: d75cbf2338f098a9c2143c94a9db8ddce68699b4
2022-10-21 10:33:13 -07:00
Dean Lee 8048aa1177 Cabana: fix segment fault in QApplication::notify(QObject*, QEvent*) () (#26194)
fix segment fault in  QApplication::notify(QObject*, QEvent*) ()
old-commit-hash: 22c5be5ec12f1e94eb56092d123257ca46132124
2022-10-21 10:33:00 -07:00
Dean Lee 2a6099a2c1 Cabana: Fix unable to display charts for same signals from different buses. (#26191)
keep charts in list instead of hash
old-commit-hash: 8697e928fc23dc256c746c1561095e36d86cb964
2022-10-21 08:31:28 -07:00
Dean Lee 5603f8694c Cabana: redirect qt logs to status bar (#26187)
Redirect qt logs to status bar
old-commit-hash: ae1d15094169b5cad2921e5320bc53ce3bcb6b96
2022-10-21 08:01:55 -07:00
Dean Lee c5d196babf Cabana: show frequency column in message table (#26189)
* show frequency column in message table

* add comments
old-commit-hash: d0c0972ba44e72f4875ed4f3c6fc3b25fd862b99
2022-10-21 08:01:26 -07:00
Dean Lee 0a464ae04e Canaba: remove unused metatype in canmessage (#26190)
remove metatype
old-commit-hash: 931cecf41a5546c0cfd96138f954fa20b8e75d1d
2022-10-21 08:00:49 -07:00
Dean Lee 9cf0785628 Cabana: add status bar to main window (#26159)
old-commit-hash: 02a0a1c201e2c203e79669fd927b38768ef645b7
2022-10-20 13:37:27 -07:00
Dean Lee 8e68208690 Cabana: drag to adjust signal size (#26172)
* drag to adjust signal size

* rename

* override setSelection

* use signal color as selection color while resing

* helper funtion

* hide tooltip if not in signal

* cleanup

* cabana: remove unused metatype (#26175)

remove unused metatype

* cabana: improve signal highlight on hover (#26161)

* just change font color

* merge master

* cleanup
old-commit-hash: d6a0f1c25a44ad5629f491bb0066999eb0a9d357
2022-10-20 13:09:49 -07:00
Dean Lee daa35e27c0 Cabana: dynamic sorting message list (#26150)
old-commit-hash: 85d39ec34ef80ab292eae0ac18600037f7903e44
2022-10-20 11:23:27 -07:00
Dean Lee f47ef137ea Cabana: move settings to seperate files (#26173)
old-commit-hash: 4bf86742e64bbfb826540fbd263c0e250349f49a
2022-10-20 11:22:09 -07:00
Dean Lee decc08073f Cabana: multiple tabs detail view (#26174)
old-commit-hash: 998d18783dee2c0d17acd7c5f0ebf82d5ac42d19
2022-10-20 11:21:22 -07:00
Dean Lee f3b226bf81 cabana: improve signal highlight on hover (#26161)
* just change font color

* merge master
old-commit-hash: b2b27ff7ee00da4b1bffa7bbe95462303b835024
2022-10-20 07:56:28 -07:00
Dean Lee 12cbb06d73 cabana: remove unused metatype (#26175)
remove unused metatype
old-commit-hash: 5d8840b6ee2302def37b2e6cd8b4c826127fc0f4
2022-10-20 07:56:12 -07:00
Adeeb Shihadeh f72219ed1d cabana: add usage to readme
old-commit-hash: 334ee602f53b7645baba41610051c807ffe5bebb
2022-10-19 14:43:12 -07:00
Dean Lee 03aefed64a Cabana: load DBC from car fingerprint (#26158)
* auto load DBC from fingerprint

* generate json in scons
old-commit-hash: 2ed51e31517e1e1948833cfcf8d2c83471b1e1be
2022-10-19 14:18:28 -07:00
Dean Lee 6a688db10e Cabana: highlight signal on mouse over (#26157)
old-commit-hash: bc2b247d7116e8c5962e6767732be61846dd6f47
2022-10-19 11:04:08 -07:00
Dean Lee ebcfecc2e1 Cabana: add dialog to find and locate signal values (#26131)
* add dialog to find signals

* dont close dlg after goto

* limit number

* cleanup

* merge master
old-commit-hash: d1495a90903ea3a29f2987af6de996dfbd9ab9ff
2022-10-19 08:07:01 -07:00
Dean Lee 1915c6f271 cabana: display a clear button in filter string edit box (#26152)
display clear button
old-commit-hash: 1211ffbcf22800049682244727984a596395c217
2022-10-19 08:03:34 -07:00
Dean Lee b2939b5fd2 cabana: use monospaced font for hex in BinaryView (#26153)
use fixedfont
old-commit-hash: 3fae3b366087c20621624de8b4f3e00da4de987b
2022-10-19 08:03:14 -07:00
Dean Lee c62b6478a0 Cabana: warn when DBC message length is wrong (#26154)
display warning if message size is incorrect
old-commit-hash: a927d7b0ea25d1fde6a121888f8abd34e2fef867
2022-10-19 08:02:47 -07:00
Dean Lee fc4d06777c Cabana: fix time column was being cutoff (#26156)
fix time column
old-commit-hash: a24e6616c2f701896328c7cba5e6e8e76b42de1e
2022-10-19 08:01:42 -07:00
Cameron Clough 95d36f02ae Revert "cabana: fix binary view for can-fd"
This reverts commit 245f706821382e47367c6379fb0462d21d686304.

old-commit-hash: 9a8bd8c0975673a2831ca8af7629d22063b5f8fa
2022-10-18 20:46:08 -07:00
Adeeb Shihadeh 55801ff8ae cabana: fix binary view for can-fd
old-commit-hash: 98cac3578b2d0d2e4db283a728f647bc71825bfb
2022-10-18 18:40:47 -07:00
Dean Lee 2c5cfcedf5 cabana: display fingerprint and route on the top right (#26133)
old-commit-hash: 855099eb86938d683bb58868697c038b7b7ac650
2022-10-18 11:01:38 -07:00
Dean Lee 60dc4f97c0 cabana: fix background refresh issue (#26134)
old-commit-hash: a121212386c94ea5cc93de68b49971ff4e9d5674
2022-10-18 11:01:21 -07:00
Dean Lee e0f105f628 cabana: load dbc from paste (#26098)
old-commit-hash: 12058c21c73c7777e260334827b30f4d24c8313d
2022-10-17 21:44:56 -07:00
Dean Lee adf0f69254 cabana: fix chart margins (#26125)
old-commit-hash: 544526edeb343d4b6f9c7c6f2521659c34d37012
2022-10-17 21:00:36 -07:00
Dean Lee eaaa53c050 cabana: sort DBC list alphabetically (#26127)
old-commit-hash: b89b881bdccb0fb844c597e9d26b64d36ba4af99
2022-10-17 21:00:20 -07:00
Dean Lee 338225d7f4 cabana: reduce the padding in DetailsView (#26126)
old-commit-hash: 988fede1858486ec0679f208540a88533e9296e3
2022-10-17 21:00:07 -07:00