|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
States LibraryDescription: Demonstrates how to use the states library to save individual states for reuse in future behaviors.
Tutorial Level: BEGINNER
Creating gestures such as in the last tutorial is a labor intensive process. The library allow storing individual actions inside it so that this effort can be reused in the future.
To store an action in the library, select that action then click on Add to Library underneath the toolbar.
Later, clicking on Library will show a list of all actions that have been saved to it. Selecting a action and clicking on Add will add a copy of it to your current behavior. Also, clicking on Run will run the currently selected action in the library.