Commit Graph

621 Commits

Author SHA1 Message Date
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
Dean Lee
5d8840b6ee cabana: remove unused metatype (#26175)
remove unused metatype
2022-10-20 07:56:12 -07:00
Adeeb Shihadeh
334ee602f5 cabana: add usage to readme 2022-10-19 14:43:12 -07:00
Dean Lee
2ed51e3151 Cabana: load DBC from car fingerprint (#26158)
* auto load DBC from fingerprint

* generate json in scons
2022-10-19 14:18:28 -07:00
Dean Lee
bc2b247d71 Cabana: highlight signal on mouse over (#26157) 2022-10-19 11:04:08 -07:00
Dean Lee
d1495a9090 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
2022-10-19 08:07:01 -07:00
Dean Lee
1211ffbcf2 cabana: display a clear button in filter string edit box (#26152)
display clear button
2022-10-19 08:03:34 -07:00
Dean Lee
3fae3b3660 cabana: use monospaced font for hex in BinaryView (#26153)
use fixedfont
2022-10-19 08:03:14 -07:00
Dean Lee
a927d7b0ea Cabana: warn when DBC message length is wrong (#26154)
display warning if message size is incorrect
2022-10-19 08:02:47 -07:00
Dean Lee
a24e6616c2 Cabana: fix time column was being cutoff (#26156)
fix time column
2022-10-19 08:01:42 -07:00
Cameron Clough
9a8bd8c097 Revert "cabana: fix binary view for can-fd"
This reverts commit 98cac3578b.
2022-10-18 20:46:08 -07:00
Adeeb Shihadeh
98cac3578b cabana: fix binary view for can-fd 2022-10-18 18:40:47 -07:00
Dean Lee
855099eb86 cabana: display fingerprint and route on the top right (#26133) 2022-10-18 11:01:38 -07:00
Dean Lee
a121212386 cabana: fix background refresh issue (#26134) 2022-10-18 11:01:21 -07:00
Dean Lee
12058c21c7 cabana: load dbc from paste (#26098) 2022-10-17 21:44:56 -07:00
Dean Lee
544526edeb cabana: fix chart margins (#26125) 2022-10-17 21:00:36 -07:00
Dean Lee
b89b881bdc cabana: sort DBC list alphabetically (#26127) 2022-10-17 21:00:20 -07:00
Dean Lee
988fede185 cabana: reduce the padding in DetailsView (#26126) 2022-10-17 21:00:07 -07:00
Adeeb Shihadeh
755a6c0a46 Revert "tools/replay: reduce test running time (#26110)"
This reverts commit 6d07268ee5.
2022-10-17 19:15:21 -07:00
HaraldSchafer
baca1cae1f UI Onroad widget renames (#26124)
Consistent widget naming
2022-10-17 18:18:01 -07:00
Dean Lee
99b16151fc Cabana: show MSB/LSB of signals in the BinaryView (#26103)
* dispaly msb and lsb in binary view

* draw at bottom

* move binaryview to seperate files

* increase the width of vertical header

* re-draw changed cells only

* correct lsb/msb position

* check bounds

* todo
2022-10-17 17:19:41 -07:00
Dean Lee
409e8f5f89 cabana: faster history log with better stretch mode (#26112) 2022-10-17 17:18:24 -07:00
Dean Lee
cd12ef4aa1 cabana: add a splitter between message lists and detailview (#26118)
* add a splitter between message lists and detailview

* space
2022-10-17 17:18:04 -07:00
Dean Lee
60586e0d58 Cabana: align the charts properly (#26116) 2022-10-17 14:39:18 -07:00
Dean Lee
6d07268ee5 tools/replay: reduce test running time (#26110) 2022-10-17 10:39:07 -07:00
Dean Lee
93346c31d3 Cabana: add chart_height setting (#26066)
add chart_height setting
2022-10-17 10:20:27 -07:00
Dean Lee
d109dda720 Cabana: click on video to play/pause (#26099) 2022-10-16 12:31:26 -07:00
Dean Lee
d4f9343a2c Cabana: load from high quality video by default (#26100) 2022-10-16 12:30:23 -07:00
Dean Lee
e3268d88c5 cabana: use monospace font for hex string (#26102)
specify monospace font for hex string
2022-10-16 08:24:34 -07:00
Dean Lee
e25ea85296 Cabana: complete edit functions (#26097)
complete forms
2022-10-16 07:55:53 -07:00
Adeeb Shihadeh
bf5a6565c0 cabana: misc touchups (#26092)
* fix time formatting

* disable vertical resize

* Update tools/cabana/videowidget.cc
2022-10-15 16:05:52 -07:00
Dean Lee
deac907cb4 Cabana: right click on the chart to reset zoom (#26088) 2022-10-15 11:36:09 -07:00
Dean Lee
a397418ef8 Cabana: scrollable binary view (#26065) 2022-10-13 13:25:21 -07:00
Dean Lee
cc6dd18cf0 Cabana: display the (x,y) values while MouseMove on the chart (#26064) 2022-10-13 13:24:55 -07:00
jp-solutionz
1d8fc4d21c joystickd: add controller mapping (#25986)
* Correct default controller mapping.

Current config maps steering to right trigger (ABS_RZ) when using a default xinput controller: https://inputs.readthedocs.io/en/latest/user/hardwaresupport.html

This results in default full left steering angle (1) requiring right trigger to return to centre (0) or right (-1).

It appears the intended mapping for steering is right thumbstick (ABS_RX).

Cancel button is also non-existent on default xinput controller. May be X button (BTN_NORTH) or Right Trigger (ABS_RZ).

Tested on Xbox One Controller via USB Cable, Logitech F710 and GameSir T4 Pro.

* Update joystickd.py

Fixed comment

* gamepad configuration

* gamepad arg

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-12 20:48:22 -07:00
Dean Lee
b31932382d cabana: increase replay's segment cache limit & add setting dialog (#26019)
* increase replay's segment cache limit

* todo

* add settings dialog

blank line

typo
2022-10-12 19:31:26 -07:00