Giter Site home page Giter Site logo

chisarie / iai_bullet_sim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aroefer/prime_bullet

0.0 0.0 0.0 6.74 MB

This repository contains a Python wrapper for the PyBullet API, to easily simulate robots and their environments.

License: MIT License

Shell 0.02% JavaScript 2.69% Python 88.08% CSS 2.35% HTML 3.39% CMake 3.47%

iai_bullet_sim's Introduction

Total alerts Language grade: Python Language grade: JavaScript

The iai_bullet_sim

This ROS package provides an object oriented wrapper around the bullet physics engine's Python interface. It is supposed to make working with bullet in Python easier and provides a small simulator which is interfaced with the ROS ecosystem.

Installation

This installation will create a new ROS workspace and use wstool to install the simulator. The instructions were tested on a Ubuntu 16.04 with ROS kinetic and cmake 3.5.1.

Creating a workspace

source /opt/ros/kinetic/setup.bash          # start using ROS kinetic
mkdir -p ~/bullet_ws/src                    # create directory for workspace
cd ~/bullet_ws                              # go to workspace directory
catkin init                                 # init workspace
cd src                                      # go to source directory of workspace
wstool init                                 # init rosinstall

Cloning simulator and Bullet using wstool

wstool merge https://raw.githubusercontent.com/aroefer/iai_bullet_sim/master/rosinstall/catkin.rosinstall
                                            # update rosinstall file
wstool update                               # pull source repositories
rosdep install --ignore-src --from-paths .  # install dependencies available through apt
cd ..                                       # go to workspace directory
catkin build                                # build packages
source ~/bullet_ws/devel/setup.bash         # source new overlay

Building Bullet

cd ~/bullet_ws/src/bullet3
./build_cmake_pybullet_double.sh

To use the Python bindings for Bullet, you need to add them to your PYTHONPATH. If did all of the steps above, the built library should be located in ~/bullet_ws/bullet3/build_cmake/examples/pybullet.

Documentation

Documentation and tutorials can be found here.

iai_bullet_sim's People

Contributors

aroefer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.