Skip to content

Adding tutorial for new benchmarking - #10

Merged
davetcoleman merged 5 commits into
moveit:masterfrom
shadow-robot:F_benchmarking_tutorial
Sep 19, 2016
Merged

davetcoleman merged 5 commits into
moveit:masterfrom
shadow-robot:F_benchmarking_tutorial

Conversation

@kirstyellis

Copy link
Copy Markdown

related to this PR: moveit/moveit1#175

Comment thread doc/benchmarking_tutorial.rst Outdated
@@ -0,0 +1,97 @@
Benchmarking tutorial
=====================
The [benchmarking package](https://github.com/ros-planning/moveit/tree/kinetic-devel/moveit_ros/benchmarks) provides methods to benchmark motion planning algorithms and aggregate/plot statistics.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i know this is annoying, but .rst files require a different hyperlink format than markdown:

e.g.

`OpenRave.org <http://openrave.org/docs/latest_stable/install/#install>`_

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

append to sentence "using the OMPL Planner Arena"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in case you're motivated/curious: #12

@davetcoleman

Copy link
Copy Markdown
Member

Thanks for moving this here!

```
python -p <plot_filename> moveit_benchmark_statistics.py <path_of_logfile>
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a sentence here like this: "Alternatively, upload the benchmark.db file generated by moveit_benchmark_statistics.py to http://plannerarena.org and interactively visualize the results." (I assume that moveit_benchmark_statistics.py also generates a SQLite3 database like ompl_benchmark_statistics.py. Both scripts should be (nearly) identical.) The hard-coded scripts in moveit_benchmark_statistics.py are somewhat limited. I like the look of the ggplot-generated plots on planner arena.org better. Plus, you can download these plots, tweak them & make them "camera-ready" in R.

@kirstyellis

Copy link
Copy Markdown
Author

@davetcoleman, I have made the changes that you requested

Comment thread doc/benchmarking_tutorial.rst Outdated
The benchmarks are executed and many interesting parameters are aggregated and written to a logfile. A script (moveit_benchmark_statistics.py) is supplied to parse this data and plot the statistics.
Run:

python moveit_benchmark_statistics.py <path_of_logfile>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs indent

@davetcoleman
davetcoleman merged commit 24be4a9 into moveit:master Sep 19, 2016
@davetcoleman

Copy link
Copy Markdown
Member

Thank you @kirstyellis !

@mamoll

mamoll commented Sep 19, 2016

Copy link
Copy Markdown
Contributor

Yay! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants