PyBullet.jl
A light-weight Julia wrapper for the awesome PyBullet package.
Installation
- Install anaconda by following the instructions on this website.
- Run
echo export JULIA_CONDAPKG_BACKEND="System" > ~/.bashrc
in your terminal. - Run
source ~/.bashrc
in your terminal. - Open your Julia REPL by typing
julia
in your terminal. - Press
]
on your keyboard to enter the package manager - Enter command
add https://github.com/adubredu/PyBullet.jl
and pressEnter
on your keyboard to install this package. - Press the
Backspace
key on your keyboard to return to the REPL
Usage
See the examples folder for usage examples.
Features
Alongside having the full features of PyBullet, this Julia package also wraps Caelan Garrett's very useful pybullet_planning Python package, which provides implementations of numerous sampling-based motion planning algorithms and other handy utility functions for PyBullet.
But...why?
PyBullet is cool, Julia is cooler so they were bound to be together...at some point.
Why didn't you instead create Bullet.jl
The PyBullet package is essentially Python bindings for the Bullet C++ library.
It seems like the more astute thing to do (for performance concerns) is to create a Julia wrapper for the core Bullet C++ library instead of creating a Julia wrapper for a Python wrapper of a C++ library. However, the great Erwin Coumans (Creator of Bullet and PyBullet), has created some really cool features in PyBullet, especially for Reinforcement learning applications, that might not be easily accessible when using the raw Bullet C++ library. PyBullet also as arguably the best and most convenient API of any robotics simulator.
And since it is waaay easier to create this Julia wrapper for the PyBullet Python module than it is to create a Julia wrapper for the Bullet C++ library,
and since it is currently 2:47am and I'm sleep-deprived,
and since really coool people like Christopher Rowley have created really coool Julia packages like PythonCall.jl for effortlessly creating Julia wrappers for Python modules,
I simply decided to create a Julia Wrapper for the super-cool PyBullet module.