Commit Graph

1116 Commits

Author SHA1 Message Date
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
Dean Lee
b65fad9e8f cabana: keep scrollarea frame (#26056)
add frame back
2022-10-12 17:04:53 -07:00
Cameron Clough
8b5ebbddf6 build extras together (#26051)
* build extras together

* don't check here either
2022-10-12 15:14:02 -07:00
Dean Lee
0fa1588f6c Cabana: stable initial release (#26004)
* increase form size & fix wrong charts number

* set max axisy to 1.0 if no value

* show 'close' button in floating window

* alwasy show scroll bar

* complete the logs

* more

* increase size to 50

* keep logs for all messages

* more

* rename signal

* better height

* avoid flicker

* dont call setupdatesenabled

* filter dbc files bye typing

* remove all charts if dbc file changed

* fix wrong idx

* bolder dbc filename

* update chart if signal has been edited

* new signals signalAdded,signalUpdated

* split class Parser into CanMessages and DBCManager

* cleanup

* updateState after set message

* cleanup

* emit msgUpdated

* clear history log if selected range changed

* always update time

* change title layout

* show selected range

hide title bar if no charts

less space between title and chart

* custome historylogmodel for extreme fast update

* move historylog to seperate file

* 2 decimal

* cleanup

cleanup

* left click on the chart to set start time

* todo

* show tooltip for header item&cleanup binaryview

add hline to signal form

* better paint

* cleanup signals/slots

* better range if min==max

* set historylog's minheight to 300

* 3x faster,sortable message list.

* zero copy in queued connection

* proxymodel

* clear log if loop to the begin

* simplify history log

* remove icon

* remove assets

* hide linemarker on initialization

* rubber width may less than 0

* dont zoom char if selected range is too small

* cleanup messageslist

* don't zoom chart if selected range less than 500ms

* typo

* check boundary

* check msg_id

* capital first letter

* move history log out of scrollarea

* Show only one form at a time

* auto scroll to header

d

* reduce msg size
entire row clickable

rename filter_msgs
2022-10-12 13:55:17 -07:00
Kurt Nistelberger
54d667aa15 GPS test station first unittests (#25950)
* init gps test

* gps test v1

* add static signal gen script

* update readme

* remove LD_PRELOAD by using rpath, update values after testing

* remove LD_PRELOAD

* update fuzzy testing

* address comments

* cleanup

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-10-11 18:55:10 -07:00
wjxjmj
dbdb3a02a8 Add ip and port arguments to /tools/sim/bridge.py (#26011)
* Add ip and port arguments

* Add descriptions of ip and port arguments

* Update README.md

* Update README.md

* prefer host/port options

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-11 14:16:40 -07:00