where is the document for namespace of move_group_interface
In book, Master ROS for Robotics Programming. I notice this header file below
//MoveIt! header file
#include <moveit/move_group_interface/move_group.h>
int main(int argc, char **argv)
{
ros::init(argc, argv, "test_random_node",
ros::init_options::AnonymousName);
// start a ROS spinning thread
ros::AsyncSpinner spinner(1);
spinner.start();
// this connects to a running instance of the move_group node
// Here the Planning group is "arm"
move_group_interface::MoveGroup group("arm");
// specify that our target will be a random one
group.setRandomTarget();
// plan the motion and then move the group to the sampled target
group.move();
ros::waitForShutdown();
}
I tried to find the document for this header, but just found planning_interface namespace for move_group.h file , instead of move_group_interface namespace.
QUESTION1:
Why?
QUESTION2:
Or, maybe actually, it is not a question for ROS but for C++ instead?
EDIT1
Document of MoveGroupInterface, where it shows the header:
#include <move_group_interface.h>
QUESTION3:
If I want to use MoveGroupInterface class, how should I write the header correctly in my own code?
@shawnysh: this is more of a comment and not an answer to this / these question(s), but: could you please not ask multiple questions in a single post? ROS Answers is a Q&A site, not a regular forum. Q&A sites work, because they link question and answer together. If you ask multiple questions in ..
.. a single post, this system breaks down.
Your previous questions (#q252075) was titled "which node is motion planner in moveit?", but also included questions on moveit action topics and motion planning requests. As the title is what future users see (first), and the title doesn't cover (all) ..
.. the questions, visibility and searchability suffers.
Please keep this in mind when posting in the future.
Thanks.
I do like your enthousiasm and inquisitive nature, so keep that up!
Thanks for your reminder. I just want to demonstrate my questions clearly, cause sometimes several questions pop up together and link to each other, and it seems hard for me to separate them into different posts. I will try hard to take care of it. Thanks for your encouragement.