Commit Graph

759 Commits

Author SHA1 Message Date
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
Dean Lee
ffb709e6a6 Cabana: add auto completion for Msg selector (#26788) 2022-12-13 20:25:29 -08:00
Dean Lee
6431f79fd2 Replay: add option -c to set segment cache size (#26782)
add option to set cache size
2022-12-13 00:20:51 -08:00
Dean Lee
322dec1ec8 Cabana: warn and exit if no rlogs in route (#26784)
warn and exit if no rlogs in route
2022-12-13 00:19:04 -08:00
Dean Lee
1e596f964c Cabana: add not equal (!=) filter (#26780)
add not equal filter
2022-12-12 23:04:36 -08:00
Dean Lee
cecef89124 Cabana: add signal value filters to the logs view (#26779)
add filter to logs view
2022-12-12 22:31:36 -08:00
Dean Lee
f49520db0f 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
2022-12-12 14:47:45 -08:00
Dean Lee
0d8254e959 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>
2022-12-12 14:47:27 -08:00
Dean Lee
881c15c2a6 Replay: fix possible segfault on exit (#26768) 2022-12-12 10:25:49 -08:00
Dean Lee
fd91ab6469 Cabana: fix "show plot" button state sync issue (#26769) 2022-12-12 10:25:23 -08:00
Dean Lee
4e3598c9f6 Cabana: use opengl to draw the line series. (#26761) 2022-12-11 15:00:58 -08:00
Dean Lee
9ffb7a7518 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
2022-12-10 13:21:23 -08:00
Dean Lee
4b7b257fdc Cabana: increase cell height of BinaryView and cleanup code (#26754)
* setDefaultSectionSize

* cleanup
2022-12-10 13:09:07 -08:00
Shane Smiskol
df6bd0f392 cleanup: deprecate lqrState field (#26745)
* first commit

* clean up

* bump cereal

* revert angle controller

* revert

* clean up

* revert

* bump

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

* new file qtuitl.h

* Revert "new file qtuitl.h"

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

* smaller font

* rename to WelcomeWidget
2022-12-05 15:30:43 -08:00
Dean Lee
4d74e44ae1 Cabana: display dash instead of zero if no data (#26686)
display dash instead of zero if no data
2022-12-05 15:12:36 -08:00
Dean Lee
b513b83221 Replay: remove wrong text in TIME (#26692)
remove wrong time string
2022-12-04 11:30:31 -08:00
Dean Lee
f6496ce670 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
2022-12-04 11:28:54 -08:00
Dean Lee
0ff703d82f Replay: fix SEGFAULT in buildTimeline if segments are not continuous. (#26691)
fix segfault in buildtimeline
2022-12-04 11:28:40 -08:00
Dean Lee
59ed74ae4a Cabanba: new dialog to manage chart series (#26675)
* New dialog to manage chart series

* connect to signal currentIndexChanged

* cleanup

use cbegin/cend
2022-12-02 13:15:32 -08:00
Dean Lee
daea877c07 Cabana: add shortcuts (#26528)
add shortcuts
2022-12-02 13:15:14 -08:00
Dean Lee
74c0ac3dec Cabana: setSectionResizeMode to QHeaderView::Fixed (#26655)
fixed header
2022-12-01 09:17:02 -08:00
Adeeb Shihadeh
996a6c06d4 sim: disable micd (#26653) 2022-11-30 23:12:35 -08:00
Cameron Clough
108ff15f5d micd: scale sound volume with ambient noise level (#26399)
* test changing sound volume

* test changing sound volume

* create system/hardware/pc/hardware.h

* implement Hardware::set_volume using pactl

* soundd: use Hardware::set_volume

* add sounddevice dependency

* sounddevice example

* simple micd

* cleanup

* remove this

* fix process config

* add to release files

* hardware: get sound input device

* no more offroad

* debug

* calculate volume from all measurements since last update

* use microphone noise level to update sound volume

* fix scale

* mute microphone during alerts

* log raw noise level

* hardware: reduce tici min volume

* improve scale

* add package

* clear measurements on muted

* change default to min volume and respond quicker

* fixes

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* logarithmic scaling

* fix

* respond quicker

* fixes

* tweak scaling

* specify default device

* Revert "hardware: get sound input device"

This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.

* tuning

* forgot to update submaster

* tuning

* don't mute microphone, and clip measurement

* remove submaster

* fixes

* tuning

* implement Hardware::set_volume using pactl

* Revert "test changing sound volume"

This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.

* draft

* draft

* calculate sound pressure level in dB

* fix setting

* faster filter

* start at initial value

* don't run command in background

* pactl: use default sink

* use sound pressure db

* tuning

* bump up max volume threshold

* update filter slower

* fix divide by zero

* bump cereal

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-11-30 21:56:03 -08:00