Skip to main content

Python bindings for the Gazebo multi-robot simulator.

Project description

https://travis-ci.org/jpieper/pygazebo.png?branch=develop https://pypip.in/d/pygazebo/badge.png https://coveralls.io/repos/jpieper/pygazebo/badge.png?branch=develop

pygazebo provides python bindings for the Gazebo (http://gazebosim.org) multi-robot simulator.

Features

  • Supports publishing and subscribing to any Gazebo topics using a straightforward python API.
  • Python versions of all defined Gazebo protobuf messages are included.
  • Based on eventlet (http://eventlet.net), for easy concurrency support.

Simple Usage

The following example shows how easy it is to publish a message repeatedly to control a single joint in a Gazebo model running on the local machine on the default port.

import eventlet
from pygazebo import Manager

manager = Manager()
publisher = manager.advertise('/gazebo/default/model/joint_cmd',
                              'gazebo.msgs.JointCmd')

message = pygazebo.msg.joint_cmd_pb2.JointCmd()
message.axis = 0
message.force = 1.0

while True:
    publisher.publish(message)
    eventlet.sleep(1.0)

History

2.2.1-2014.1 (2014-02-11)

  • First release on PyPI.

Project details


Release history Release notifications

History Node

3.0.0-2014.1

History Node

2.2.1-2014.2

This version
History Node

2.2.1-2014.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pygazebo-2.2.1-2014.1.tar.gz (36.4 kB) Copy SHA256 hash SHA256 Source None Feb 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page