Skip to main content
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 asyncio/trollius for flexible 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 trollius
from trollius import From

import pygazebo
import pygazebo.msg.joint_cmd_pb2

@trollius.coroutine
def publish_loop():
    manager = yield From(pygazebo.connect())

    publisher = yield From(
        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:
        yield From(publisher.publish(message))
        yield From(trollius.sleep(1.0))

loop = trollius.get_event_loop()
loop.run_until_complete(publish_loop())

History

3.0.0-2014.1 (2014-07-04)

  • Switch from eventlet to trollius/asyncio, for better compatibility with other event loops and future python versions.

  • Update to gazebo 3.0.0

2.2.1-2014.2 (2014-06-04)

  • Properly support sending and receiving large messages.

2.2.1-2014.1 (2014-02-11)

  • First release on PyPI.

Release files for pygazebo 3.0.0-2014.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygazebo 3.0.0-2014.1
File Size Uploaded
pygazebo-3.0.0-2014.1.tar.gz 39.4 kB Details

Release files / pygazebo-3.0.0-2014.1.tar.gz

Download URL pygazebo-3.0.0-2014.1.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ffbb430376493c48c6084f297e446c45e18355efcdd9ebb9f7b8dbbcb5b6e958
BLAKE2b-256 checksum
How to use checksums
143672fca4075e0a20de4e3aafc753001f2e67d865ade1d5207e088a5511badb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.0.0-2014.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page