Coder Social home page Coder Social logo

or_benchmarks's Introduction

OpenRAVE benchmark tools

Benchmarks to measure OpenRAVE's performance.

Current Results

The following are the latest collision checking benchmark results:

self_collision_results

empty_env_collision_results

prkitchen_env_results

Installation

The following packages must be installed:

  • ros-hydro-moveit-core
  • ros-hydro-moveit-ros-planning-interface
  • libgoogle-perftools-dev
cmd> sudo apt-get install ros-hydro-moveit-core ros-hydro-moveit-ros-planning-interface \
libgoogle-perftools-dev

The following .rosinstall can be used to download the important packages into a catkin workspace:

- git: {local-name: or_benchmarks, uri: '[email protected]:personalrobotics/or_benchmarks'}
- git: {local-name: herbpy, uri: '[email protected]:personalrobotics/herbpy', version: 1.4.0}
- git: {local-name: prpy, uri: '[email protected]:personalrobotics/prpy', version: 0.4.0}
- git: {local-name: herb_description, uri: '[email protected]:personalrobotics/herb_description', version: 1.1.0}
- git: {local-name: or_urdf, uri: '[email protected]:personalrobotics/or_urdf', version: 0.2.0}
- git: {local-name: openrave_catkin, uri: '[email protected]:personalrobotics/openrave_catkin', version: 1.0.1}
- git: {local-name: ss_plotting, uri: '[email protected]:personalrobotics/ss_plotting', version: 0.2.0}
- git: {local-name: or_fcl, uri: '[email protected]:personalrobotics/or_fcl', version: 0.1.0}
- git: {local-name: pr-ordata, uri: '[email protected]:personalrobotics/pr-ordata', version: feature/pr_kitchen}

Kinematic Benchmarks

The kinematick benchmark script can be used to profile forward kinematic computation and Jacobian computation.

To profile forward kinematics:

cmd> rosrun or_benchmarks run_kinematics_benchmark.py --type fk

By default this will randomly sample 50,000 configurations for the right arm of HERB and compute forward kinematics for each of these configurations. To test a different manipulator, use the --manip flag:

cmd> rosrun or_benchmarks run_kinematics_benchmark.py --type fk --manip head

To profile Jacobian computation:

cmd> rosrun or_benchmarks run_kinematics_benchmark.py --type jacobian

Use the --help flag to see all options for the script:

cmd> rosrun or_benchmarks run_kinematics_benchmark.py --help

Collision Benchmarks

The collision benchmark script can be used to profile both self collision checking and environment collision checking.

To run all benchmarks and generated updated statistics simply run:

cmd> rosrun or_benchmarks run_all.py

This will run three sets of tests:

  • Self collision - 20000 poses read from datasets/self_benchmark.test
  • Collision against an empty environment - 20000 poses read from datasets/env_benchmark.test
  • Collision against the pr_kitchen environment - 20000 poses read from datasets/env_benchmark.test Each test will be run using the ode, pqp and fcl collision checkers.

The script will generate a new set of .png files which compare timing information across the three collision checking engines. These new files will be written to the results directory. To save these results, and update this webpage, just commit the new files.

The run_all.py script utilizes the run_collision_benchmark.py script. Use run_collision_benchmark.py directly to run individual tests. The --help flag will show all options for the script:

cmd> rosrun or_benchmarks run_collision_benchmark.py --help

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.