Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dynamixel [2015/10/28 16:20] nfave |
dynamixel [2020/07/03 17:21] (current) mai Tag0 Added: poppy |
||
---|---|---|---|
Line 9: | Line 9: | ||
You can follow these instructions to install the dynamixel library | You can follow these instructions to install the dynamixel library | ||
- | 1/ Download Dynamixel SDK from this page : http://support.robotis.com/en/software/dynamixel_sdk/usb2dynamixel/usb2dxl_linux.htm | + | - Download Dynamixel SDK from this page : http://support.robotis.com/en/software/dynamixel_sdk/usb2dynamixel/usb2dxl_linux.htm |
+ | - Extract the file somwhere | ||
+ | - Open a terminal go to the src folder of the extracted file and enter the command "make" | ||
+ | - Copy the [...]/include/dynamixel.h file to /usr/include (sudo) | ||
+ | - Copy the [...]/include/lib/libdxl.a file to /usr/lib (sudo) | ||
+ | - Add the line #include "dynamixel.h" at the beginning of your code | ||
+ | - For CodeBlock, right click on the project in the project tree, build option->linker settings-> select the library libdxl.a. | ||
- | 2/ Extract the file somwhere | + | ===== USB2Dynamixel ===== |
- | 3/ Open a terminal go to the src folder of the extracted file and enter the command "make" | + | USB2Dynamixel device : http://support.robotis.com/en/product/auxdevice/interface/usb2dxl_manual.htm |
- | 4/ Copy the [...]/include/dynamixel.h file to /usr/include (sudo) | ||
- | 5/ Copy the [...]/include/lib/libdxl.a file to /usr/lib (sudo) | + | {{tag> hardware poppy }} |
- | + | ||
- | 6/ Add the line #include "dynamixel.h" at the begining of your code | + | |
- | + | ||
- | 7/ For CodeBlock, right click on the project in the project tree, build option->linker settings-> select the library libdxl.a. | + | |
- | + | ||
- | ===== USB2Dynamixel ===== | + | |
- | + | ||
- | USB2Dynamixel device : http://support.robotis.com/en/product/auxdevice/interface/usb2dxl_manual.htm | + |