Commit Graph

789 Commits

Author SHA1 Message Date
Dean Lee 455452a1b1 cabana: fix divde by zero for std::log10 (#27077)
fix divde by zero for std::log10
old-commit-hash: 2de2bab286
2023-01-25 10:59:05 -08:00
Dean Lee 88e3c87072 cabana: fix a wrong settings key (#27085)
fix wrong key
old-commit-hash: 892835da7a
2023-01-25 10:51:31 -08:00
Dean Lee a114a6bf17 cabana: improve layout (#27039)
improve layout
old-commit-hash: 81956649c8
2023-01-24 16:14:08 -08:00
Dean Lee dd914f684a 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
old-commit-hash: 544ad25a0b
2023-01-24 15:07:11 -08:00
Dean Lee fc3dac373e cabana: colorful logs based on activity (#27008)
* color logs

* remove space

* update in updateColors
old-commit-hash: b2675cef9a
2023-01-24 11:36:40 -08:00
Dean Lee 54154252f6 cabana: fix slider crash on exit if loadThumbnails is running (#27052)
old-commit-hash: e49c7fa2bf
2023-01-23 10:16:11 -08:00
Dean Lee 37a16ff95e cabana: fix chart range not updated when replay is seeking back. (#27036)
old-commit-hash: a0f91b0a8b
2023-01-22 13:20:40 -08:00
Dean Lee 57fca0c177 cabana: fix memory corruption in live stream (#27037)
old-commit-hash: 1e4721ad62
2023-01-22 13:20:20 -08:00
Dean Lee 7a5ee2eb11 cabana: add new plot btn to create chart (#27023)
old-commit-hash: 35a943030b
2023-01-21 16:00:39 -08:00
Dean Lee 3e8901cac4 cabana: new chart on top (#27031)
old-commit-hash: 945d0c7696
2023-01-21 12:41:55 -08:00
Dean Lee 182ab2a31e cabana: add no-vipc flag (#26999)
old-commit-hash: fa6e6a4eb5
2023-01-20 15:43:42 -08:00
Dean Lee b25f0356ee cabana: fix wrong column count displayed in combobox (#27020)
fix wrong column count displayed in combobox
old-commit-hash: c88853afae
2023-01-20 12:45:47 -08:00
Dean Lee e675648a16 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
old-commit-hash: f0d22f88e1
2023-01-20 11:47:29 -08:00
Dean Lee dbb05d6bd5 cabana: improve video splitter (#27012)
old-commit-hash: 21af68e3c3
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: 1c128db8b0
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: f9490739ab
2023-01-19 15:26:00 -08:00
Dean Lee 26ca64da0f cabana: add support for multiple columns charts (#27000)
old-commit-hash: fd4dc109e1
2023-01-19 13:51:55 -08:00
Willem Melching 4a56cddaff cabana: search by signal name (#26944)
old-commit-hash: 35b8357963
2023-01-19 10:37:27 -08:00
Willem Melching 9eee128e1f cabana: improve open/save functions (#27007)
old-commit-hash: d365d99cb0
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: 5b8d124be7
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: cebee69f30
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: c21d9408a1
2023-01-18 13:19:23 -08:00
Dean Lee 215526119d cabana: make video resizable (#26998)
old-commit-hash: 351d97ab5a
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: e69e4f4052
2023-01-18 10:32:04 -08:00
Willem Melching 7ad0b07b7b cabana: fix segfault on descending sort (#26995)
old-commit-hash: ef89ec3eb0
2023-01-18 10:31:40 -08:00
Dean Lee 34a0e44026 cabana: more compact form (#26985)
old-commit-hash: 2ef127ebc0
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: a43a243b6e
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: 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