Skip to content

scpeters/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics benchmarks using the Gazebo Simulator

Documentation for physics benchmarks in the Gazebo-classic simulator. This folder contains documentation for several multibody benchmark problems in iPython notebook format. These documents can be viewed online in the following locations or on your own machine following the instructions given below:

boxes benchmark animation: simple trajectory boxes benchmark animation: complex trajectory

These benchmarks can be run for the physics engines supported by gazebo:

The benchmarks tests are hosted in the scpeters/benchmark repository on github. There are several plots and presentations in the pdf folder, including presentations from ROSCon 2014 (video) and Multibody 2015.

Instructions

To run the tests, build or install gazebo 6 or later with the optional physics engines, and then clone and build the benchmarks:

git clone https://github.com/scpeters/benchmark
pip install lz4 protobuf zstandard
cd benchmark
git submodule update --init --recursive
mkdir build
cd build
cmake ..
make
make test

Once the tests are completed, they will create time-stamped csv files in the test_results folder of the git repository.

To load and visualize the test results, you should make sure ipython notebook, matplotlib, and numpy are installed on your machine:

# Ubuntu Precise: do this step first
# Trusty uses ipython 1.2.1, use ppa on Precise to get the newer version
sudo apt-add-repository ppa:jtaylor/ipython

# Ubuntu Precise and Trusty
sudo apt-get install ipython-notebook python-matplotlib python-numpy

# Mac
brew install matplotlib
# do the following in specific terminals when using ipython notebook
export PYTHONPATH=/usr/local/lib/python2.7/site-packages

With the proper dependencies installed run ipython notebook from the root of the git repository and open the boxes_results notebook:

ipython notebook

About

Benchmark comparisons of rigid-body dynamics simulators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published