- Download Cross-compilable, all-in-one SDK for ROBOTIS DYNAMIXEL from the ROBOTIS Open Source Repository.
- To use the latest version of DYNAMIXEL SDK, you can download it from the terminal of Linux or macOS with the command
git cloneor directly from the repository.
- If you are an ROS user, you can install the ROS library and Python module for DYNAMIXEL SDK directly.
- You can use one of the three methods below.
1) Option 1: Git command
$ git clone https://github.com/ROBOTIS-GIT/DynamixelSDK.git
2) Option 2: Direct Download
- DYNAMIXEL SDK 3.7.31.zip (For ROS1, Python, C, C++, C#, MATLAB, LabView, Java)
- DYNAMIXEL SDK 3.7.30.zip (For ROS2 only)
3) Option 3: Install ROS library (C++ library and Python module)
$ sudo apt-get install ros-[ROS Distribution]-dynamixel-sdk
The example codes are using either C or C++ version dll. Extract zip file, you can see the folders shown below.
Open C++ folder, for instance, you would see 4 folders which contain cpp source files, header files, build files and example codes.
PortHandler which handles system communication environment is separated in three OS, the Linux, the macOS and the Windows, the other sources are made to be able to be cross-compiled. Basically,
Microsoft Visual Studio is used for each environment of 32bit or 64bit platform respectively. Example codes using library files(.dll, .so, .dylib) show how to use SDK functions to control one or more DYNAMIXEL’s.
Each example folder also has the build files which are for Linux, macOS or Windows, 32bit or 64bit platform. Make library file before you run the example codes. The ReadWrite example code can control and read DYNAMIXEL position.
The example sources coded with C# / Java / MATLAB / LabVIEW are not using library functions coded with the language of themselves but using the
.dylib which are built previously by C language coded source.
You can find out how to run the examples in the DYNAMIXEL SDK sources at here