Commit Graph

740 Commits

Author SHA1 Message Date
Hamid Ebadi 1ba96c78a8 carla sim: fix accelerometer sensor data (#26794)
old-commit-hash: 49ae806534
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: 777dc9dcd2
2022-12-20 13:44:33 -08:00
Dean Lee a3a052b828 Cabana: improve DBC file selector (#26787)
old-commit-hash: 68272449e1
2022-12-13 20:25:50 -08:00
Dean Lee 18689809fa Cabana: add auto completion for Msg selector (#26788)
old-commit-hash: ffb709e6a6
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: 6431f79fd2
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: 322dec1ec8
2022-12-13 00:19:04 -08:00
Dean Lee 82761359a3 Cabana: add not equal (!=) filter (#26780)
add not equal filter
old-commit-hash: 1e596f964c
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: cecef89124
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: f49520db0f
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: 0d8254e959
2022-12-12 14:47:27 -08:00
Dean Lee 1072246cf0 Replay: fix possible segfault on exit (#26768)
old-commit-hash: 881c15c2a6
2022-12-12 10:25:49 -08:00
Dean Lee b4a98b8740 Cabana: fix "show plot" button state sync issue (#26769)
old-commit-hash: fd91ab6469
2022-12-12 10:25:23 -08:00
Dean Lee 443e49b659 Cabana: use opengl to draw the line series. (#26761)
old-commit-hash: 4e3598c9f6
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: 9ffb7a7518
2022-12-10 13:21:23 -08:00
Dean Lee 426d6988c7 Cabana: increase cell height of BinaryView and cleanup code (#26754)
* setDefaultSectionSize

* cleanup
old-commit-hash: 4b7b257fdc
2022-12-10 13:09:07 -08:00
Shane Smiskol 8c4d019e7e cleanup: deprecate lqrState field (#26745)
* first commit

* clean up

* bump cereal

* revert angle controller

* revert

* clean up

* revert

* bump

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

* new file qtuitl.h

* Revert "new file qtuitl.h"

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

* smaller font

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

* connect to signal currentIndexChanged

* cleanup

use cbegin/cend
old-commit-hash: 59ed74ae4a
2022-12-02 13:15:32 -08:00
Dean Lee 9e61dbfeba Cabana: add shortcuts (#26528)
add shortcuts
old-commit-hash: daea877c07
2022-12-02 13:15:14 -08:00
Dean Lee 9363f6fb04 Cabana: setSectionResizeMode to QHeaderView::Fixed (#26655)
fixed header
old-commit-hash: 74c0ac3dec
2022-12-01 09:17:02 -08:00
Adeeb Shihadeh 5f4cc55c2c sim: disable micd (#26653)
old-commit-hash: 996a6c06d4
2022-11-30 23:12:35 -08:00
Cameron Clough 9bcf83f493 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>
old-commit-hash: 108ff15f5d
2022-11-30 21:56:03 -08:00
Cameron Clough 8a4a390d6f Fix OpenCL driver URL (#26650)
old-commit-hash: 3d2f6c1dc0
2022-11-30 21:45:44 -08:00
Cameron Clough 132e5fe200 tools: pyenv setup fix (#26601)
* setup pyenv immediately

* sudo

* fix
old-commit-hash: 821d8ff12f
2022-11-30 15:11:26 -08:00
Dean Lee 4f1ff1d253 Cabana: sort signals by address in logs view (#26639)
cleanup
old-commit-hash: 2b916044f5
2022-11-30 12:40:36 -08:00
Dean Lee 4887149d38 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>
old-commit-hash: f9bb024a46
2022-11-29 11:42:56 -08:00
James beadbb1b39 Fixed typo in CARLA README.md (#26615)
old-commit-hash: 67fb344146
2022-11-29 01:05:38 -08:00
Kurt Nistelberger 2b9010b467 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>
old-commit-hash: a48ec655ac
2022-11-28 16:13:54 -08:00
Dean Lee 85f8f38923 Cabana: fix segfault in dragging zoom (#26598)
fix segfault
old-commit-hash: 909a884dc5
2022-11-28 15:43:27 -08:00
Cameron Clough f2e0b35e9e tuning: measure steering accuracy for existing routes (#25722)
* support parsing route logs

* optionally use cached data

* support segment or route names

* get control type from log
old-commit-hash: b15018387c
2022-11-23 14:03:15 -08:00
Dean Lee 854f930b27 Cabana: fixed form glitches (#26587)
fix visual glitches
old-commit-hash: 6dec92df43
2022-11-23 09:48:24 -08:00
Dean Lee 4a67971c61 Cabana: auto theme, detect from system. (#26563)
* auto theme

* cleanup

* get font color from ForegroundRole

* fix label color

* add padding for header

* smaller warning icon

* fix bg of binary view

* hightlight after init
old-commit-hash: 4662f1e0be
2022-11-22 14:23:49 -08:00
Dean Lee dfdede362f Cabana: display dashes if no value available (#26557)
show dot if no value
old-commit-hash: efbfbc0622
2022-11-21 10:48:19 -08:00
Dean Lee 7bf05bc4d2 Cabana: fix auto zoom y-axis for multiple line series (#26558)
auto zoom y-axis for multiple series
old-commit-hash: 7b46928fc9
2022-11-21 10:48:08 -08:00
Dean Lee bbdad5d115 Replay: fixed the freq of video and events are unstable after changing the replay speed (#26559)
fix freq is unstable after changing the replay speed
old-commit-hash: 2b4b0cc67f
2022-11-21 10:47:58 -08:00
Dean Lee d7569d5a11 Cabana: update chart and video position (after a click) in pause mode (#26560)
update chart and video position (after a click) in pause mode
old-commit-hash: 89eeb72dbd
2022-11-21 10:47:47 -08:00
Dean Lee 7dbeb8ebe1 Cabana: 'edit-find' icon is not avaible on some platforms (#26561)
Fixed edit-find icon is not avaible on some platforms
old-commit-hash: de443d30b3
2022-11-21 10:47:36 -08:00
Dean Lee b902c26c6f Cabana: faster align charts, visual glitches removed. (#26543)
* faster adjust chart margins

* delay adjust

* update foreground after set margins

* set display range on create

* fix init display_range

* common function updateDisplayRange

* set min max to 0 if no values

* fix axis y

* use mapToValue

* cleanup

* get minmax from series

* cleanup

* cleanup eventsMerged

* cleanup include
old-commit-hash: 17b1839e0a
2022-11-20 13:23:59 -08:00
Dean Lee de99eb91c6 Cabana: draw line marker in drawForegound (#26542)
draw line marker in drawForegound
old-commit-hash: 9c815c2081
2022-11-18 10:25:11 -08:00
Dean Lee 40123aed4b Cabana: support for multiple series in chart (#26538)
* customize axis x & y

* new function chartView::addSignal

* support multiple series in chartView

* more

* show legend

* update changed signals only

* fix z value

* cleanup

* limit trake line in plot area

* display signal name in value_text

* &nbsp

* fix axis y

* add spaces

* cache min max value for axis y

* cleanup

* better values text

* remove force_update
old-commit-hash: 37ad8f4f3f
2022-11-17 10:52:04 -08:00
Dean Lee b2e08f2ac7 Cabana: improve binary view (#26525)
* improve

* set minimum width

* click signal to open&hide form

* disable vertical header's click
old-commit-hash: 66edb15b8f
2022-11-16 15:51:05 -08:00