Commit Graph

752 Commits

Author SHA1 Message Date
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
Cameron Clough 3d2f6c1dc0 Fix OpenCL driver URL (#26650) 2022-11-30 21:45:44 -08:00
Cameron Clough 821d8ff12f tools: pyenv setup fix (#26601)
* setup pyenv immediately

* sudo

* fix
2022-11-30 15:11:26 -08:00
Dean Lee 2b916044f5 Cabana: sort signals by address in logs view (#26639)
cleanup
2022-11-30 12:40:36 -08:00
Dean Lee f9bb024a46 Cabana: execute generate_dbc_json.py after building (#26620)
* use env.command to generete json after build

* Update tools/cabana/SConscript

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-11-29 11:42:56 -08:00
James 67fb344146 Fixed typo in CARLA README.md (#26615) 2022-11-29 01:05:38 -08:00
Kurt Nistelberger a48ec655ac CI: gps test hackrf support (#26364)
* first ignore

* init gps test

* make LimeGPS git clone

* revert ignore

* .

* remove prebuilt bins

* gps test v1

* add static signal gen script

* update readme

* remove LD_PRELOAD by using rpath, update values after testing

* .

* remove LD_PRELOAD

* .

* fix README

* .

* .

* .

* gps test v1

* cleanUp

* init

* update fuzzy tests

* .

* finalize qcom gps tests

* .

* .

* .

* add downloader

* finalize unit tests

* .

* .

* inc limeGPS startup time

* tmp

* loosen init time

* .

* .

* .

* add ublox warmstart test

* .

* improve location tests

* .

* .

* .

* .

* .

* .

* .

* .

* last cleanUp

* .

* .

* add hackrf support

* hackrf support

* .

* .

* .

* .

* .

* .

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-11-28 16:13:54 -08:00
Dean Lee 909a884dc5 Cabana: fix segfault in dragging zoom (#26598)
fix segfault
2022-11-28 15:43:27 -08:00