Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

zcshiner/Dynamixel-MX64-MATLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Dynamixel MX64 MATLAB library

A wrapper class to interface with Robotis's USB2Dynamixel and control MX64 series servos using communication version 1.0.

Requirements

Usage of this library requires Robotis's USB2Dynamixel SDK, available at http://support.robotis.com/en/software/dynamixel_sdk/usb2dynamixel.htm

Usage

The bin and import directories from Robotis's SDK must be in your path before initializing the library. This can be done through the MATLAB GUI, or the command

addpath('.\dxl_sdk_win32_v1_02\bin', '.\dxl_sdk_win32_v1_02\import');

The library is then initialized by providing the port to connect through, and the baudrate the servos are configured for. The example below initializes an object named Dynamixel to use COM port 31 at 1Mb (1000000 bps).

Dynamixel = MX64(31,1000000);

Commands can then be called through dot object syntax.

Dynamixel.position(ID,angle);
Dynamixel.setPID(ID,Kp,Ki,Kd);
Dynamixel.setAngleLimit(ID,lowerLimit,upperLimit);

Changelog

  • April 2015 - Initial library release.

More Information

License

Released under the MIT license, see LICENSE.txt

About

A MATLAB class to control MX-64 series Dynamixel servos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages