Commit Graph

136 Commits

Author SHA1 Message Date
mitchellgoffpc
4a40bde5aa Revert "special opencv is only for xx (#29161)" 2023-08-04 17:02:03 -07:00
Vivek Aithal
156c7a84e8 [commabody] Add body packages to op (#29162)
* add body packages

* update poetry lock
2023-07-26 23:08:23 -07:00
Adeeb Shihadeh
fb70913ffd special opencv is only for xx (#29161) 2023-07-26 20:31:52 -07:00
YassineYousfi
2a027b9179 add apex to dependencies (#29139)
* apex back

* update lock

---------

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
2023-07-25 14:57:06 -07:00
Harald Schäfer
a13cab302e Python packages: unpin (#29089)
* update scikit

* Unpin openpilot

* Unpin dev

* Unpin xx

* pin parametrized

* Poetry lock

* accidentally deleted
2023-07-24 19:01:09 -07:00
Adeeb Shihadeh
128f261173 remove unused python packages (#29099) 2023-07-22 14:12:28 -07:00
Adeeb Shihadeh
1945c356c2 agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
9c307f2550 Revert "Update pycapnp and Cython (#29021)"
This reverts commit 76ef1b9b9f.
2023-07-18 18:47:35 -07:00
Maxime Desroches
76ef1b9b9f Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-18 16:40:36 -07:00
Cameron Clough
a4630ef9f0 remove subprocess32 package (#28916) 2023-07-13 14:29:57 +01:00
YassineYousfi
46199c06d3 add huggingface transformers dev dependency (#28645) 2023-06-23 10:10:45 -07:00
Kacper Rączy
45a6834a74 macOS: fix build issues & re-enable CI (#28258)
* Uncomment build_mac job

* Add PYCURL_CURL_CONFIG

* Acados universal binary

* Remove x86 macos references from sconscript

* Add missing include in cabana

* Update cereal

* Update workflow

* Remove unnecessary libpaths for darwin

* Add missing path to cached dirs

* Fix path in cache preparation step

* Add poetry caches to CI cache

* Compile acados with lower deployment target for CI

* Update cereal

* Pass -rpath in linker flags as scons doed not support RPATH on macos

* Use scons api instead of os

* @rpath in install name of acados dylibs

* SConstruct cleanup

* fix liblocationd tests by adding lib suffix based on platform

* Update cereal

* Update opendbc

* Update opendbc

* Add acados gitignore to release files

* Update cereal

* Update cereal

* Add scons_cache to build cache

* Add Caskroom to cache

* Fix typo

* Link all packages at once, instead of one by one

* Run cleanup stage using poetry

* Remove casks from cache

* Move scons cache to separate cache step

* Save scons cache only on master

* Remove restore-keys from save-scons-cache step

* Uncomment if conditions for scons save

* Add gcc-arm-embedded cask cache to cache

* Custom handling of gcc-arm-embedded toolchain cache

* Rename dep cache key

* Exclude .fseventsd from cache

* Fix glob pattern

* Remove .feventsd before caching

* Run mac_setup only if dependency cache-hit != true

* Update cereal to master

* Add overwrite flag to brew link

* Remove manual casadi build from mac_setup

* Remove restore-keys from dependency cache

* Remove linux requirement for casadi

* Restore restore-keys to dependency cache
2023-06-21 13:14:20 -07:00
Kacper Rączy
a4bba84f8c Update onnx to 1.14 (#28610)
* Update onnx to 1.14 and onnxruntime-gpu to 1.15.1

* Update lock
2023-06-20 17:32:42 -07:00
Kacper Rączy
30ccd442d4 Update casadi to 3.6.3 (#28609)
Update casadi to 3.6.3. Update lock file
2023-06-20 15:33:27 -07:00
Shane Smiskol
fc9660c962 env: add dateutil types (#28478)
* add dateutil types

* lock
2023-06-09 22:04:56 -07:00
Cameron Clough
06e1f468aa bump pylint 2023-06-05 22:47:28 -07:00
Kacper Rączy
347004fdad aarch64: disable carla and onnxruntime-gpu on non-x64 hosts (#28261)
Disable carla and onnxrunner-gpu on aarch64
2023-05-23 19:50:56 -07:00
YassineYousfi
9a7a96b19f update timm and segmentation-models-pytorch (#28178)
update segmentation-models-pytorch
2023-05-12 13:57:05 -07:00
YassineYousfi
406840c377 add tensorrt dependency (#27893) 2023-04-12 22:18:51 -07:00
Adeeb Shihadeh
5f6a122c24 add scons-contrib package (#27826) 2023-04-06 21:12:32 -07:00
mitchellgoffpc
76319d02d8 Added tritonclient to xx deps 2023-03-24 16:16:38 -07:00
YassineYousfi
4208b74ed8 update to torch 2.0 and cuda 11.8 (#27608)
* wip: update to torch 2.0

* update opencv
2023-03-16 19:04:04 -07:00
Cameron Clough
57d10a26e7 fix tabulate types (#27598)
fix types for tabulate
2023-03-15 20:58:08 -07:00
Adeeb Shihadeh
ebd25b8a7d test_power_draw: add header to output table (#27511)
* test_power_draw: add header to output table

* units
2023-03-06 16:13:29 -08:00
Mitchell Goff
6f1d5edab8 Add osmnx to xx packages (#27342) 2023-02-14 14:32:08 -08:00
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