Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
robocup:robotic_arm_package [2016/02/22 15:00] nfave |
robocup:robotic_arm_package [2019/04/25 14:08] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Robotic_arm (ROS package) ====== | ====== Robotic_arm (ROS package) ====== | ||
- | {{tag> ROS ros_package}} | + | {{tag> ROS ros_package software}} |
=====Overview===== | =====Overview===== | ||
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 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. | ||
Line 11: | Line 11: | ||
{{:robotic_arm.tar.gz|}} | {{:robotic_arm.tar.gz|}} | ||
=====Quick tests===== | =====Quick tests===== | ||
- | Connect the arm to the computer following the instruction on the [[robotic arm]] page. | + | Connect the arm to the computer following the instruction on the [[robocup:robotic_arm]] page. |
Open a terminal and enter the command : | Open a terminal and enter the command : | ||
- | rosrun robotic_arm robotic_arm | + | |
+ | rosrun robotic_arm robotic_arm | ||
Then open a new terminal and enter the command : | Then open a new terminal and enter the command : | ||
Line 33: | Line 34: | ||
It is used essentially for debug, it can be used to control the state of the program. | It is used essentially for debug, it can be used to control the state of the program. | ||
=====Bug reports and feature requests===== | =====Bug reports and feature requests===== | ||
+ | |||
+ | You can have problems with the catkin_make. The dynamixel.h and ldxl library can be missing. In order to solve this problem, follow these instructions : | ||
+ | |||
+ | 1/ Download Dynamixel SDK from this page : http://support.robotis.com/en/software/dynamixel_sdk/usb2dynamixel/usb2dxl_linux.htm | ||
+ | |||
+ | 2/ Extract the file somwhere | ||
+ | |||
+ | 3/ Open a terminal go to the src folder of the extracted file and enter the command "make" | ||
+ | |||
+ | 4/ copy the [...]/include/dynamixel.h file to /usr/include (sudo) | ||
+ | |||
+ | 5/ copy the [...]/lib/libdxl.a file to /usr/lib (sudo) | ||
+ | |||
+ | 6/ add the line #include "dynamixel.h" at the begining of your code | ||
+ | |||
+ | 7/ in CodeBlock, right click on the project in the project tree, build option->linker settings-> select the library libdxl.a. | ||
+ | |||
+ | You can read the files in the example folder to understand how dynamixel driver works |