ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Hardware controller for arm_navigation

asked 2012-05-29 06:29:09 -0500

akoz002 gravatar image

Hi, I'm new to ROS and trying to deploy the arm_navigation stack on a custom, non-PR2 arm. I looked at the Configuration Wizard tutorial and the requirements for a URDF description, however what I do not understand is how to develop a ROS low level hardware controller to fit into the arm_navigation stack.

The documentation is a bit confusing but from what I can see the "move_arm" package is responsible for actually moving the arm. How does "move_arm" send commands to the actual hardware? I was examining its services/topics and I can see a "get_robot_state" service which is how "move_arm" gets the state information from the hardware, and that makes sense. But how does it actually send commands to the hardware?

Maybe there is a lack of my understanding and my hardware controller would be replacing "move_arm" in a non-PR2 system, instead of working with it?

Thank you very much

edit retag flag offensive close merge delete

Comments

Thank you for the clarification below. Just to confirm; move_arm is an action client, and sends goals to your hardware controller which is an action server, is that right?

akoz002 gravatar image akoz002  ( 2012-05-30 04:48:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-05-29 07:39:49 -0500

egiljones gravatar image

move_arm uses the control_msgs::FollowJointTrajectoryAction action to communicate with the arm controller. You can design the controller however you wish, as long as you expose an action server that takes this message and provides results when the actions are finished. The PR2 modules that expose this API are held in pr2_controllers/robot_mechanism_controllers as a reference. There has also been working writing such interfaces for industrial robots. For some references please see http://code.google.com/p/swri-ros-pkg/ .

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-05-29 06:29:09 -0500

Seen: 409 times

Last updated: May 29 '12