Moveit MoveGroupInterface C++ constructor with robot description and namespace
I try to learn MoveIt C++ interface.
In MoveIt Python interface, we can define namespace and robot description name
iiwa_group_name = "iiwa_plan_group"
self.move_group_joints = moveit_commander.MoveGroupCommander(iiwa_group_name,ns=self.namespace,robot_description=self.robot_description,wait_for_servers=10)
But In C++ Interface, It seems not possible.
In tutorial from MoveIt official page, the movegroup is defined as following way.
https://ros-planning.github.io/moveit...
static const std::string PLANNING_GROUP = "panda_arm";
moveit::planning_interface::MoveGroupInterface move_group(PLANNING_GROUP);
When I look at the API of MoveGroupInterface class, It seems that there is no constructor availabe to define namespace and robot description. http://docs.ros.org/en/noetic/api/mov...
How can I fix this problem?
Thank you