Skip to main content

SCENe interfAces for Robot Input/Output.

Project description

ScenarIO

C++ standard Size Lines Python CI/CD

Version Python versions Status Format License

SCENe interfAces for Robot Input / Output.

Description

ScenarIO is a C++ abstraction layer to interact with simulated and real robots.

It mainly provides the following C++ interfaces:

  • scenario::core::World
  • scenario::core::Model
  • scenario::core::Link
  • scenario::core::Joint

These interfaces can be implemented to operate on different scenarios, including robots operating on either simulated worlds or in real-time.

ScenarIO currently fully implements Gazebo ScenarIO, a simulated back-end that interacts with Ignition Gazebo. The result allows stepping the simulator programmatically, ensuring a fully reproducible behaviour. It relates closely to other projects like pybullet and mujoco-py.

A real-time backend that interacts with the YARP middleware is under development.

ScenarIO can be used either from C++ (APIs) or from Python (APIs).

If you're interested to know the reasons why we started developing ScenarIO and why we selected Ignition Gazebo for our simulations, visit the Motivations section of the website.

Installation

ScenarIO only supports a single distribution of the Ignition suite. Visit our Support Policy to check the distribution currently supported.

Then, install the supported Ignition suite following the official instructions.

Python

Execute, preferably in a virtual environment:

pip install scenario

C++

You can either clone and install the standalone project:

git clone https://github.com/robotology/gym-ignition
cd gym-ignition/scenario
cmake -S . -B build/
cmake --build build/ --target install

or include it in your CMake project with FetchContent.

Usage

You can find some examples that show the usage of ScenarIO in the Getting Started section of the website.

Contributing

Please visit the Limitations section of the website and check the good first issue and help wanted issues.

You can visit our community forum hosted in GitHub Discussions. Even without coding skills, replying user's questions is a great way of contributing. If you use ScenarIO in your application and want to show it off, visit the Show and tell section!

Pull requests are welcome.

For major changes, please open a discussion first to propose what you would like to change.

Citation

@INPROCEEDINGS{ferigo2020gymignition,
    title={Gym-Ignition: Reproducible Robotic Simulations for Reinforcement Learning},
    author={D. {Ferigo} and S. {Traversaro} and G. {Metta} and D. {Pucci}},
    booktitle={2020 IEEE/SICE International Symposium on System Integration (SII)},
    year={2020},
    pages={885-890},
    doi={10.1109/SII46433.2020.9025951}
} 

License

LGPL v2.1 or any later version.

We vendor some resources from the Ignition code base. For this reason, Gazebo ScenarIO is double-licensed with the Apache License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scenario-1.2.3.dev135.tar.gz (150.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scenario-1.2.3.dev135-cp39-cp39-manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.9

scenario-1.2.3.dev135-cp38-cp38-manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8

File details

Details for the file scenario-1.2.3.dev135.tar.gz.

File metadata

  • Download URL: scenario-1.2.3.dev135.tar.gz
  • Upload date:
  • Size: 150.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for scenario-1.2.3.dev135.tar.gz
Algorithm Hash digest
SHA256 48f10ed0e315782dc883d7f817f6a14f1b7cc19a08af3a977ac65165c9684aff
MD5 f61edfbe67baab4cdde5b9944cb05aa8
BLAKE2b-256 b04fe15f7cd4298fefc5bf678e0b1efc409cfe701146ff436aaec6e7ea401b0e

See more details on using hashes here.

File details

Details for the file scenario-1.2.3.dev135-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: scenario-1.2.3.dev135-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for scenario-1.2.3.dev135-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e146877964704a4038ae2d70182340021906f043f5f7446d138182e60f1ff781
MD5 1c34ea4798c929812011b58469702af0
BLAKE2b-256 03fbf088244c1ab93254eac12aa9150f00d0577d2bdbe1914d120011c2f446d3

See more details on using hashes here.

File details

Details for the file scenario-1.2.3.dev135-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: scenario-1.2.3.dev135-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for scenario-1.2.3.dev135-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e97585f5d5987454f1f75ef91dae20c6ac40a46854c747165b8fd09900d908a0
MD5 674cc0c0286760e1e31e4837d13daad3
BLAKE2b-256 1c6ced1071324bc3fcb45e6a3bba701a2762d057db2e056cd1fcd203e1c290e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page