Commit Graph

619 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
e293303d40 Revert "tools/replay: reduce test running time (#26110)"
This reverts commit 0dee43ab9bb8317441e69dca04d9d7d4f65f0fc9.

old-commit-hash: 755a6c0a46f07cdadb06821ced904af458fbf4e3
2022-10-17 19:15:21 -07:00
HaraldSchafer
f7b76d947a UI Onroad widget renames (#26124)
Consistent widget naming
old-commit-hash: baca1cae1f71c70162374c887cf36d5cf828f2f3
2022-10-17 18:18:01 -07:00
Dean Lee
d2d27243e4 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
old-commit-hash: 99b16151fcc621832d573b9f7858eb5020f6503a
2022-10-17 17:19:41 -07:00
Dean Lee
745f49b9e0 cabana: faster history log with better stretch mode (#26112)
old-commit-hash: 409e8f5f89a38f9893a1f28f8fabd3bf526b46eb
2022-10-17 17:18:24 -07:00
Dean Lee
8113e58e24 cabana: add a splitter between message lists and detailview (#26118)
* add a splitter between message lists and detailview

* space
old-commit-hash: cd12ef4aa19a83f88532f5c1a8c3f290b87fcbf8
2022-10-17 17:18:04 -07:00
Dean Lee
e78b3ceee9 Cabana: align the charts properly (#26116)
old-commit-hash: 60586e0d5835dbb3928321700c9d4d99cdeec216
2022-10-17 14:39:18 -07:00
Dean Lee
b44b9b989e tools/replay: reduce test running time (#26110)
old-commit-hash: 6d07268ee5b385010961eab206b0b42a0ae6b5f8
2022-10-17 10:39:07 -07:00
Dean Lee
775442d196 Cabana: add chart_height setting (#26066)
add chart_height setting
old-commit-hash: 93346c31d3728d27eaff56a3068690a47eac86ef
2022-10-17 10:20:27 -07:00
Dean Lee
5ff03b411e Cabana: click on video to play/pause (#26099)
old-commit-hash: d109dda720b502a94f914c1a29ffdea6d01fbc6f
2022-10-16 12:31:26 -07:00
Dean Lee
3d39cb1682 Cabana: load from high quality video by default (#26100)
old-commit-hash: d4f9343a2c1f5345dec07a93b25594b588cd9963
2022-10-16 12:30:23 -07:00
Dean Lee
4028909ae2 cabana: use monospace font for hex string (#26102)
specify monospace font for hex string
old-commit-hash: e3268d88c5226afaf5a300a775b8989bcff18b20
2022-10-16 08:24:34 -07:00
Dean Lee
1d1d7b0fb8 Cabana: complete edit functions (#26097)
complete forms
old-commit-hash: e25ea8529698053f4c1b915b7e014ebdc499e56a
2022-10-16 07:55:53 -07:00
Adeeb Shihadeh
837b2d53c3 cabana: misc touchups (#26092)
* fix time formatting

* disable vertical resize

* Update tools/cabana/videowidget.cc
old-commit-hash: bf5a6565c0f2d6791606ff906f6ddb4cba27fb18
2022-10-15 16:05:52 -07:00
Dean Lee
bf2c8ed41e Cabana: right click on the chart to reset zoom (#26088)
old-commit-hash: deac907cb44230f641fde5ca1ba22d7c5e236d90
2022-10-15 11:36:09 -07:00
Dean Lee
db061e0e7a Cabana: scrollable binary view (#26065)
old-commit-hash: a397418ef82957289779cbfbcf9cb138d9f2cd3f
2022-10-13 13:25:21 -07:00
Dean Lee
9e0fa02410 Cabana: display the (x,y) values while MouseMove on the chart (#26064)
old-commit-hash: cc6dd18cf0115458f28135b10e3d935ee4119e04
2022-10-13 13:24:55 -07:00
jp-solutionz
e769f4d11a 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>
old-commit-hash: 1d8fc4d21caf55368209b7bbafa34327962a6a97
2022-10-12 20:48:22 -07:00
Dean Lee
edb488ff41 cabana: increase replay's segment cache limit & add setting dialog (#26019)
* increase replay's segment cache limit

* todo

* add settings dialog

blank line

typo
old-commit-hash: b31932382d574b4db3c2b9b280d5410823adad1c
2022-10-12 19:31:26 -07:00
Dean Lee
9d1154ecb5 cabana: keep scrollarea frame (#26056)
add frame back
old-commit-hash: b65fad9e8f232167bcc0fc9139bd632c573abb60
2022-10-12 17:04:53 -07:00
Cameron Clough
e0a63d7041 build extras together (#26051)
* build extras together

* don't check here either
old-commit-hash: 8b5ebbddf684bc7566ae41447face9f2ab053d40
2022-10-12 15:14:02 -07:00