A Python package for rapid-prototyping and scripting of simulations for Gazebo
Project description
The pcg_gazebo Python package is an Open Source Project extending the simulation capabilities of the robotics simulator Gazebo for automation and scripting of Gazebo simulations.
Visit the documentation page for more information.
Purpose of the project
This software is a research prototype.
The software is not ready for production use. It has neither been developed nor tested for a specific use case. However, the license conditions of the applicable Open Source licenses allow you to adapt the software to your needs. Before using it in a safety relevant setting, make sure that the software fulfills your requirements and adjust it according to any applicable safety standards (e.g. ISO 26262).
Installation
Using pip
You can install the pcg-gazebo package using pip as follows
pip install pcg-gazebo
you still might need to install some extra dependencies that cannot be handled by pip as
sudo apt install libspatialindex-dev pybind11-dev libgeos-dev
Give some issues with the package rtree on pip, it would also be recommended to install it from apt. Please install python-rtree if you are using Python 2.x or python3-rtree for Python 3.x.
The default installation does not include rospy dependencies that are not available as a pip package. They have to be installed separately for certain submodules to work, such as pcg_gazebo.task_manager.
From source
First install some non-Python dependencies
sudo apt install libspatialindex-dev pybind11-dev libgeos-dev libfcl-dev liboctomap-dev
Then clone the repository and install it using pip
git clone https://github.com/boschresearch/pcg_gazebo.git cd pcg_gazebo pip install .
Using the package with ROS and Gazebo
Certain functionalities as the Gazebo proxy, task manager and model spawning are only available if rospy is installed. The lack of Gazebo and rospy only restricts functionalities related to interaction with the simulation in runtime and the creation of ROS-related tasks.
At the moment, ROS 2 is not supported for this purpose. To install ROS melodic, follow these installation instructions and install ros-melodic-desktop-full or separately install Gazebo and its ROS bindings as
sudo apt install gazebo9 libgazebo9-dev ros-melodic-gazebo-*
License
Procedural Generation for Gazebo is open-sourced under the Apache-2.0 license. See the LICENSE file for details.
For a list of other open source components included in Procedural Generation for Gazebo package, see the file 3rd-party-licenses.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pcg_gazebo-0.7.12.tar.gz
.
File metadata
- Download URL: pcg_gazebo-0.7.12.tar.gz
- Upload date:
- Size: 301.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236fa03fdd7b206e5e2b45657d3c6d857b6c3ec2e8bee6fea0cf16c7baed36ca |
|
MD5 | a1a2788b16eba9d5d2f434a2f4e06697 |
|
BLAKE2b-256 | 2c4d54f64c004da3282e443765c702b08f1a4926301eb6686c9754ae274b2871 |
File details
Details for the file pcg_gazebo-0.7.12-py3-none-any.whl
.
File metadata
- Download URL: pcg_gazebo-0.7.12-py3-none-any.whl
- Upload date:
- Size: 664.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655edb8bc9c5b0b6c6a5921826ffb793abbc905a7e638a5ffed087a06847e046 |
|
MD5 | b2bbf00b9d1515f5633f90b7b2f1da8a |
|
BLAKE2b-256 | 775f4f72bc18c50ce508fb09133de0d2477f2fbcdea24634546650befbe5058e |