|
56 | 56 | *
|
57 | 57 | * NOTE:
|
58 | 58 | * Tutorial notes will be commented like this block!
|
59 |
| - * |
| 59 | + * |
60 | 60 | * PRE-REQUISITES
|
61 | 61 | * ^^^^^^^^^^^^^^
|
62 | 62 | * This tutorial assumes knowledge of the MoveGroupInterface.
|
63 | 63 | *
|
64 | 64 | * INTERACTIVITY
|
65 | 65 | * ^^^^^^^^^^^^^
|
| 66 | + * This demo has four phases that can be advanced using the `rviz_visual_tools` dialog box. |
| 67 | + * |
| 68 | + * 1. Plan and cache (no pruning) |
| 69 | + * 2. Plan and cache (with pruning) |
| 70 | + * 3. Fetch from cache and execute (while still planning and caching with pruning) |
| 71 | + * 4. Fetch from cache and execute, except with large start tolerances |
| 72 | + * |
66 | 73 | * This tutorial also supports "reconfigurable" parameters!:
|
67 | 74 | *
|
68 | 75 | * You can adjust them with:
|
|
71 | 78 | * Tutorial parameters:
|
72 | 79 | * - planner:
|
73 | 80 | * Defaults to "RRTstar". The OMPL planner used.
|
74 |
| - * It's better to use a random-sampling, non-optimal planner to see the cache working. |
| 81 | + * It is better to use a random-sampling, non-optimal planner to see the cache working. |
75 | 82 | *
|
76 | 83 | * Cache parameters:
|
77 | 84 | * - start_tolerance:
|
@@ -648,6 +655,19 @@ int main(int argc, char** argv)
|
648 | 655 |
|
649 | 656 | // Interactivity. ================================================================================
|
650 | 657 |
|
| 658 | + /** [TUTORIAL NOTE] |
| 659 | + * This demo has four phases that can be advanced using the `rviz_visual_tools` dialog box. |
| 660 | + * |
| 661 | + * 1. Plan and cache (no pruning) |
| 662 | + * - Showcases basic cache functionality. |
| 663 | + * 2. Plan and cache (with pruning) |
| 664 | + * - Showcases pruning functionality. |
| 665 | + * 3. Fetch from cache and execute (while still planning and caching with pruning) |
| 666 | + * - Showcases cache fetches. |
| 667 | + * 4. Fetch from cache and execute, except with large start tolerances |
| 668 | + * - Showcases fuzzy matching, and the impact of start tolerance. |
| 669 | + */ |
| 670 | + |
651 | 671 | std::atomic<size_t> demo_phase = 0;
|
652 | 672 | std::atomic<bool> run_execute = false;
|
653 | 673 |
|
|
0 commit comments