Commit Graph

11 Commits

Author SHA1 Message Date
mitchellgoffpc
083bcb6f02 Added omegaconf to xx dependencies 2023-01-06 12:08:22 -08:00
Adeeb Shihadeh
e3a41b3c25 add spidev2 package (#26847) 2022-12-30 20:25:33 -08:00
Adeeb Shihadeh
d3a3d74830 nav: add polyline helpers (#26816)
* nav: add polyline helpers

* Update selfdrive/navd/map_renderer.py
2022-12-16 21:46:07 -08:00
Cameron Clough
e6182cb9aa fix dependencies for macOS (#26684)
* misc changes

* sort and remove duplicates

* only linux

* upgrade to pip 22.3.1
2022-12-08 20:15:37 -08:00
YassineYousfi
ddae8ffc09 add onnx2torch dependency (#26710)
* add onnx2torch dependency

* sort

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-12-05 19:25:57 -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
Adeeb Shihadeh
615198bfd0 bump panda (#26362) 2022-11-04 12:46:06 -07:00
Cameron Clough
3af2c1b363 deps(xx): bump onnxoptimizer 2022-10-22 11:41:45 -07:00
Cameron Clough
25b9588019 deps: add missing package einops 2022-10-22 01:32:38 -07:00
Cameron Clough
8bd512f9d7 deps: zerorpc over https 2022-10-22 00:53:50 -07:00
HaraldSchafer
a98d105cb9 Pipenv -> poetry (#24858)
* Try poetry

* Remove casadi for now

* Update docker

* Copy pipfiles

* add casadi back

* Too many slashes

* New poetry api

* Install system

* Try again

* No more pipenv

* new dependencies

* updates

* poetry 1.2.1, install dev dependencies

* keep install pipenv for xx for now?

* add pre-commit checks for poetry

* poetry lock is too slow

* update pip

* migrate to poetry groups

* update lockfile

* don't need to specify dev group unless it is made optional

* always install poetry

* set POETRY_VIRTUALENVS_CREATE instead, and use pipenv for xx

* use env for docs docker image

* alphabetical

* poetry 1.2.2

* add dev dependencies for typing

added in 4e310b80

* remove constraint

* fix PIPENV_SYSTEM

* remove constraint

* don't need this here

* bump

* bump pipenv

adds support for installing local pyprojects (can add openpilot as dependency of xx)

* README improvements

* probably not necessary

* bump pip

* maybe not necessary?

* revert

* don't install openpilot itself into the virtual env

* remove PySide2 and shiboken2

reverts c6b749fb96

* remove Pipenv, add xx dependencies, sync system python

* add pipenv as xx dep

* semver package constraints, use old lockfile versions

* fix casadi

* remove whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* disable poetry cache

* cleanup

* prefer config file

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-21 16:23:56 -07:00