|Note: This tutorial assumes that you have completed the previous tutorials: Specifying pose goals.|
|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.|
Specifying a start stateDescription: Specifying a start state
Tutorial Level: INTERMEDIATE
In previous tutorials, you were assuming that the current state of the robot (in simulation), is the start state that you want to plan from. You might want to plan a motion where you are able to explicitly specify the start state that you want to plan from. You will learn how to do that in this tutorial.
Filling the start state message
This tutorial follows on from the previous tutorial and all the code is the same except the part where you will fill in additional fields for the start state.
Here, for example, we will change the initial position of the r_shoulder_pan_joint by adding to the motion plan request.
Now, run this using the procedure in the previous tutorial and you should see (in rviz) the plan starting from a different starting state than the current state of the robot.