Commit Graph

1357 Commits

Author SHA1 Message Date
Justin Newberry
3d0ae1aaaa prevent typing issue in azure_container (#31044)
prvent that issue
old-commit-hash: 840db1f1b7
2024-01-17 15:34:24 -08:00
Justin Newberry
09b95b715c cleanup azure handling (#31034)
* wip cleanup

* Wip

* fixes

* fix

* cleanup

* keep this for now

* dest
old-commit-hash: 3f0b56b364
2024-01-17 14:21:47 -08:00
Justin Newberry
a9676e7086 auto_source: optimize api calls and use head to determine if file exists (#31025)
* fast

* catch all

* source

* fix file_exists

* remove duplicate reset

* test multiple loops

* iterations

* cleanup imports
old-commit-hash: 2967cada71
2024-01-16 17:24:37 -08:00
Justin Newberry
5df01b3d22 LogReader: fix plotjuggler not reading properly (#31023)
* fix plotjuggler

* simpler

* fix juggler

* fix that
old-commit-hash: 61fe705160
2024-01-16 12:40:49 -08:00
Justin Newberry
4b7edec2b0 LogReader: move opci to tools/lib (#31021)
move opci
old-commit-hash: 7d400112df
2024-01-16 10:58:51 -08:00
Justin Newberry
35dcd7ccd8 LogReader: support lists of identifiers (#31020)
* support lists of logs

* mark as slow instead
old-commit-hash: 0739d5d7b2
2024-01-16 10:40:00 -08:00
Justin Newberry
13e7366b6d LogReader: support only_union_types (#31019)
support only-union-types
old-commit-hash: 4da8d16514
2024-01-16 10:03:55 -08:00
Adeeb Shihadeh
bf6fc7a24f more unit test speedup (#30997)
* that's super slow

* fix startup test

* fix
old-commit-hash: fe6aff0131
2024-01-13 22:21:43 -08:00
Adeeb Shihadeh
96e9a7d3ce CI: speedup unit test job (#30995)
* start

* mv to buildjet

* fix
old-commit-hash: e17e66180c
2024-01-13 21:16:35 -08:00
Justin Newberry
f138a6eccf Metadrive: fix map config on main (#30983)
* Fix map api too

* dont render
old-commit-hash: 28e5d1bb49
2024-01-12 14:42:40 -08:00
Justin Newberry
c8cc30112d rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
old-commit-hash: 3d73512c07
2024-01-12 12:53:50 -08:00
Justin Newberry
a729e102c7 Replace multilogiterator (#30980)
old-commit-hash: 9f1b72ac79
2024-01-12 11:43:32 -08:00
Justin Newberry
86139fd98e fix metadrive after bump (#30967)
* fix clip

* wip

* oop

* 1.22

* ... ugly

* fix tuning
old-commit-hash: f2c73039d7
2024-01-11 18:09:39 -08:00
Justin Newberry
20e9969f8e move plotjuggler to segment range reader (#30969)
* pj

* limit test to 2 segs

* remove

* fix test
old-commit-hash: d7e7659852
2024-01-11 17:02:47 -08:00
Justin Newberry
1b65d5cd85 segmentrangereader: support direct parsing (#30973)
* use correct source

* revert

* cleanup imports

* clean

* direct parsing

* rename

* move up

* fixes

* fix that

* better error message
old-commit-hash: eb09294fc2
2024-01-11 16:56:48 -08:00
Justin Newberry
407d302106 car porting examples: add example of plotting the response of brake_pressure vs acceleration (#30958)
* another example

* add comment

* fix that

* oop

* fix link
old-commit-hash: 8d9e431f43
2024-01-11 13:35:50 -08:00
Justin Newberry
3231738be9 move can replay to segmentrangereader (#30971)
can replay
old-commit-hash: 042ccb9244
2024-01-11 13:11:59 -08:00
Justin Newberry
11449845e7 segmentrangereader: support more sources (#30970)
* support more sources

* remove this
old-commit-hash: fb994ae782
2024-01-11 12:55:19 -08:00
Justin Newberry
dd7921de3f replace more tools with SegmentRangeReader (#30968)
* replace lrfros

* and those ones too
old-commit-hash: 7e9843b5e6
2024-01-11 11:46:31 -08:00
Justin Newberry
3b86243f1f SegmentRangeReader: log type selector (#30960)
* log type selector

* test this too

* and this

* invalid selector

* use strenum

* don't hardcode size

* oneline
old-commit-hash: be814ed447
2024-01-11 10:25:24 -08:00
Hoang Bui
c17fc021e9 Enable variable pass between test and metadrive processes (#30961)
pass started between processes
old-commit-hash: 1da08460cb
2024-01-10 18:13:21 -08:00
Justin Newberry
9e6c6d92b0 segmentrangereader: support sort_by_time (#30954)
support sort-by-time
old-commit-hash: cfb23eb2d1
2024-01-10 13:36:55 -08:00
Justin Newberry
1f434b2714 SegmentRangeReader: new format for reading multiple segments (#30940)
* segment range reader

* rename that

* revert that

* cleanup

* revert this for now

* revert this for now

* Fix + test

* rm that

* rm that

* use for auto_fingerprint

* simpler

* for notebook too

* match numpy indexing

* just use numpy directly

* remove that

* spacing

* spacing

* use qlog for auto fingerprint

* add 'read mode'

* pass in read mode

* add test for modes

* numpy indexing

* fix that case

* more examples

* fix the notebook

* cleanup the notebook

* cleaner

* fix those
old-commit-hash: 0d126e1e9e
2024-01-10 11:55:19 -08:00
Hoang Bui
87cadf7262 Python camerad for webcam (#30930)
* webcamd

* remove destroy windows

* block

* shebang execute

* executaleeeee

* executableeeeeee

* she bang for camerad.py

* listener

* no signal?

* good

* ruff fix

* delete listener

* recover sim

* remove assert

* refactor

* fix shell

* fix namedtuple

* little change

* to tuple

* cleanup

* update readme

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7fdd5c4a7d
2024-01-08 19:22:21 -08:00
Shane Smiskol
fc23ab6c8d Fix string indentation (#30943)
* fix bad spacing

* more

* these aren't important
old-commit-hash: d689a4e653
2024-01-08 15:36:43 -08:00
Adeeb Shihadeh
7243b9b68e Revert "UI: single-threaded CameraView (#30397)"
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.

old-commit-hash: 073fc89ad4
2024-01-07 14:54:39 -08:00
Justin Newberry
090d3d2e41 move profiling tools to tools/profiling (#30917)
move profiling
old-commit-hash: 03d6233743
2024-01-05 16:22:45 -08:00
Adeeb Shihadeh
8d11c3b742 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>
old-commit-hash: 46f3fdc090
2024-01-05 15:17:49 -08:00
Justin Newberry
25374edffd add the notebook example to car port docs (#30920)
* add the notebook example

* fix link

* add image

* no lfs

* no lfs
old-commit-hash: 239b228ca6
2024-01-05 13:57:02 -08:00
Justin Newberry
040223e69f move car porting tools to tools/car_porting (#30916)
just this for now
old-commit-hash: e86d74b347
2024-01-05 11:53:03 -08:00
Justin Newberry
278eef0c71 tools: add car porting example notebook (#30918)
* add car porting example notebooks

* not required
old-commit-hash: 15e0a906ad
2024-01-05 11:52:24 -08:00
Dean Lee
2f8e66dbb8 UI: single-threaded CameraView (#30397)
* single-threaded CameraView

* updateFrame

* inherit from CameraWidget

* clear frame on offroadTransition

* check frame_id

* optional

* unique_ptr

* CameraView

* cleanup

* cleanup

* log skipping frame

* fix driverview

* disconnectVipc

* debug inconsistent frame

* skip frame if uiPlan is outdate

* cleanup

* set connected = false

* support camerad reboot&seeking in replay

* cleanup

* qDebug

* use deque

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 17ac1d3c7b
2024-01-03 13:14:29 -08:00
Justin Newberry
7aecd2f91d url_file: fix non-200 files being cached (#30886)
* fix + test

* fix unclosed

* easier to read

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

* fix that

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fba521ecc6
2024-01-02 12:42:08 -08:00
Kacper Rączy
a97f55dadb metadrive: Change camera position to reflect typical height of a vehicle (#30831)
old-commit-hash: 65ece2081a
2024-01-01 14:36:37 -08:00
Sliicy
fc2e961f1b Fixed joystickd.py incorrect steering control (#30879)
old-commit-hash: 6ccf2cbfde
2024-01-01 14:29:01 -08:00
Robbe Derks
8929336cc0 [Cabana] Fix segfault in sparkline (#30870)
old-commit-hash: eb805e889e
2023-12-31 13:02:05 -08:00
pencilpusher
63608539b1 replay ui: fix typo in variable name (#30851)
fix typo in variable name
old-commit-hash: ee3544d283
2023-12-26 16:03:59 -08:00
Justin Newberry
c3551ea4ec Simulator: fix keyboard ctrl messing with pytest (#30827)
fix
old-commit-hash: a6b17fb1f6
2023-12-20 15:10:11 -08:00
Dean Lee
8056fe5aff cabana: add csv export (#30800)
export csv
old-commit-hash: 5f04517677
2023-12-19 11:50:16 -08:00
Justin Newberry
a3eafc8cd5 Simulator: only send camera frames at rate that they are generated (#30802)
only send frames at rate that they are generated
old-commit-hash: 8017c25f0b
2023-12-19 10:45:07 -08:00
Dean Lee
6ae3e95542 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8
2023-12-17 22:42:52 -08:00
Adeeb Shihadeh
207073dc4c fix unused
old-commit-hash: 51a93cf9aa
2023-12-17 16:32:56 -08:00
royjr
d41f215df8 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 7ca39e618917986f50356519d2795a432e3a5280.

* 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
old-commit-hash: 70624ffc81
2023-12-17 16:25:25 -08:00
Adeeb Shihadeh
9b40f9ab5f move common.window to xx (#30777)
old-commit-hash: 2c30421b16
2023-12-17 10:50:45 -08:00
Justin Newberry
4627aca7a3 Metadrive: set near clip (#30745)
set near
old-commit-hash: da12a34ff6
2023-12-14 21:03:02 -08:00
Kacper Rączy
c8160d33fa metadrive: fix dual_camera mode (#30743)
* Use wide cam in metadrive

* 120 fov
old-commit-hash: 5fe9f1459c
2023-12-14 20:51:06 -08:00
Justin Newberry
ba865f4580 Simulator: fix safety param (#30738)
fix param
old-commit-hash: 977dd033c4
2023-12-14 19:34:06 -08:00
Justin Newberry
9d187f9f92 Docker: add xvfb (#30727)
add xvfb
old-commit-hash: 075e6ff3e6
2023-12-14 12:46:24 -08:00
Adeeb Shihadeh
379989e863 fixup can replay for jungle v2 and tres
old-commit-hash: ae85ee0932
2023-12-13 17:00:14 -08:00
Adeeb Shihadeh
37df8dbb72 Revert "compressed_vipc: fix issues with VisionIpcServer in ZMQ mode (#30115)"
This reverts commit 8cc4d294e436e0cda167e525b80c8ceed1e619ab.

old-commit-hash: 73db7e8e3a
2023-12-12 19:16:46 -08:00