Fork from Dynamixel AX12 Servo for MX64 use and not-finishi now

Dependents:   2014-Mx64 2014-mx64-test

Fork of AX12 by Chris Styles

This Library was Fork From Chris Styles's AX12 Library .

Dynamixel MX64 Servo

MX64 is like a new generation Dynamixel Servo Use TTL 2.0 bus, Half-duplex Serial just like a pro-version AX12 300

Quote:

The MX-64T Dynamixel Robot Servo Actuator is the newest generation of Robotis Dynamixel actuator; equipped with an onboard 32bit 72mhz Cortex M3, a contact-less magnetic encoder with 4x the resolution over the AX/RX series, and up to 3mpbs using the new TTL 2.0 bus. Each servo has the ability to track its speed, temperature, shaft position, voltage, and load.

Information

In cace AX12 you can use This Library

Import libraryAX12

new ax12 lib

You need this Dependence Library SerialHalfDuplex library too

Import librarySerialHalfDuplex

Serial Half Duplex implementation

Files at this revision

API Documentation at this revision

Comitter:
ppr2013G2
Date:
Fri Jun 20 06:25:54 2014 +0000
Parent:
7:69c59554290b
Commit message:
fix

Changed in this revision

MX64.cpp Show annotated file Show diff for this revision Revisions of this file
MX64.h Show annotated file Show diff for this revision Revisions of this file
--- a/MX64.cpp	Tue May 27 13:58:34 2014 +0000
+++ b/MX64.cpp	Fri Jun 20 06:25:54 2014 +0000
@@ -96,7 +96,7 @@
     }
 
     // 1023 / 300 * degrees
-    short goal = (1023 * degrees) / 300;
+    short goal = (1023 * degrees) / 360;
     short sp = (1023 * speed) / 100;
     
 #ifdef AX12_DEBUG
--- a/MX64.h	Tue May 27 13:58:34 2014 +0000
+++ b/MX64.h	Fri Jun 20 06:25:54 2014 +0000
@@ -137,13 +137,13 @@
 
     /** Set the clockwise limit of the servo
      *
-     * @param degrees, 0-300
+     * @param degrees, 0-360
      */
     int SetCWLimit(int degrees);
     
     /** Set the counter-clockwise limit of the servo
      *
-     * @param degrees, 0-300
+     * @param degrees, 0-360
      */
     int SetCCWLimit(int degrees);