Commit Graph

762 Commits

Author SHA1 Message Date
Dean Lee
e982122f90 cabana: add a combobox to switch between signal and raw hex value (#26974)
* switch between hex&signal value

* sync display mode between view & model
old-commit-hash: 164880524a
2023-01-16 11:21:15 -08:00
Willem Melching
2c22914bf8 cabana: MacOS fixes (#26973)
* make qtcharts a framework

* cabana: dfisable openpilot prefix on macos

* cabana: disable opengl on charts

* fix linux build

* no newline

* add comments
old-commit-hash: 5cc192be4d
2023-01-15 22:13:16 -08:00
Dean Lee
c59ee39caa cabana: support drag and drop to merge charts (#26968)
old-commit-hash: 58bd024089
2023-01-15 12:52:11 -08:00
Dean Lee
27da08947f Cabana: save signal on editingFinished (#26940)
save signal on editingFinished
old-commit-hash: c1b9c3d3d1
2023-01-13 11:40:34 -08:00
Dean Lee
f6f6feb922 cabana: use Qt::Window flag for FindSimilarBitsDlg (#26938)
use Qt::Window flag for FindSimilarBitsDlg
old-commit-hash: aaed353778
2023-01-13 11:33:03 -08:00
Dean Lee
270893d562 cabana: double click on an item in FindSimilarBitsDlg to open the message in detailView (#26930)
* double click to open message

* remove qDebug
old-commit-hash: 53ec07edbd
2023-01-12 13:39:51 -08:00
Dean Lee
d6ec5da14e cabana: filtering in both address and msg name (#26929)
search in address and name

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 66d0d4c7d7
2023-01-12 13:27:46 -08:00
Dean Lee
84b6e18b53 cabana: fix chart glitches (#26928)
old-commit-hash: 97b931a12a
2023-01-12 11:27:20 -08:00
Dean Lee
16d5526839 cabana: fix find similar bits (#26918)
* dynamic find bit

* change

* Revert "change"

This reverts commit 12cf513e2725a52ee40b8999521adcd6ecb00221.

* change sorting and headers

* make perc a float

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f3fa4d759d
2023-01-11 21:21:11 -08:00
Dean Lee
1a5867b973 cabana: sync play button state (#26917)
sync play button
old-commit-hash: 9884957e3e
2023-01-11 15:32:13 -08:00
Dean Lee
a6d27b050e replay: sync vision buffer (#26904)
old-commit-hash: a421c9464e
2023-01-09 13:48:04 -08:00
Willem Melching
4f25dc66dc MacOS: homebrew arm-none-eabi-gcc works again (#26903)
Revert "Fix gcc-arm-embedded for m1 mac (#24515)"

This reverts commit fd1cd108bd724e49e281a487c4089f85b3dc12b1.
old-commit-hash: 19a15eeb53
2023-01-09 10:30:30 -08:00
Dean Lee
3b3783a1f8 replay: remove need for fake dongle id (#26899)
old-commit-hash: 2204a7153f
2023-01-08 15:51:08 -08:00
Dean Lee
eb3429c5fb replay: show absolute time (#26869)
old-commit-hash: 2c7df6efc8
2023-01-07 11:07:30 -08:00
Dean Lee
4d9eb133db replay: add option --prefix to set OPENPILOT_PREFIX (#26862)
old-commit-hash: 88fd2ea84f
2023-01-02 13:31:08 -08:00
Dean Lee
439549724f replay: only keep one init_data in merged events (#26863)
don't merge init_data
old-commit-hash: b5a2dfa93e
2023-01-02 11:57:51 -08:00
Adeeb Shihadeh
b3e47c691b move all third party stuff into third_party/ (#26853)
* mv fastcluster

* move msm_kgsl.h

* camerad include

* update path

* mv pyextra

* fix tici build

* add acados_template to release build

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd8e03d53e
2022-12-31 21:00:50 -08:00
Dean Lee
371ac89f84 Cabana: add dynamic/static mode to logs view (#26832)
old-commit-hash: e018098571
2022-12-30 13:57:29 -08:00
Dean Lee
d37a669449 Cabana: double click on logs cell to open the chart (#26833)
old-commit-hash: ab797588f8
2022-12-28 18:22:04 -08:00
Dean Lee
7f783e79d5 Cabana: make all panels dockable into each other (#26838)
old-commit-hash: 7ae8792386
2022-12-28 18:21:06 -08:00
Dean Lee
6ccaa89961 Cabana: add tool to find similar bits (#26834)
* find similar bits

* set window title
old-commit-hash: 65509669b6
2022-12-28 16:51:02 -08:00
Dean Lee
b6cece6abe cabana: align y axis correctly (#26837)
old-commit-hash: f15a5c9ad6
2022-12-28 16:47:49 -08:00
Hamid Ebadi
1ba96c78a8 carla sim: fix accelerometer sensor data (#26794)
old-commit-hash: 49ae806534
2022-12-20 13:45:06 -08:00
Samer Khatib
1b9975df91 Added unofficial support for Ubuntu 22.10 in ubuntu_setup.sh (#26828)
* Added unofficial support for Ubuntu 22.10 in ubuntu_setup.sh

Added a conditional to check if $UBUNTU_CODENAME is equal to "kinetic" in ubuntu_setup.sh. Installs the same packages as Ubuntu 22.04 LTS Jammy Jellyfish.

* Attempt #2 at adding unofficial support for Ubuntu 22.10 in ubuntu_setup.sh

Still checks to see if $UBUNTU_CODENAME is equal to "kinetic" I just fixed some errors that were appearing beforehand

* Update tools/ubuntu_setup.sh

* Update tools/ubuntu_setup.sh

* Update tools/ubuntu_setup.sh

* Update tools/ubuntu_setup.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 777dc9dcd2
2022-12-20 13:44:33 -08:00
Dean Lee
a3a052b828 Cabana: improve DBC file selector (#26787)
old-commit-hash: 68272449e1
2022-12-13 20:25:50 -08:00
Dean Lee
18689809fa Cabana: add auto completion for Msg selector (#26788)
old-commit-hash: ffb709e6a6
2022-12-13 20:25:29 -08:00
Dean Lee
af496ad60f Replay: add option -c to set segment cache size (#26782)
add option to set cache size
old-commit-hash: 6431f79fd2
2022-12-13 00:20:51 -08:00
Dean Lee
4fc1724609 Cabana: warn and exit if no rlogs in route (#26784)
warn and exit if no rlogs in route
old-commit-hash: 322dec1ec8
2022-12-13 00:19:04 -08:00
Dean Lee
82761359a3 Cabana: add not equal (!=) filter (#26780)
add not equal filter
old-commit-hash: 1e596f964c
2022-12-12 23:04:36 -08:00
Dean Lee
62dbfd8fd6 Cabana: add signal value filters to the logs view (#26779)
add filter to logs view
old-commit-hash: cecef89124
2022-12-12 22:31:36 -08:00
Dean Lee
79170305dc Cabana: display all logs in log view (#26659)
* fetch more

* clear log in showevent

* fix wrong time value

* check list size

* fix canmessages::process

* cache all events

* improve segment cache

* cleanup
old-commit-hash: f49520db0f
2022-12-12 14:47:45 -08:00
Dean Lee
725e0665df common: add new class OpenPilotPrefix (#26753)
* new class OpenPilotPrefix

* move random_string to util

* rename file

* style

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d8254e959
2022-12-12 14:47:27 -08:00
Dean Lee
1072246cf0 Replay: fix possible segfault on exit (#26768)
old-commit-hash: 881c15c2a6
2022-12-12 10:25:49 -08:00
Dean Lee
b4a98b8740 Cabana: fix "show plot" button state sync issue (#26769)
old-commit-hash: fd91ab6469
2022-12-12 10:25:23 -08:00
Dean Lee
443e49b659 Cabana: use opengl to draw the line series. (#26761)
old-commit-hash: 4e3598c9f6
2022-12-11 15:00:58 -08:00
Dean Lee
3acdabe2c2 Cabana: add button to display all cached data in chart (#26575)
* display all data btn

* remove timer

* update toolbar later

* dont update axis y in updateSeries

faster get_raw_value

* faster update

* optimize zoom y axis

* cleanup

* revert changes to get_raw_value

* updateState in eventsMerge

* cleanup:

* cleanup
old-commit-hash: 9ffb7a7518
2022-12-10 13:21:23 -08:00
Dean Lee
426d6988c7 Cabana: increase cell height of BinaryView and cleanup code (#26754)
* setDefaultSectionSize

* cleanup
old-commit-hash: 4b7b257fdc
2022-12-10 13:09:07 -08:00
Shane Smiskol
8c4d019e7e cleanup: deprecate lqrState field (#26745)
* first commit

* clean up

* bump cereal

* revert angle controller

* revert

* clean up

* revert

* bump

* bumptomaster
old-commit-hash: df6bd0f392
2022-12-09 18:43:45 -08:00
Dean Lee
e88e88555d Cabana: fix header word wrap issue (#26737)
old-commit-hash: 767261e61c
2022-12-09 10:42:43 -08:00
Dean Lee
161b2a8902 Cabana: fix the binaryview is not updated correctly (#26731)
old-commit-hash: 6bea668e35
2022-12-08 11:54:22 -08:00
Dean Lee
2d49d819d3 Cabana: add --ecam flag to dispaly the wide road camera (#26727)
old-commit-hash: 7006230e08
2022-12-08 11:19:57 -08:00
Dean Lee
1d583fa497 Cabana: fix build error on mac (#26730)
fix build error on mac
old-commit-hash: cf67ae6ac1
2022-12-08 11:18:52 -08:00
Dean Lee
773024cc93 Cabana: support multiple instances (#26286)
* multiple instance

* new file qtuitl.h

* Revert "new file qtuitl.h"

This reverts commit 19ef28945e8647724bbfc6c8469a664a58c09f16.
old-commit-hash: 57ad0c9458
2022-12-06 21:17:37 -08:00
Dean Lee
0fe9bffc43 Cabana: show welcome widget if no msg selected (#26703)
* show a blank widget if no msg selected

* smaller font

* rename to WelcomeWidget
old-commit-hash: e598438a97
2022-12-05 15:30:43 -08:00
Dean Lee
ae59b2075a Cabana: display dash instead of zero if no data (#26686)
display dash instead of zero if no data
old-commit-hash: 4d74e44ae1
2022-12-05 15:12:36 -08:00
Dean Lee
09a84a3604 Replay: remove wrong text in TIME (#26692)
remove wrong time string
old-commit-hash: b513b83221
2022-12-04 11:30:31 -08:00
Dean Lee
93b43cad3e Cabana: show video thumbnail over slider (#26689)
* show thumbnail

* copy segments vector

* cleanup

cleanup mouseMoveEvent

cleanup include

* move lambda to memeber function

* reduce lock time

* private functions

* split to small functions
old-commit-hash: f6496ce670
2022-12-04 11:28:54 -08:00
Dean Lee
7f578f13bb Replay: fix SEGFAULT in buildTimeline if segments are not continuous. (#26691)
fix segfault in buildtimeline
old-commit-hash: 0ff703d82f
2022-12-04 11:28:40 -08:00
Dean Lee
78c649c60a Cabanba: new dialog to manage chart series (#26675)
* New dialog to manage chart series

* connect to signal currentIndexChanged

* cleanup

use cbegin/cend
old-commit-hash: 59ed74ae4a
2022-12-02 13:15:32 -08:00
Dean Lee
9e61dbfeba Cabana: add shortcuts (#26528)
add shortcuts
old-commit-hash: daea877c07
2022-12-02 13:15:14 -08:00