Replies: 1 comment
-
As stated in the tutorial "This interface communicates over ROS topics, services, and actions to the MoveGroup node.", the move_group_interface already implements the actions clients for you and abstracts with interfaces like |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I started learning ROS2 and moveit2 recently, so my question might be very basic or some solution might exist already which i am still searching for.
I am using panda robot and move group c++ interface as is given from the below link
https://moveit.picknik.ai/foxy/doc/move_group_interface/move_group_interface_tutorial.html
Also tried the ROS2 action server example as given below
https://docs.ros.org/en/foxy/Tutorials/Intermediate/Writing-an-Action-Server-Client/Cpp.html#compiling-the-action-server
Now i am planning to integrate both the code as single code, i need an action server to be running and i can request my goal from action client like close/open the gripper, move to home, move to point1, or ask to perfrom certain task like pick object1, pick object2 etc.
When i tried to put it together i stuck with the node creation since action server code looks entirely different then normal c++ usage without main function. And for move group i need a node created and saved in a variable move_group_node so that i can pass this for planning interface. I am kind of stuck between adapting both together, this is more likely on the c++ usage and integration but still i would like to ask this if any one has created such functionality before so that i can get some help on this quickly. So Request to provide me the option on how i can get it together.
Thanks in Advance.
Beta Was this translation helpful? Give feedback.
All reactions