Jason Young
d3af4a31ec
PC: Fix Panda DFU device permissions ( #34674 )
2 months ago
BirdZhang
5bcaca7321
[udev rules] Add back `bbaa` vendor id ( #34632 )
...
As some pandas (such as c2) still use the bbaa vendor id, add bbaa back to avoid misrecognition.
2 months ago
Dean Lee
3c0990e716
move thumbnail generation from camerad to encoderd ( #34554 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 months ago
Adeeb Shihadeh
c4c43bebd2
Drop Ubuntu 20.04 support ( #34557 )
3 months ago
BirdZhang
15211b2e52
Update to new USB VID ( #34487 )
...
https://github.com/commaai/panda/pull/2112/files
3 months ago
Adeeb Shihadeh
d735db6113
rm cppcheck ( #34248 )
4 months ago
Maxime Desroches
b94946eaab
update ubuntu 20.04 comment ( #34182 )
...
24
5 months ago
Adeeb Shihadeh
11f2d56f5e
ubuntu: remove extra packages
...
old-commit-hash: 5d3f8bb04b
8 months ago
Adeeb Shihadeh
9abd041b53
these have nothing to do with openpilot ( #33369 )
...
old-commit-hash: 73d9f6e05e
8 months ago
Dean Lee
7098ddcd19
ui: remove QtQml and related dependencies ( #33357 )
...
* remove QtQml
* remove qtdeclarative5-dev
old-commit-hash: 4d9ee68d16
8 months ago
Dean Lee
d105d8b3fa
scons: remove QtMultimedia lib and include path from build configuration ( #33358 )
...
remove multimedia
old-commit-hash: 61abc05c8b
8 months ago
Maxime Desroches
5e990d4186
linux: setup panda + jungle udev rules ( #33241 )
...
* add rules
* allow failure on docker
old-commit-hash: 2ff051ba53
9 months ago
Maxime Desroches
ea71f07ea7
setup.sh: work in non interactive mode ( #33162 )
...
* work without terminal
* failure message
* no if
old-commit-hash: 3e66827a85
9 months ago
Dean Lee
55ccea2c52
replay: add support for decompressing ZST log files ( #32910 )
...
* Add Support for Decompressing ZST Log Files
* 2 space and check magic number
* match BZ2
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ade13722cd
9 months ago
Maxime Desroches
42163dde76
ui: add missing qt package on 24.04 ( #32827 )
...
fix qml
old-commit-hash: 0922ab2b8d
10 months ago
Adeeb Shihadeh
d152f7c0f1
remove nav apt dependencies ( #32792 )
...
old-commit-hash: 9a084a73c5
10 months ago
Maxime Desroches
4558fbd824
Remove pyenv ( #32786 )
...
* no pyenv
* better
* check poetry
* docker
* syntax
* manual env
* pre-commit
* revert
* format
old-commit-hash: de75372880
10 months ago
royjr
5f0c5f5616
Ubuntu 24.04 fix setup ( #32783 )
...
* fix tk-dev
* fix missing pip
* Update tools/install_python_dependencies.sh
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 987b0d9e03
10 months ago
Adeeb Shihadeh
549bc535cd
Revert no pyenv ( #32547 )
...
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526 )"
This reverts commit d850f07acb58e4fc6d530241a31c0917c2b6613e.
* Revert "Removal of pyenv (#32512 )"
This reverts commit 41f72d5ca75aab9a9beb3181aca9f177e5a003f8.
old-commit-hash: 1eb938b8e8
11 months ago
Mauricio Alvarez Leon
f90655a1ff
`ubuntu_setup`: fix `No module apt_pkg` error when setting up ( #32526 )
...
* no apt_pkg fix
* check arch
* fix if
* cleanup
* reorder
* increase shm size for selfdrive tests
* add comment explaining reinstall
* refine
old-commit-hash: f4322666c6
11 months ago
Mauricio Alvarez Leon
e665f05efe
Removal of pyenv ( #32512 )
...
* initial removal of pyenv
* remove .python-version copy in dockerfile
* successful image build with ppa
* update prompt
* pip install scons
* apt install scons
* finally fix dockerfile to work with venv
* cleanup userflow
* increase memory to 100m
* typos
* wrong variable
* lmao
old-commit-hash: f5752121f8
11 months ago
Adeeb Shihadeh
64c444544f
more apt dependency cleanup ( #32502 )
...
rm
old-commit-hash: 406f30add4
11 months ago
Mauricio Alvarez Leon
eca631af2d
minimize ubuntu deps. needed to run build openpilot ( #32492 )
...
* minimize common deps list
* fix
* fix endline error
* add portaudio3
* add build-essential
* upload old loggerd deps
* libqt5charts5-dev
* libncurses5-dev
* libbz2-dev
* libsqlite3-dev
old-commit-hash: 1203f5eeb3
11 months ago
macdoos
52dbb6eae4
split out dev apt dependencies ( #32476 )
...
* init
* add more extra packages
* update Dockerfile
* cleanup
* Update Dockerfile.openpilot_base
* needed to build
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e0fa26b1a4
11 months ago
Adeeb Shihadeh
0585f670f1
remove libopencv-dev ( #32469 )
...
old-commit-hash: 48e24321e8
11 months ago
Adeeb Shihadeh
eaa6fe2510
remove old valgrind replay test
...
old-commit-hash: e1a697fee5
11 months ago
Adeeb Shihadeh
cec27f9db5
prep for ubuntu 24.04 ( #32307 )
...
* update to ubuntu 24.04
* latest
* revert those
* fix that
* vla
* try that
* fix uid
* keep 20.04 support
* just prep for now
old-commit-hash: a44add160e
1 year ago
Andrei Radulescu
61da0fd009
third_party: build scripts for libyuv and maplibre-native-qt ( #31988 )
...
* updated maplibre build.sh
* refactored libyuv build.sh
old-commit-hash: 245cbe97c7
1 year ago
Justin Newberry
d9a324dc92
CI: generate test_ui report ( #31151 )
...
* add test
* simpler
* simpler
* false
* move these here
* faster
* map takes logner to render
old-commit-hash: faf99ba711
1 year ago
Justin Newberry
9d187f9f92
Docker: add xvfb ( #30727 )
...
add xvfb
old-commit-hash: 075e6ff3e6
1 year ago
Willem Melching
6b98b83ad4
cabana: socketcan support ( #27952 )
...
* empty socketcan class
* works on linux with vcan
* add open stream widget
* fix MacOS build
* update readme
* unused
* no socketcan on C3
* fix in cabana sconstruct
* serial -> device
old-commit-hash: 2b0e4d46bb
2 years ago
Greg Hogan
69570ef251
script to install only ubuntu dependencies ( #29510 )
...
* script to install only ubuntu dependencies
* update Dockerfile
* add shebang
old-commit-hash: b24bbe4607
2 years ago
Kacper Rączy
1d47429f8e
Setup cleanup vol. 2 ( #29456 )
...
* code from setup cleanup #29419
update ci
update ci
export variables for mac os
check env
what is in the profile script?
install pyenv the same everywhere
temporarily disable brew cache
temporarily disable brew cache
try fixing pyenv virtualenv-init
try this
inject shims path earlier
try alternate install method
switch back to brew install
try eval "$(pyenv init --path)"
add eval "\$(pyenv init --path)"
* Add local .env file to the cache list
* Change .env paths
* debug line
* order?
* remove .env
* Add .venv to caches
---------
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 0f7be5b1e6
2 years ago
Justin Newberry
1988b4805e
Revert "setup cleanup ( #29419 )" ( #29451 )
...
This reverts commit bc9c60a3f955bb5b96dc41e6072cab47191f8896.
old-commit-hash: 1944945d9d
2 years ago
Greg Hogan
cce2c732c6
setup cleanup ( #29419 )
...
* setup cleanup
* update ci
* update ci
* export variables for mac os
* check env
* what is in the profile script?
* install pyenv the same everywhere
* temporarily disable brew cache
* temporarily disable brew cache
* try fixing pyenv virtualenv-init
* try this
* inject shims path earlier
* try alternate install method
* switch back to brew install
* try eval "$(pyenv init --path)"
* add eval "\$(pyenv init --path)"
old-commit-hash: ad32816fd6
2 years ago
Adeeb Shihadeh
b3f734283d
remove xx dependencies ( #29263 )
...
* rm xx deps
* mv that
* fix
* fix a path
* relock
* relock
* update
* update sentry
* update
* revert sentry
* Update lock
* Dummy pip package
* Not needed with poetry
* dont need dummy
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 0ced56b2ea
2 years ago
Vivek Aithal
e8d84e11f5
[commabody] Add body packages to op ( #29162 )
...
* add body packages
* update poetry lock
old-commit-hash: 156c7a84e8
2 years ago
Dean Lee
0035749f62
add libncurses5 to ubuntu_setup.sh ( #27751 )
...
old-commit-hash: f3664b658b
2 years ago
ClockeNessMnstr
ac72bdb09b
add g++-12 dependancy for Ubuntu 22.04 ( #27263 )
...
add g++-12 dependancy for 22.04
scons -u -j8 gave clang++ not finding iostream and others.
https://askubuntu.com/questions/1449769/clang-cannot-find-iostream
solution at the bottom of the page worked. installed g++-12 and built fine after that.
old-commit-hash: cd37231666
2 years ago
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
2 years ago
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 4bbd870746
.
* 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
2 years ago
Cameron Clough
132e5fe200
tools: pyenv setup fix ( #26601 )
...
* setup pyenv immediately
* sudo
* fix
old-commit-hash: 821d8ff12f
2 years ago
Dean Lee
292d55cf8a
c++ cabana: Initial version ( #25946 )
...
* draft
* continue
* fix QChart unresponsive with large points
* build with --extras
* add filter
* save DBC button
* more buttons
* add flag to use qcamera
* stop replay in dctor
* README
* use getMsg
* video control
* edit signal
* add colors
* correct ts
* add/edit signals
* use bus:address as key
old-commit-hash: 1b8324af87
3 years ago
Jason Shuler
2922d5b7aa
ubuntu_setup.sh detect base ubuntu version for variant distros ( #25433 )
...
ubuntu_setup detect base version
old-commit-hash: 65f230e6f6
3 years ago
Willem Melching
dfcd3a2910
casync unittests ( #25306 )
...
* simple extract test
* add test with loopback
* test for chunk reuse
* test seeding
* add instructions
* cleanup
* install casync
* make more tests work without a loopback
old-commit-hash: 753f4c7fab
3 years ago
pcjx
3ccab8345c
Make ubuntu_setup.sh use codenames to support Ubuntu based distros ( #25261 )
...
Using codenames allows the ubuntu_setup.sh to install
properly on systems like Pop!_OS or Linux Mint.
old-commit-hash: 551d2fe511
3 years ago
Shane Smiskol
2c5e890a23
UI: wrap all text for translation ( #24961 )
...
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* clean up
* clean up 2 and missing tr
* wrap more strings
* missing updater
* fixes
* add basic test to ensure all strings wrapped
* try in CI
* clean up
* test name
* fix test
* always install qt dev tools
* fix deps
* fast test
* add section so it prints multiple errors
* debug
* debug
get rid of those
* make any difference?
* comment
* oh...
* run with offscreen platform
* try out section
* clean up
* fix missing wrappings (it works!)
* move down
* space
* clear relevant params, set TICI=1
old-commit-hash: 879a7c3201
3 years ago
MT
e80d78969d
ubuntu_setup.sh: support 22.04 LTS ( #24312 )
...
* Build on 22.04 lts
- Removed python-dev from install_ubuntu_common_requirements()
- Added case ubuntu 22.04
- Added install_ubuntu_21.10_requirements()
- Modified install_ubuntu_latest_requirements() to include python3-dev instead of python-dev
* remove 21.10
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a64f7b563
3 years ago
Willem Melching
772f394423
Revert "collect C++ code coverage ( #23619 )"
...
This reverts commit a97b2e613b275f407576ddb3d7a3bd52b05f612a.
old-commit-hash: a62e914090
3 years ago
Willem Melching
6c89b62dd9
collect C++ code coverage ( #23619 )
...
* collect cpp coverage
* install llvm
* compile with coverage
* cd to root
* remove broken gcda files
* remove newline
* delete more stuff
* script to collect coverage
* Update tools/collect_coverage.sh
* actually delete
old-commit-hash: 698ab6ac97
3 years ago