Skip to content

Commit a7ebc0b

Browse files
authored
Moveitcpp Tutorial Images (#571)
Added a missing image and additional images of expected outputs.
1 parent abb9f1a commit a7ebc0b

7 files changed

Lines changed: 33 additions & 1 deletion

File tree

26.3 KB
Loading
29.2 KB
Loading
29.1 KB
Loading
24.5 KB
Loading
41.2 KB
Loading

doc/moveit_cpp/moveitcpp_tutorial.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Introduction
55
------------
66
MoveItCpp is a new high level interface, a unified C++ API that does not require the use of ROS Actions, Services, and Messages to access the core MoveIt functionality, and an alternative (not a full replacement) for the existing `MoveGroup API <../move_group_interface/move_group_interface_tutorial.html>`_, we recommend this interface for advanced users needing more realtime control or for industry applications. This interface has been developed at PickNik Robotics by necessity for our many commercial applications.
77

8+
.. image:: images/moveitcpp_start.png
9+
:width: 300pt
10+
:align: center
11+
812
Getting Started
913
---------------
1014
If you haven't already done so, make sure you've completed the steps in `Getting Started <../getting_started/getting_started.html>`_.
@@ -28,4 +32,4 @@ The entire code can be seen :codedir:`here in the MoveIt GitHub project<moveit_c
2832

2933
The Launch File
3034
---------------
31-
The entire launch file is :codedir:`here<moveit_cpp/launch/moveit_cpp_tutorial.launch>` on GitHub. All the code in this tutorial can be run from the **moveit_tutorials** package that you have as part of your MoveIt setup.
35+
The entire launch file is :codedir:`here<moveit_cpp/launch/moveit_cpp_tutorial.launch>` on GitHub. All the code in this tutorial can be run from the **moveit_tutorials** package that you have as part of your MoveIt setup.

doc/moveit_cpp/src/moveit_cpp_tutorial.cpp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ int main(int argc, char** argv)
9999
/* planning_components->execute(); // Execute the plan */
100100
}
101101

102+
// Plan #1 visualization:
103+
//
104+
// .. image:: images/moveitcpp_plan1.png
105+
// :width: 250pt
106+
// :align: center
107+
//
108+
102109
// Start the next plan
103110
visual_tools.deleteAllMarkers();
104111
visual_tools.prompt("Press 'next' in the RvizVisualToolsGui window to continue the demo");
@@ -137,6 +144,13 @@ int main(int argc, char** argv)
137144
/* planning_components->execute(); // Execute the plan */
138145
}
139146

147+
// Plan #2 visualization:
148+
//
149+
// .. image:: images/moveitcpp_plan2.png
150+
// :width: 250pt
151+
// :align: center
152+
//
153+
140154
// Start the next plan
141155
visual_tools.deleteAllMarkers();
142156
visual_tools.prompt("Press 'next' in the RvizVisualToolsGui window to continue the demo");
@@ -175,6 +189,13 @@ int main(int argc, char** argv)
175189
/* planning_components->execute(); // Execute the plan */
176190
}
177191

192+
// Plan #3 visualization:
193+
//
194+
// .. image:: images/moveitcpp_plan3.png
195+
// :width: 250pt
196+
// :align: center
197+
//
198+
178199
// Start the next plan
179200
visual_tools.deleteAllMarkers();
180201
visual_tools.prompt("Press 'next' in the RvizVisualToolsGui window to continue the demo");
@@ -211,6 +232,13 @@ int main(int argc, char** argv)
211232
/* planning_components->execute(); // Execute the plan */
212233
}
213234

235+
// Plan #4 visualization:
236+
//
237+
// .. image:: images/moveitcpp_plan4.png
238+
// :width: 250pt
239+
// :align: center
240+
//
241+
214242
// END_TUTORIAL
215243
visual_tools.deleteAllMarkers();
216244
visual_tools.prompt("Press 'next' to end the demo");

0 commit comments

Comments
 (0)