Commit Graph

776 Commits

Author SHA1 Message Date
Dean Lee
dbb05d6bd5 cabana: improve video splitter (#27012)
old-commit-hash: 21af68e3c36eef4a84b076a41305caabf76bd4a9
2023-01-20 10:43:30 -08:00
Shane Smiskol
264a61fefc Cabana: darken signal backgrounds on hover (#27010)
* darker signal background when hovering

* remove import

* little better
old-commit-hash: 1c128db8b07a1abf10b9a2f2cc6a7af22c9ae065
2023-01-19 20:54:50 -08:00
Dean Lee
504453c3e4 Cabana: support live streaming (#26946)
* support live streaming

* update live stream's time

* cleanup stream classes

* disable video control in live streaming mode

* emit streamStarted() in LiveStream::streamThread

* disable some features in live streaming mode

* refactor charts to support live streaming mode

* disable dynamic mode checkbox in live streaming mode

* updateDispalyRange

* thread safe events

* TODO: add support for ZMQ

* atomic time stamp

* only keep settings.cached_segment_limit*60  seconds data in liveStream

* make charts work better in live mode

* cleanup ChartView

* fix toolbar

* cleanup

cleanup

* disable openpilotPrefix and useOpenGL on macos

* add comment

* exit gracefully

* support ZMQ

* use ::operator new/delete

* cleanup streams

* cleanup

* align stream buffers

* check looping back

* check if series is empty

* cleanup

* add TODO: write stream to log file to replay it

* upper_bound

* remove class member event_range

* change default settings value

* cleanup updateDisplayrange

* fix merge error
old-commit-hash: f9490739ab37ae680aef272d51eb3cf2b36b4103
2023-01-19 15:26:00 -08:00
Dean Lee
26ca64da0f cabana: add support for multiple columns charts (#27000)
old-commit-hash: fd4dc109e1ab01b2d1ea6aaf3e99126dbaddc63b
2023-01-19 13:51:55 -08:00
Willem Melching
4a56cddaff cabana: search by signal name (#26944)
old-commit-hash: 35b83579634f2cdee4d6ef4652995b1844773b6e
2023-01-19 10:37:27 -08:00
Willem Melching
9eee128e1f cabana: improve open/save functions (#27007)
old-commit-hash: d365d99cb005b99ce7385d169e696847b0726315
2023-01-19 10:36:17 -08:00
Willem Melching
589c7d951f cabana: color bytes based on activity (#26970)
* cabana: color bytes based on activity

* newlines

* fix text color when selected

* fix indent

* add colors to binary view

* no need to check contains

* whitespace

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5b8d124be7d1277d816ff337fd69600da0e891e2
2023-01-19 10:35:18 -08:00
Dean Lee
e95c8e665b cabana: click time label to seek to a specified time (#27006)
old-commit-hash: cebee69f304357c5966dec9b316a4d15e68c571b
2023-01-19 10:32:48 -08:00
Dean Lee
fa47048e44 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
old-commit-hash: c21d9408a191ba8e3303f2459d1f7476fefd35ba
2023-01-18 13:19:23 -08:00
Dean Lee
215526119d cabana: make video resizable (#26998)
old-commit-hash: 351d97ab5a72f3dfb22de2e7e321c4cc447a44c9
2023-01-18 11:40:44 -08:00
Willem Melching
10a738c845 cabana: sort bus:id numerically instead of alphabetically (#26996)
* cabana: sort bus:id numerically instead of alphabetically

* Update tools/cabana/canmessages.h
old-commit-hash: e69e4f4052927b1053145d06cc8144f209f84f11
2023-01-18 10:32:04 -08:00
Willem Melching
7ad0b07b7b cabana: fix segfault on descending sort (#26995)
old-commit-hash: ef89ec3eb095df8604d8c66009413444b634b1e6
2023-01-18 10:31:40 -08:00
Dean Lee
34a0e44026 cabana: more compact form (#26985)
old-commit-hash: 2ef127ebc05c609dffff506a64fa3c600d7b194b
2023-01-17 13:09:18 -08:00
Kurt Nistelberger
8d5e71eb8e Improve GPSbox tests (#26983)
* add altitude testing

* fix proc check

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: a43a243b6e3852798390e0adc85f8f688f43b4d3
2023-01-16 20:02:30 -08:00
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: 164880524a705fee3ba0507e70c7c0069b1f7ef0
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: 5cc192be4d994d26e385f03a1945d810d465eb00
2023-01-15 22:13:16 -08:00
Dean Lee
c59ee39caa cabana: support drag and drop to merge charts (#26968)
old-commit-hash: 58bd02408979f19999acd8c755ed30785b9ef6d7
2023-01-15 12:52:11 -08:00
Dean Lee
27da08947f Cabana: save signal on editingFinished (#26940)
save signal on editingFinished
old-commit-hash: c1b9c3d3d1c928df929bce0cd1959d06e1091ccf
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: aaed3537780b5082d427667d6ab4070db2e7e21f
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: 53ec07edbd591296602658080df71d91e8629540
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: 66d0d4c7d7035375bc17bdc9da404c2a5e77d453
2023-01-12 13:27:46 -08:00
Dean Lee
84b6e18b53 cabana: fix chart glitches (#26928)
old-commit-hash: 97b931a12ae94567062891586496e7a73bd3ebbd
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: f3fa4d759d5967e8590492005b8ede8bd17a6981
2023-01-11 21:21:11 -08:00
Dean Lee
1a5867b973 cabana: sync play button state (#26917)
sync play button
old-commit-hash: 9884957e3e07e09df6c021222949a4a77e2bd8ff
2023-01-11 15:32:13 -08:00
Dean Lee
a6d27b050e replay: sync vision buffer (#26904)
old-commit-hash: a421c9464eec3a6b994df5ec010ff51b27aa4bbc
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: 19a15eeb539c8e8f53166b8885e09d6276d32fd8
2023-01-09 10:30:30 -08:00
Dean Lee
3b3783a1f8 replay: remove need for fake dongle id (#26899)
old-commit-hash: 2204a7153f3f63716eedf81a8aeee9f2ed3e3c2e
2023-01-08 15:51:08 -08:00
Dean Lee
eb3429c5fb replay: show absolute time (#26869)
old-commit-hash: 2c7df6efc87f4f16aa0801ed40bc0e2542578031
2023-01-07 11:07:30 -08:00
Dean Lee
4d9eb133db replay: add option --prefix to set OPENPILOT_PREFIX (#26862)
old-commit-hash: 88fd2ea84ff7c465a2c2f7de13635f112d604637
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: b5a2dfa93ed053b5e1e04f6a3b76735126c1e00f
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: cd8e03d53ed210aec46a2ff728cb4a830314a21a
2022-12-31 21:00:50 -08:00
Dean Lee
371ac89f84 Cabana: add dynamic/static mode to logs view (#26832)
old-commit-hash: e01809857174533e61a25d4bcb85b708031aa8cb
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: ab797588f800c02c6ea181a86b3b1c7d760e8c72
2022-12-28 18:22:04 -08:00
Dean Lee
7f783e79d5 Cabana: make all panels dockable into each other (#26838)
old-commit-hash: 7ae87923864af4cd1378eeccc23c002fc66447e5
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: 65509669b676bad41d57443454dbea8ffbc1c8f7
2022-12-28 16:51:02 -08:00
Dean Lee
b6cece6abe cabana: align y axis correctly (#26837)
old-commit-hash: f15a5c9ad697e41eb273875577855ec5edede7f4
2022-12-28 16:47:49 -08:00
Hamid Ebadi
1ba96c78a8 carla sim: fix accelerometer sensor data (#26794)
old-commit-hash: 49ae806534a32858a327745698ca2f36e5210803
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: 777dc9dcd2ef3c1011d487f7584f3da9c396e513
2022-12-20 13:44:33 -08:00
Dean Lee
a3a052b828 Cabana: improve DBC file selector (#26787)
old-commit-hash: 68272449e1775df2326f7f62d1f4868c701dff29
2022-12-13 20:25:50 -08:00
Dean Lee
18689809fa Cabana: add auto completion for Msg selector (#26788)
old-commit-hash: ffb709e6a68c8dd254f96bbf05f6799370352e7f
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: 6431f79fd27518ffe645fd35b11da92e32a74066
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: 322dec1ec835e18a162b32dc75a293f57130ee62
2022-12-13 00:19:04 -08:00
Dean Lee
82761359a3 Cabana: add not equal (!=) filter (#26780)
add not equal filter
old-commit-hash: 1e596f964c65ddec1303cebf9128e26df2379d90
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: cecef89124be03eae55b6ee3bc33b3d5cdf7f93c
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: f49520db0fd343ccca5975ee62d602d09f98d8b0
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: 0d8254e95935f27d7c371ecc4c2d6c9ff8c204d0
2022-12-12 14:47:27 -08:00
Dean Lee
1072246cf0 Replay: fix possible segfault on exit (#26768)
old-commit-hash: 881c15c2a62135f62cb58c7f317f36365b6e643c
2022-12-12 10:25:49 -08:00
Dean Lee
b4a98b8740 Cabana: fix "show plot" button state sync issue (#26769)
old-commit-hash: fd91ab6469506ee2afe5db3c8b718433bc9317c6
2022-12-12 10:25:23 -08:00
Dean Lee
443e49b659 Cabana: use opengl to draw the line series. (#26761)
old-commit-hash: 4e3598c9f60e16bc48cbbb3152d74a5d89bebbea
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: 9ffb7a751874ce829b01c23809615a955819b9a6
2022-12-10 13:21:23 -08:00