Commit Graph

113 Commits

Author SHA1 Message Date
Adeeb Shihadeh be4bbca9a3
[bot] Update Python packages and pre-commit hooks (#31508)
* Update Python packages and pre-commit hooks

* remove that

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh 5f087010a9
[bot] Update Python packages and pre-commit hooks (#31413)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-02-12 09:34:15 -08:00
Justin Newberry 530902dfad
bump metadrive (#31342)
bump
2024-02-06 19:23:37 -08:00
Adeeb Shihadeh f0b591e345
[bot] Update Python packages and pre-commit hooks (#31300)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-02-05 10:06:18 -08:00
Adeeb Shihadeh 5f3a425015
Update Python packages and pre-commit hooks (#31208)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-01-29 09:43:18 -08:00
Adeeb Shihadeh eada51ec8e
pin pyopencl to fix aarch64 build (#31184)
* revert pyopencl

* revert that
2024-01-26 16:00:33 -08:00
Adeeb Shihadeh 1001becfa5
unpin sentry-sdk (#31183)
* unpin sentry-sdk

* update
2024-01-26 14:33:59 -08:00
Adeeb Shihadeh fe4abaa6f6 add flaky package 2024-01-25 17:38:09 -08:00
Justin Newberry 3b618c4dfd
Simulator: pin metadrive + use pip version (#31161)
* pin metadrive

* pin

* not on git
2024-01-25 12:44:01 -08:00
Justin Newberry e2ec5be6ee
test_ui: create test ui screenshots and html report (#31147)
* test ui

* report + common

* in ci

* fix

* dont enable in ci yet
2024-01-24 13:54:31 -08:00
Adeeb Shihadeh eb04935b95
Update Python packages and pre-commit hooks (#31108)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-01-22 09:15:22 -08:00
Justin Newberry d98b33adc8
replace pytest-timeouts with pytest-timeout (#31053)
* one timeout

* timeout

* higher timeout for now

* bump
2024-01-18 16:19:49 -08:00
YassineYousfi 86ac700805
update onnxruntime to 1.16.3 (#31024) 2024-01-16 20:22:05 -08:00
Adeeb Shihadeh a8afaf39d4
Update Python packages and pre-commit hooks (#31003)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-01-15 10:34:25 -08:00
Adeeb Shihadeh 90010754d6
unpin metadrive package (#30944)
* unpin metadrive package

* lock
2024-01-08 17:16:15 -08:00
Adeeb Shihadeh 6743487d78
Update Python packages and pre-commit hooks (#30939)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-01-08 13:54:09 -08:00
Adeeb Shihadeh 46f3fdc090
Update Python packages and pre-commit hooks (#30597)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-01-05 15:17:49 -08:00
Adeeb Shihadeh 846be323d5 packages cleanup, part two 2023-12-17 16:37:33 -08:00
royjr 70624ffc81
dependency: remove pycurl package (#30771)
* Update qcomgpsd.py

* Update url_file.py

* remove pycurl

* requests -> urllib3

* unused

* redundant

* fix import

* Revert "requests -> urllib3"

This reverts commit 7ca39e6189.

* headless

* fix trail

* use requests.exceptions.RequestException

* use fp.tell

* fix indents

* reorder imports

* change timeout

* fix debug timing

* remove exception

* add timeout

* missing headers

* move to constructor

* move import

* unused import

* fix debug

* try

* no retries
2023-12-17 16:25:25 -08:00
royjr 7f9e41ce2e
dependency: remove atomicwrites package (#30769)
* Update file_helpers.py

* remove dependency

* Revert "remove dependency"

This reverts commit e2bd5f4eda.

* remove atomicwrites

* allow overwrite

* fix indents

* add type hints

* Update poetry.lock

* optional

* wrap
2023-12-16 21:58:19 -08:00
Adeeb Shihadeh bc54ed794b
remove PyYAML package (#30770)
* remove PyYAML package

* remove those

* add comments back

* fix lock

* fix those
2023-12-16 20:48:57 -08:00
Adeeb Shihadeh a7828eba3c
remove sconscontrib package (#30767)
* remove sconscontrib package

* lock
2023-12-16 19:16:34 -08:00
Adeeb Shihadeh dfa2e9146f
cleanup python dependencies (#30764)
* less

* try to remove that

* little more

* update

* ugh still need this
2023-12-16 18:52:15 -08:00
Justin Newberry 11ec5bf25e
Simulator: remove carla (#30690)
* no carla

* no arg and stylize metadrive
2023-12-11 20:38:37 -08:00
Shane Smiskol ac83318ac4
test_models: randomize internal segment list (#30653)
* randomize internal seg list segments

* random

* pytest-randomly sets random.seed to a consistent value for all the workers/processes

* noeol

* update

* Revert "update"

This reverts commit aff9a69c4e.

* lock

* don't randomize by default

* remove random-order

* strict

* random

* one fix

* test

* does nothing

* rm tests

* Revert "rm tests"

This reverts commit b548e3fcd4.

* (can't repro locally) just athena should be fine

* bs1

* bs2

* bs3

* bs4

* bs5

* wrong way

* no controls

* no car

* no board

* controls?

* crazy -common

* Revert "crazy -common"

This reverts commit 02365d712b.

* test athena

* test athena 2

* test athena 3

* test athena 4

* test athena 5

* test athena 6

* test athena 7

* test athena 8

* test athena 9

* ??

* in one commit

* common?

* car and board

* -controls -board

* random-order

* no board

* revert

* car/tests

* least likely

* try

* try 2

* draft

* draft

* so much better

* cmt

* use randomly

* not needed here

* directly modify option works

* bb

* test time

* Revert "test time"

This reverts commit 2c5caabe2b.

* tmut

* i concur

* revert
2023-12-09 14:28:32 -08:00
Kacper Rączy f058b5d64e
webrtcd: webrtc streaming server (audio/video/cereal) (#30186)
* WebRTCClient and WebRTCServer abstractions

* webrtc client implementation

* Interactive test scripts

* Send localDescriptions as offer/asnwer, as they are different

* Tracks need to be added after setting remote description for multi-cam streaming to work

* Remove WebRTCStreamingMetadata

* Wait for tracks

* Move stuff to separate files, rename some things

* Refactor everything, create WebRTCStreamBuilder for both offer and answers

* ta flight done time to grind

* wait for incoming tracks and channels

* Dummy track and frame reader track. Fix timing.

* dt based on camera type

* first trial of the new api

* Fix audio track

* methods for checking for incoming tracks

* Web migration part 2

* Fixes for stream api

* use rtc description for web.py

* experimental cereal proxy

* remove old code from bodyav

* fix is_started

* serialize session description

* fix audio

* messaging channel wrapper

* fix audiotrack

* h264 codec preference

* Add codec preference to tracks

* override sdp codecs

* add logging

* Move cli stuff to separate file

* slight cleanup

* Fix audio track

* create codec_mime inside force_codec function

* fix incoming media estimation

* move builders to __init__

* stream updates following builders

* Update example script

* web.py support for new builder

* web speaker fixes

* StreamingMediaInfo API

* Move things around

* should_add_data_channel rename

* is_connected_and_ready

* fix linter errors

* make cli executable

* remove dumb comments

* logging support

* fix parse_info_from_offer

* improve type annotations

* satisfy linters

* Support for waiting for disconnection

* Split device tracks into video/audio files. Move audio speaker to audio.py

* default dt for dummy video track

* Fix cli

* new speaker fixes

* Remove almost all functionality from web.py

* webrtcd

* continue refactoring web.py

* after handling joystick reset in controlsd with #30409, controls are not necessary anymore

* ping endpoint

* Update js files to at least support what worked previously

* Fixes after some tests on the body

* Streaming fixes

* Remove the use of WebRTCStreamBuilder. Subclass use is now required

* Add todo

* delete all streams on shutdown

* Replace lastPing with lastChannelMessageTime

* Update ping text only if rtc is still on

* That should affect the chart too

* Fix paths in web

* use protocol in SSLContext

* remove warnings since aiortc is not used directly anymore

* check if task is done in stop

* remove channel handler wrapper, since theres only one channel

* Move things around

* Moved webrtc abstractions to separate repository

* Moved webrtcd to tools/webrtc

* Update imports

* Add bodyrtc as dependency

* Add webrtcd to process_config

* Remove usage of DummyVideoStreamTrack

* Add main to webrtcd

* Move webrtcd to system

* Fix imports

* Move cereal proxy logic outside of runner

* Incoming proxy abstractions

* Add some tests

* Make it executable

* Fix process config

* Fix imports

* Additional tests. Add tests to pyproject.toml

* Update poetry lock

* New line

* Bump aiortc to 1.6.0

* Added teleoprtc_repo as submodule, and linked its source dir

* Add init file to webrtc module

* Handle aiortc warnings

* Ignore deprecation warnings

* Ignore resource warning too

* Ignore the warnings

* find free port for test_webrtcd

* Start process inside the test case

* random sleep test

* test 2

* Test endpoint function instead

* Update comment

* Add system/webrtc to release

* default arguments for body fields

* Add teleoprtc to release

* Bump teleoprtc

* Exclude teleoprtc from static analysis

* Use separate event loop for stream session tests
2023-12-01 21:13:37 -08:00
Adeeb Shihadeh ae4e848285
Update Python packages and pre-commit hooks (#30534)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2023-11-27 09:57:37 -08:00
Adeeb Shihadeh eb3833037f
Update Python packages and pre-commit hooks (#30529) 2023-11-26 09:31:20 -08:00
Adeeb Shihadeh 2a55ff4f55
Update Python packages and pre-commit hooks (#30509)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-11-21 11:50:35 -08:00
Kacper Rączy 2de13bea91
Remove laika submodule (#30453)
* Remove laika submodule

* Remove laika check for minimal builds

* Fix minimal build check

* Bring back exclude for opendbc in codespell

* Fix typo

* Copy GNSS indices from laika

* Delete laika dependencies
2023-11-15 10:06:37 +01:00
Adeeb Shihadeh 51207aaae2
Update Python packages and pre-commit hooks (#30463)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-11-14 15:18:42 -08:00
Adeeb Shihadeh 3c043ba570
Update Python packages and pre-commit hooks (#30403)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-11-07 10:58:01 -08:00
Adeeb Shihadeh c04e019af4
Update Python packages and pre-commit hooks (#30352)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-10-31 11:31:57 -07:00
Dean Lee 61288dfe06
athenad: fix memory leak in `_do_upload()` (#30237)
* fix memory leak

* test: stash

* clean up

* clean up

* ruff

* rm

* add py memory profiler

* test compress and no compress

* proper test

* comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-29 07:08:28 -10:00
Adeeb Shihadeh d3d51980bc
Update Python packages and pre-commit hooks (#30321)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-10-24 11:25:39 -07:00
Adeeb Shihadeh 13bf8c26f3
Update Python packages and pre-commit hooks (#30269)
* Update Python packages and pre-commit hooks

* fix pyqt

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-10-18 20:18:08 -07:00
Adeeb Shihadeh ac21dcbdcb
Update Python packages and pre-commit hooks (#30215)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-10-10 10:37:54 -07:00
Justin Newberry 2048808827
add random order plugin (#30166)
add random order
2023-10-04 11:51:24 -07:00
Adeeb Shihadeh 377722fd5e
Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
Adeeb Shihadeh 0694d3b8f6
remove some python packages (#30135)
* less dependencies

* rm that

* add that back for now

* revert for now
2023-10-02 17:13:45 -07:00
Justin Newberry 3c55f76790
remove carla dependency (#30139)
* only docs and default

* remove carla dependency

* remove carla dependency
2023-10-02 16:11:56 -07:00
Justin Newberry f32294772d
Update metadrive (#30128)
update metadrive
2023-10-02 13:18:03 -07:00
Justin Newberry 2dd13c60cc
Revert "run unit tests in a random order (#29799)" (#30116)
This reverts commit b483efe764.
2023-09-30 17:23:38 -07:00
Adeeb Shihadeh b483efe764
run unit tests in a random order (#29799)
* run unit tests in a random order by default

* bump panda

* fix startup

* re-add random order plugin

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2023-09-30 15:56:23 -07:00
Kacper Rączy bfddcdaf89
aarch64: onnxruntime (#30095)
base onnxruntime for aarch64
2023-09-28 22:32:21 -07:00
Adeeb Shihadeh 2d5a2e3ab6
Update Python packages and pre-commit hooks (#30062)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-09-27 21:42:41 -07:00
Shane Smiskol fb8f7ba847
hypothesis: fix too slow health check (#30001)
* update hypothesis

* change less
2023-09-21 17:40:14 -07:00
Adeeb Shihadeh cd75dcb03f
Update Python packages and pre-commit hooks (#29974)
* Update Python packages and pre-commit hooks

* fix linter

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-09-19 16:24:58 -07:00
Adeeb Shihadeh 844b2815d5 add ruff package 2023-09-17 15:44:34 -07:00
Justin Newberry ad7432b45d
update metadrive (#29938) 2023-09-15 14:55:08 -07:00