Skip to content

mbari-org/gz-python-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gz-python-bindings

When using Gazebo Harmonic and ROS 2 Jazzy together, gz-* packages come from ros-jazzy-gz-* apt repos. Python bindings for these packages are not distributed via apt or pip. This repository, gz-python-bindings builds the python bindings and packages them up in a simple PyPI index url for an easy pip install.

Prerequisites

Follow instructions for Installing Gazebo with ROS.

  1. Install ROS 2 Jazzy

  2. Install ros_gz

    sudo apt update
    sudo apt install ros-jazzy-ros-gz
    
  3. Ensure these packages are also installed

    sudo apt update
    sudo apt install ros-jazzy-gz-sim-vendor ros-jazzy-gz-math-vendor
    

Install

python3 -m pip install -i https://mbari-org.github.io/gz-python-bindings/simple gz-python-bindings

Use

from gz.sim8 import *
from gz.common5 import *
from gz.math7 import *

About

builds gz python bindings and makes available for pip install -- gz.math, gz.sim, gz.common

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages