Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camille-004/robo-sim
https://github.com/camille-004/robo-sim
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/camille-004/robo-sim
- Owner: camille-004
- Created: 2024-03-29T19:30:41.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-28T09:11:46.000Z (8 months ago)
- Last Synced: 2024-04-29T08:57:32.534Z (8 months ago)
- Language: Python
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RoboSim---
## Project Status[![](https://raw.githubusercontent.com/aregtech/areg-sdk/master/docs/img/pin.svg)](#project-status)
---
## Getting Started
Ensure that you have the package installed and configured in your environment.
1. Clone the [`robo-sim`](https://github.com/camille-004/robo-sim/tree/main) repository to your machine.
2. Navigate to the root directory of the project.
3. Install the package using `pip`.```sh
pip install -e .
```### Running Examples with CLI
RoboSim comes with a set of predefined example configurations located in the `configs` directory. To run an example simulation, use the following CLI command structure.
```sh
robo_sim example
```#### Example Command
To run the `sensor_robot` example using the A* algorithm, execute:
```sh
robo_sim example sensor_robot AStar
```### Running Custom Simulations
1. To create a YAML configuration file for your simulation, refer to the `Config` model descriptions in the documentation for the required structure.
2. Run your simulation with the below script. To see the the rest of supported algorithms, refer to [`robo_sim/algorithms/enums.py`](https://github.com/camille-004/robo-sim/blob/main/robo_sim/algorithms/enums.py).```python
from pathlib import Pathfrom robo_sim import Sim
config_path = Path("my_custom_config.yaml")
sim = Sim(config_path, algorithm="AStar")
sim.run()
```