Commit Graph

16 Commits

Author SHA1 Message Date
Michel Le Bihan
b4c8e0834d Simulator: Add world status reporting (#31740) 2024-03-06 19:16:21 -08:00
Michel Le Bihan
32fb58656a Only print keyboard help on poll start and unknown command (#31710) 2024-03-05 10:36:01 -08:00
Michel Le Bihan
87a9445d56 Add simple MetaDrive scenario (#31686) 2024-03-04 08:54:08 -08:00
Cameron Clough
995250ae49 use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
2024-02-24 16:41:23 -08:00
Hoang Bui
71236204bb Fix self.started value pass in metadrive test (#31153)
* fix value pass

* fix test

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2024-02-02 12:06:05 -08:00
Justin Newberry
e49eb4c54f Simulator: prepare to make bridge a PythonProcess (#31201)
* sim services

* clean
2024-01-29 10:11:02 -08:00
Kacper Rączy
43e1409fd2 metadrive: fix wasd steer signs (#30623)
* Swap AD signs

* Fix type annotation

* fix user torque

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2023-12-12 14:09:07 -08:00
Justin Newberry
ba90bdf7d9 Simulator: blinkers and lane changes (#30107)
blinkers and lane changes
2023-09-29 16:32:45 -07:00
Justin Newberry
5c2cbec06e Simulator: wait for engageable (#30105)
wait for engageable
2023-09-29 12:18:49 -07:00
Justin Newberry
9d3dbd245a Metadrive: move to a separate process (#30103)
* split bridge into two files

* fix metadrive

* wip

* fix tests too

* separate process

* sepeprate process

* finish moving to another process

* remove spammy output
2023-09-29 11:45:14 -07:00
Justin Newberry
2792e5f2db Simulation: engage on startup, print help message (#30044) 2023-09-27 07:21:46 -07:00
Justin Newberry
f18d66fa3e Simulator: cleanup old common stuff (#30069)
cleanup
2023-09-26 17:05:46 -07:00
Justin Newberry
98451611be Simulator: fix metadrive tick frequency (#30043)
sim rate fix
2023-09-25 16:28:09 -07:00
Justin Newberry
0857f4bb85 Simulator: add reset hotkey (#29995)
add sim reset
2023-09-20 17:28:41 -07:00
Justin Newberry
e02519bb71 Simulator: add metadrive as optional simulator (#29935)
* Add metadrive sim

* use monotonic

* don't use cuda if it's not available

* Cleanup metadrive patches

* PR suggestions

* fix typo
2023-09-20 10:35:57 -07:00
Justin Newberry
7f6718a7cb Simulator: cleanup in preparation for metadrive (#29903)
* sim bridge cleanup

* fix carla

* remove that exception

* pr cleanup

* update car in a thread

* more cleanup

* import sorting

* handle exits better
2023-09-15 14:02:09 -07:00