Skip to content

Commit

Permalink
Add tutorial with videos and images
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Aug 20, 2024
1 parent 2a2c8c2 commit ae5f747
Show file tree
Hide file tree
Showing 16 changed files with 348 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions doc/how_to_guides/how_to_guides.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Configuring and Using MoveIt
pick_ik/pick_ik_tutorial
trac_ik/trac_ik_tutorial
benchmarking/benchmarking_tutorial
trajectory_cache/trajectory_cache_tutorial

Developing and Documenting MoveIt
---------------------------------
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 22 additions & 2 deletions doc/how_to_guides/trajectory_cache/src/trajectory_cache_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,20 @@
*
* NOTE:
* Tutorial notes will be commented like this block!
*
*
* PRE-REQUISITES
* ^^^^^^^^^^^^^^
* This tutorial assumes knowledge of the MoveGroupInterface.
*
* INTERACTIVITY
* ^^^^^^^^^^^^^
* This demo has four phases that can be advanced using the `rviz_visual_tools` dialog box.
*
* 1. Plan and cache (no pruning)
* 2. Plan and cache (with pruning)
* 3. Fetch from cache and execute (while still planning and caching with pruning)
* 4. Fetch from cache and execute, except with large start tolerances
*
* This tutorial also supports "reconfigurable" parameters!:
*
* You can adjust them with:
Expand All @@ -71,7 +78,7 @@
* Tutorial parameters:
* - planner:
* Defaults to "RRTstar". The OMPL planner used.
* It's better to use a random-sampling, non-optimal planner to see the cache working.
* It is better to use a random-sampling, non-optimal planner to see the cache working.
*
* Cache parameters:
* - start_tolerance:
Expand Down Expand Up @@ -648,6 +655,19 @@ int main(int argc, char** argv)

// Interactivity. ================================================================================

/** [TUTORIAL NOTE]
* This demo has four phases that can be advanced using the `rviz_visual_tools` dialog box.
*
* 1. Plan and cache (no pruning)
* - Showcases basic cache functionality.
* 2. Plan and cache (with pruning)
* - Showcases pruning functionality.
* 3. Fetch from cache and execute (while still planning and caching with pruning)
* - Showcases cache fetches.
* 4. Fetch from cache and execute, except with large start tolerances
* - Showcases fuzzy matching, and the impact of start tolerance.
*/

std::atomic<size_t> demo_phase = 0;
std::atomic<bool> run_execute = false;

Expand Down
325 changes: 325 additions & 0 deletions doc/how_to_guides/trajectory_cache/trajectory_cache_tutorial.rst

Large diffs are not rendered by default.

0 comments on commit ae5f747

Please sign in to comment.