This is an old revision of the document!


Robotic_arm (ROS package)

This package cover the low and medium level for the robotic arm of the robocup project. It controls the servomotors of the arm and calculate the angle of each servomotors in order to go to a specific position. It also control the hand with two option : close hand and open hand. For controlling the hand, this code must be upload on the maple mini.

This package was developed for the Indigo distro and is using the catkin package type.

To install it, you just have to download the following archives and extract it in …/catkin_ws/src, then open a console, go to catkin_ws and enter the command

catkin_make

robotic_arm.tar.gz

Connect the arm to the computer following the instruction on the robotic arm page.

Open a terminal and enter the command : rosrun robotic_arm robotic_arm

Then open a new terminal and enter the command : rostopic pub -1 /arm_controler/arm_command geometry_msgs/PoseArray “{poses:[ {position:[X1, Y1, Z1], orientation:[0, 0, 0, 0]}, {position:[X2, Y2, Z2], orientation:[0, 0, 0, 0]}]}”

The X1, Y1, Z1 is the position of the object to move and X2, Y2, Z2 is the target position.

Subscribed topics

/arm_controler/arm_command (geometry_msgs/PoseArray)

It gives the command to the arm. The first element of the PoseArray is the position of the object to move and the second element is the target position..

Published topics

/robotic_arm/chatter (std_msgs/String)

It is used essentially for debug, it can be used to control the state of the program.
  • robocup/robotic_arm_package.1456136435.txt.gz
  • Last modified: 2019/04/25 14:08
  • (external edit)