Commit Graph

656 Commits

Author SHA1 Message Date
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
Dean Lee 7c1bb03497 Cabana: set fixed height for statusbar (#26264) 2022-10-27 12:57:22 -07:00
Dean Lee 5e717c12f1 Cabana:: remove a fixed TODO (#26257)
remove a fixed TODO
2022-10-26 22:14:26 -07:00
Kurt Nistelberger 5b455f1d31 finalize gps tests (#26255)
* finalize gps test before adding to ci

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-10-26 20:22:46 -07:00
Kurt Nistelberger 9c92814585 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>
2022-10-26 13:37:11 -07:00
Dean Lee 728d969249 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
2022-10-26 12:59:37 -07:00
Dean Lee d549e1899d Cabana: use QLineEdit for double value (#26247) 2022-10-26 12:59:16 -07:00
Adeeb Shihadeh bc7fc481d5 pj: update thermal layout + layout test (#26224) 2022-10-25 11:33:02 -07:00
Dean Lee 87e0a5dd1a Cabana: display overlapping bits warning (#26219)
display overlapping bits warning
2022-10-24 11:46:40 -07:00
Dean Lee 686506f400 cabana: stable FPS (#26120)
* stable FPS

* fix
2022-10-24 11:46:07 -07:00
Dean Lee 20dced4edc Cabana: Added ability to highlight and resize overlapped signals (#26210) 2022-10-23 15:28:25 -07:00
Oxygen 60b666fe3b Add #include <QFile> in cabana (#26208)
* Add #include <QFile>

* fix import order

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-23 15:25:50 -07:00
Dean Lee 062267f469 replay: reduce test running time (#26160) 2022-10-23 13:57:32 -07:00
Dean Lee 0844662f84 Cabana: use deque::resize() instead of pop_back in loop (#26209)
use resize instead of pop_front in loop
2022-10-23 13:39:38 -07:00
Dean Lee 64f89beb0d Cabana: delete all selected cells when shrinking signal (#26211) 2022-10-23 13:39:06 -07:00
Dean Lee 80c565d9fe 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>
2022-10-23 13:38:38 -07:00
Adeeb Shihadeh 8a0475bd3b cabana: fix BinaryView byte indices 2022-10-22 16:15:03 -07:00
Dean Lee e7e64be734 cabana: fix incorrect freq&counter (#26207)
fix wrong freq
2022-10-22 01:05:09 -07:00
HaraldSchafer a98d105cb9 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 4e310b80

* 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 c6b749fb96

* 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>
2022-10-21 16:23:56 -07:00
Dean Lee d75cbf2338 Cabana: fix segfault on exit (#26193)
fix segfault on exit
2022-10-21 10:33:13 -07:00
Dean Lee 22c5be5ec1 Cabana: fix segment fault in QApplication::notify(QObject*, QEvent*) () (#26194)
fix segment fault in  QApplication::notify(QObject*, QEvent*) ()
2022-10-21 10:33:00 -07:00
Dean Lee 8697e928fc Cabana: Fix unable to display charts for same signals from different buses. (#26191)
keep charts in list instead of hash
2022-10-21 08:31:28 -07:00
Dean Lee ae1d150941 Cabana: redirect qt logs to status bar (#26187)
Redirect qt logs to status bar
2022-10-21 08:01:55 -07:00
Dean Lee d0c0972ba4 Cabana: show frequency column in message table (#26189)
* show frequency column in message table

* add comments
2022-10-21 08:01:26 -07:00
Dean Lee 931cecf41a Canaba: remove unused metatype in canmessage (#26190)
remove metatype
2022-10-21 08:00:49 -07:00
Dean Lee 02a0a1c201 Cabana: add status bar to main window (#26159) 2022-10-20 13:37:27 -07:00
Dean Lee d6a0f1c25a 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
2022-10-20 13:09:49 -07:00
Dean Lee 85d39ec34e Cabana: dynamic sorting message list (#26150) 2022-10-20 11:23:27 -07:00
Dean Lee 4bf86742e6 Cabana: move settings to seperate files (#26173) 2022-10-20 11:22:09 -07:00
Dean Lee 998d18783d Cabana: multiple tabs detail view (#26174) 2022-10-20 11:21:22 -07:00
Dean Lee b2b27ff7ee cabana: improve signal highlight on hover (#26161)
* just change font color

* merge master
2022-10-20 07:56:28 -07:00