Tutorials
This page provides tutorials to get you started with HPP.
${DEVEL_HPP_DIR}/install/share/doc/hpp-tutorial/doxygen-html/index.html
.
To run the tutorial, open a terminal and open 3 tabs by typing CTRL+SHIFT+T twice. When the terminal is selected, you can select a tab by typing ALT-[1|2|3].
Step 1 - Starting gepetto-gui
In the first tab, type
$ gepetto-gui
Step 2 - Starting hppcorbaserver
In the second tab, type
$ hppcorbaserver
Step 3 - Controlling via a python terminal
In the third tab, type
$ python
Python 2.7.3 (default, Feb 27 2014, 20:00:17)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Please see this.
To run the tutorial, open a terminal and open 4 tabs by typing CTRL+SHIFT+T twice. When the terminal is selected, you can select a tab by typing ALT-[1|2|3|4].
Step 1 - Starting gepetto-gui
In the first tab, type
$ gepetto-gui
Step 2 - Starting hpp-manipulation-server
In the second tab, type
$ hpp-manipulation-server
Step 3 - Controlling via a python terminal
In the third tab, type
$ python
Python 2.7.3 (default, Feb 27 2014, 20:00:17)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> ps.solve ()
Step 4 - Displaying the constraint graph
In the fourth terminal, type
$ hpp-plot-manipulation-graph
Step 5 - Write your own script
Start again from step 1 replacing script
manipulation.py
by
manipulation_box.py
. The ball is in a box. To help the planner, create nodes where the gripper is above the box.