Commit Graph

787 Commits

Author SHA1 Message Date
Dean Lee
81956649c8 cabana: improve layout (#27039)
improve layout
2023-01-24 16:14:08 -08:00
Dean Lee
544ad25a0b cabana: support pause and slow motion playback in live stream mode (#27051)
* support pause and slow motion playback in live stream mode

* override

* virtual functions

* move to function

fix

* lock handleEvent

* show speed controls in video widget

* fix pause signal

* set margins

* cleanup
2023-01-24 15:07:11 -08:00
Dean Lee
b2675cef9a cabana: colorful logs based on activity (#27008)
* color logs

* remove space

* update in updateColors
2023-01-24 11:36:40 -08:00
Dean Lee
e49c7fa2bf cabana: fix slider crash on exit if loadThumbnails is running (#27052) 2023-01-23 10:16:11 -08:00
Dean Lee
a0f91b0a8b cabana: fix chart range not updated when replay is seeking back. (#27036) 2023-01-22 13:20:40 -08:00
Dean Lee
1e4721ad62 cabana: fix memory corruption in live stream (#27037) 2023-01-22 13:20:20 -08:00
Dean Lee
35a943030b cabana: add new plot btn to create chart (#27023) 2023-01-21 16:00:39 -08:00
Dean Lee
945d0c7696 cabana: new chart on top (#27031) 2023-01-21 12:41:55 -08:00
Dean Lee
fa6e6a4eb5 cabana: add no-vipc flag (#26999) 2023-01-20 15:43:42 -08:00
Dean Lee
c88853afae cabana: fix wrong column count displayed in combobox (#27020)
fix wrong column count displayed in combobox
2023-01-20 12:45:47 -08:00
Dean Lee
f0d22f88e1 cabana: add a slider to adjust chart range from 1 sec to max cached seconds. (#27005)
* add slider to set chart range

* set minumu to 1 sec

* make chart work in any range

* cleanup

* rename to max_cached_minitues

* more

* dont draw out of plotarea

* cleanup

* updateLayout after chart removed

* cleanup

* fix clamp

* usea same cur_sec to update all charts
2023-01-20 11:47:29 -08:00
Dean Lee
21af68e3c3 cabana: improve video splitter (#27012) 2023-01-20 10:43:30 -08:00
Shane Smiskol
1c128db8b0 Cabana: darken signal backgrounds on hover (#27010)
* darker signal background when hovering

* remove import

* little better
2023-01-19 20:54:50 -08:00
Dean Lee
f9490739ab 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
2023-01-19 15:26:00 -08:00
Dean Lee
fd4dc109e1 cabana: add support for multiple columns charts (#27000) 2023-01-19 13:51:55 -08:00
Willem Melching
35b8357963 cabana: search by signal name (#26944) 2023-01-19 10:37:27 -08:00
Willem Melching
d365d99cb0 cabana: improve open/save functions (#27007) 2023-01-19 10:36:17 -08:00
Willem Melching
5b8d124be7 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>
2023-01-19 10:35:18 -08:00
Dean Lee
cebee69f30 cabana: click time label to seek to a specified time (#27006) 2023-01-19 10:32:48 -08:00
Dean Lee
c21d9408a1 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
2023-01-18 13:19:23 -08:00
Dean Lee
351d97ab5a cabana: make video resizable (#26998) 2023-01-18 11:40:44 -08:00
Willem Melching
e69e4f4052 cabana: sort bus:id numerically instead of alphabetically (#26996)
* cabana: sort bus:id numerically instead of alphabetically

* Update tools/cabana/canmessages.h
2023-01-18 10:32:04 -08:00
Willem Melching
ef89ec3eb0 cabana: fix segfault on descending sort (#26995) 2023-01-18 10:31:40 -08:00
Dean Lee
2ef127ebc0 cabana: more compact form (#26985) 2023-01-17 13:09:18 -08:00
Kurt Nistelberger
a43a243b6e Improve GPSbox tests (#26983)
* add altitude testing

* fix proc check

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-16 20:02:30 -08:00
Dean Lee
164880524a cabana: add a combobox to switch between signal and raw hex value (#26974)
* switch between hex&signal value

* sync display mode between view & model
2023-01-16 11:21:15 -08:00
Willem Melching
5cc192be4d 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
2023-01-15 22:13:16 -08:00
Dean Lee
58bd024089 cabana: support drag and drop to merge charts (#26968) 2023-01-15 12:52:11 -08:00
Dean Lee
c1b9c3d3d1 Cabana: save signal on editingFinished (#26940)
save signal on editingFinished
2023-01-13 11:40:34 -08:00
Dean Lee
aaed353778 cabana: use Qt::Window flag for FindSimilarBitsDlg (#26938)
use Qt::Window flag for FindSimilarBitsDlg
2023-01-13 11:33:03 -08:00
Dean Lee
53ec07edbd cabana: double click on an item in FindSimilarBitsDlg to open the message in detailView (#26930)
* double click to open message

* remove qDebug
2023-01-12 13:39:51 -08:00
Dean Lee
66d0d4c7d7 cabana: filtering in both address and msg name (#26929)
search in address and name

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-12 13:27:46 -08:00
Dean Lee
97b931a12a cabana: fix chart glitches (#26928) 2023-01-12 11:27:20 -08:00
Dean Lee
f3fa4d759d 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>
2023-01-11 21:21:11 -08:00
Dean Lee
9884957e3e cabana: sync play button state (#26917)
sync play button
2023-01-11 15:32:13 -08:00
Dean Lee
a421c9464e replay: sync vision buffer (#26904) 2023-01-09 13:48:04 -08:00
Willem Melching
19a15eeb53 MacOS: homebrew arm-none-eabi-gcc works again (#26903)
Revert "Fix gcc-arm-embedded for m1 mac (#24515)"

This reverts commit 01a237ef02.
2023-01-09 10:30:30 -08:00
Dean Lee
2204a7153f replay: remove need for fake dongle id (#26899) 2023-01-08 15:51:08 -08:00
Dean Lee
2c7df6efc8 replay: show absolute time (#26869) 2023-01-07 11:07:30 -08:00
Dean Lee
88fd2ea84f replay: add option --prefix to set OPENPILOT_PREFIX (#26862) 2023-01-02 13:31:08 -08:00
Dean Lee
b5a2dfa93e replay: only keep one init_data in merged events (#26863)
don't merge init_data
2023-01-02 11:57:51 -08:00
Adeeb Shihadeh
cd8e03d53e 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>
2022-12-31 21:00:50 -08:00
Dean Lee
e018098571 Cabana: add dynamic/static mode to logs view (#26832) 2022-12-30 13:57:29 -08:00
Dean Lee
ab797588f8 Cabana: double click on logs cell to open the chart (#26833) 2022-12-28 18:22:04 -08:00
Dean Lee
7ae8792386 Cabana: make all panels dockable into each other (#26838) 2022-12-28 18:21:06 -08:00
Dean Lee
65509669b6 Cabana: add tool to find similar bits (#26834)
* find similar bits

* set window title
2022-12-28 16:51:02 -08:00
Dean Lee
f15a5c9ad6 cabana: align y axis correctly (#26837) 2022-12-28 16:47:49 -08:00
Hamid Ebadi
49ae806534 carla sim: fix accelerometer sensor data (#26794) 2022-12-20 13:45:06 -08:00
Samer Khatib
777dc9dcd2 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>
2022-12-20 13:44:33 -08:00
Dean Lee
68272449e1 Cabana: improve DBC file selector (#26787) 2022-12-13 20:25:50 -08:00