You don't need to copy the files -- especially the .action files. What you need to do is remap node names and arguments http://wiki.ros.org/Remapping Arguments Normally this is done by creating a launch file. For instance:
Code:
<launch>
<node name="left_arm_kinematics" pkg="simple_arm_server" type="simple_arm_server.py">
<remap from="move_arm" to="move_left_arm" />
</node>
<node name="right_arm_kinematics" pkg="simple_arm_server" type="simple_arm_server.py">
<remap from="move_arm" to="move_right_arm" />
</node>
<launch>
This will launch an instance of simple_arm_server.py, with a runtime name of "left_arm_kinematics" and connect to an action client called "move_left_arm". You would also do a similar thing for the arm_kinematics, specifying different parameters. I would read up on launch files, they are extremely helpful and actually quite simple once you get started.
As for hydro, arm_kinematics is pretty much deprecated/gone. MoveIt took over for arm_navigation and desired to use C++ API calls rather than ROS API. I'm not sure the state of kinematics ROS API within hydro. simple_arms is noted as deprecated and was never really released to either groovy or hydro.
-Fergs
Bookmarks