Metadata-Version: 2.4
Name: asyncio_gazebo
Version: 1.0.0
Summary: Asyncio interface to gazebo transport subscribers. Based on asyncio_for_robotics
Author-email: Elian NEPPEL <elian.dev@posteo.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/2lian/asyncio-gazebo
Project-URL: Repository, https://github.com/2lian/asyncio-gazebo
Project-URL: Issues, https://github.com/2lian/asyncio-gazebo/issues
Keywords: asyncio,robotics,gazebo,publisher,subscriber
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Networking
Classifier: Framework :: AsyncIO
Requires-Python: <3.15,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: asyncio_for_robotics<2,>=1.3.5
Dynamic: license-file

# Asyncio Gazebo

Asyncio interface to gazebo transport subscribers!
Based on [`asyncio_for_robotics`](https://github.com/2lian/asyncio-for-robotics)

### Code Sample

This library is an [Asyncio for Robotics](https://github.com/2lian/asyncio-for-robotics) subscriber, for Gazebo transport. Refer to the detailed docs of *Asyncio for Robotics* to use the subscriber and asyncio.

```python
sub = asyncio_gazebo.Sub(Pose_V, "/world/diff_drive/dynamic_pose/info")

# Get a new message
await sub.wait_for_new()

# Continuously process all incoming messages
async for msg in sub.listen_reliable():
    print(msg)

# and many more ...
```

# Installation

You need to [install Gazebo transport](https://gazebosim.org/api/transport/15/installation.html).

```bash
pip install https://github.com/2lian/asyncio-gazebo
```

### [Example code](./asyncio_gazebo/example.py)

```bash
pixi run python -m asyncio_gazebo.example
```
