Go to file
2016-10-12 09:57:14 -07:00
build3 pybullet: add option to use NumPy to speed up, thanks to moof2k 2016-09-11 11:35:12 +01:00
data add kuka iiwa with different limits (experiment with inverse kinematics null space) 2016-10-09 21:16:01 -07:00
docs add Bullet logos in the docs/logo folder 2015-08-12 20:14:30 -07:00
examples Fix the link transform in world frame in IK. 2016-10-12 09:57:14 -07:00
Extras add VHACD, with the addition of Wavefront .obj export 2016-09-26 07:16:18 -07:00
src remove some useless global constants, move them right into the constructor 2016-10-07 09:00:49 -07:00
test Create project file for BussIK inverse kinematics library (premake, cmake) 2016-09-08 15:15:58 -07:00
.travis.yml revert numpy test/travis.yml 2016-09-11 10:47:00 +01:00
appveyor.yml Update appveyor.yml 2016-09-11 10:10:25 +01:00
AUTHORS.txt Update AUTHORS.txt 2016-09-25 18:30:54 -07:00
build_and_run_cmake.sh add pybullet render API with yaw/pitch/roll option 2016-08-08 14:23:44 -07:00
build_and_run_premake.sh move some easy-to-use build files for Mac OSX, Linux and Windows 2016-05-21 10:45:08 -07:00
build_visual_studio_vr_pybullet_double.bat expose b3PhysicsParamSetNumSolverIterations 2016-10-05 16:31:48 -07:00
build_visual_studio.bat expose b3PhysicsParamSetNumSolverIterations 2016-10-05 16:31:48 -07:00
bullet.pc.cmake pkg-config: Fixing regression introduced by e46b7b2 2016-06-30 14:02:19 -04:00
BulletConfig.cmake.in Add the old Bullet 2.x obsolete demos, and CMake buildsystem files, and gradually move them to newer Bullet 3.x structure 2013-12-19 12:40:59 -08:00
CMakeLists.txt Fix typo 2016-09-14 17:22:54 -04:00
Doxyfile add Doxyfile 2015-05-01 16:51:59 -07:00
LICENSE.txt add latex source of Bullet 2.82 quickstart guide, todo: update to current release 2015-04-29 15:12:31 -07:00
README.md Update README.md 2016-10-05 17:27:34 -07:00
UseBullet.cmake fix make install, when using CMake 2014-03-06 11:40:35 -08:00
VERSION fix in structure alignment of btMultiBodyLinkDoubleData and btMultiBodyDoubleData 2016-08-26 10:00:29 -07:00
xcode.command move some easy-to-use build files for Mac OSX, Linux and Windows 2016-05-21 10:45:08 -07:00

Travis Build Status Appveyor Build status

Bullet 2.x including pybullet, Virtual Reality support

This is the official repository of Bullet 2.x, moved from http://bullet.googlecode.com It includes the optional experimental Bullet 3 GPU pipeline.

The Bullet 2 API will stay default and up-to-date while slowly moving to a new API. The steps towards a new API is in a nutshell:

  1. The old Bullet2 demos are being merged into the examples/ExampleBrowser
  2. A new physics-engine agnostic C-API is created, see examples/SharedMemory/PhysicsClientC_API.h
  3. Python bindings in pybullet are on top of this C-API, see examples/pybullet
  4. A Virtual Reality sandbox using openvr for HTC Vive and Oculus Rift is available
  5. The OpenCL examples in the ExampleBrowser can be enabled using --enable_experimental_opencl

You can still use svn or svn externals using the github git repository: use svn co https://github.com/bulletphysics/bullet3/trunk

Requirements for Bullet 2

A C++ compiler for C++ 2003. The library is tested on Windows, Linux, Mac OSX, iOS, Android, but should likely work on any platform with C++ compiler. Some optional demos require OpenGL 2 or OpenGL 3, there are some non-graphical demos and unit tests too.

Contributors and Coding Style information

https://docs.google.com/document/d/1u9vyzPtrVoVhYqQOGNWUgjRbfwfCdIts_NzmvgiJ144/edit

Requirements for Bullet 3

The entire collision detection and rigid body dynamics is executed on the GPU.

A high-end desktop GPU, such as an AMD Radeon 7970 or NVIDIA GTX 680 or better. We succesfully tested the software under Windows, Linux and Mac OSX. The software currently doesn't work on OpenCL CPU devices. It might run on a laptop GPU but performance will not likely be very good. Note that often an OpenCL drivers fails to compile a kernel. Some unit tests exist to track down the issue, but more work is required to cover all OpenCL kernels.

License

All source code files are licensed under the permissive zlib license (http://opensource.org/licenses/Zlib) unless marked differently in a particular folder/file.

Build instructions for Bullet using premake. You can also use cmake instead.

Windows

Click on build_visual_studio.bat and open build3/vs2010/0MySolution.sln

Windows Virtual Reality sandbox for HTC Vive and Oculus Rift

Click on build_visual_studio_vr_pybullet_double.bat and open build3/vs2010/0MySolution.sln Edit this batch file to choose where Python include/lib directories are located. Build and run the App_SharedMemoryPhysics_VR project, preferably in Release/optimized build. You can connect from Python pybullet to the sandbox using:

import pybullet as p
p.connect(p.SHARED_MEMORY)

Linux and Mac OSX gnu make

In a terminal type:

cd build3

Depending on your system (Linux 32bit, 64bit or Mac OSX) use one of the following lines

./premake4_linux gmake
./premake4_linux64 gmake
./premake4_osx gmake

Then

cd gmake
make

Mac OSX Xcode

Click on build3/xcode4.command or in a terminal window execute

./premake_osx xcode4

Usage

The App_ExampleBrowser executables will be located in the bin folder. You can just run it though a terminal/command prompt, or by clicking it.

[--start_demo_name="Demo Name"]     Start with a selected demo  
[--mp4=moviename.mp4]               Create a mp4 movie of the window, requires ffmpeg installed
[--mouse_move_multiplier=0.400000]  Set the mouse move sensitivity
[--mouse_wheel_multiplier=0.01]     Set the mouse wheel sensitivity
[--background_color_red= 0.9]       Set the red component for background color. Same for green and blue
[--fixed_timestep= 0.0]             Use either a real-time delta time (0.0) or a fixed step size (0.016666)

You can use mouse picking to grab objects. When holding the ALT or CONTROL key, you have Maya style camera mouse controls. Press F1 to create a series of screenshots. Hit ESCAPE to exit the demo app.

See docs folder for further information.