|
AUTh-ARL Core Stack
0.7
|
This page aims to provide a small tutorial for using MoveIt.
In order to use MoveIt! planning you should start an Asynchronous Spinner when you start your main in your executable, because otherwhise the function after planning will not return:
For each different robot and URDF we need a custom MoveIt! configuration package which creates the SRDF for the robot. Follow the following steps in order to create a new config package:
source ./devel/setup.bashRun
roslaunch moveit_setup_assistant setup_assistant.launch
Create New MoveIt Configuration PackageBrowse and select a xacro from descriptions/robotsLoad FilesSelf-Collisions click Regenerate Default Collision Matrix with the default settings.Planning Groups select Add Group to add new groups. If you are replacing an existing moveit config probably first open the existing package to see what chains defines and do not forget to add them.kdl_kinematics_plugin/KDLKinematicsPluginAdd Kin. ChainSavemoveit directory with name XXX_moveit_config, where XXX the name of the xacro you selected.Change manually the name of the package name for the urdf from descriptions to lwr_description. MoveIt reads the name of the package from the name of the directory for some reason. Grep to find these:
cd XXX_moveit_config grep -rnw descriptions