DynamixelSpecs.h
Go to the documentation of this file.
00001 /*
00002  * DynamixelSpecs.h
00003  *
00004  *  Created on: Jun 19, 2009
00005  *      Author: Erik Schuitema
00006  */
00007 
00008 #ifndef DYNAMIXELSPECS_H_
00009 #define DYNAMIXELSPECS_H_
00010 
00011 // Conversions
00012 #define DXL_RX28_NUM_POSITIONS                  1024
00013 #define DXL_RX28_MAX_POSITION                   1023
00014 #define DXL_RX28_SPEED_TO_RAD_S                 0.01163552834662886385  // = (M_PI/270.0)       // Multiply speed with 0.111 (~=1/9) to get RPM. Multiply RPM with (2pi/60) for rad/s.
00015 #define DXL_RX28_STEPS_TO_RAD                   0.00511826760115639172  // = ((300.0/360.0)*2.0*M_PI/1023.0)
00016 #define DXL_RX28_TORQUE_TO_RATIO                0.00097751710654936461  // = (1.0/1023.0)
00017 
00018 #define DXL_RX64_SPEED_TO_RAD_S                 DXL_RX28_SPEED_TO_RAD_S
00019 #define DXL_RX64_STEPS_TO_RAD                   DXL_RX28_STEPS_TO_RAD
00020 
00021 #define DXL_MX28_NUM_POSITIONS                  4096
00022 #define DXL_MX28_MAX_POSITION                   4095
00023 #define DXL_MX28_SPEED_TO_RAD_S                 0.005550147021342       // = 0.053*2*M_PI/60
00024 #define DXL_MX28_STEPS_TO_RAD                   0.001533980787886       // = 2*M_PI/4096
00025 #define DXL_MX28_TORQUE_TO_RATIO                0.00097751710654936461  // = (1.0/1023.0)
00026 
00027 #define DXL_VOLTAGE_TO_VOLT                             0.1
00028 
00029 
00030 // Max torques in [Nm]
00031 #define DXL_RX28_MAX_TORQUE_PER_VOLT    (3.3/14)
00032 #define DXL_RX64_MAX_TORQUE_PER_VOLT    (0.4291)
00033 // Max speeds
00034 #define DXL_RX28_MAX_SPEED_PER_VOLT             (40.75*DXL_RX28_SPEED_TO_RAD_S) // In rad/s
00035 #define DXL_RX64_MAX_SPEED_PER_VOLT             (31.78*DXL_RX64_SPEED_TO_RAD_S) // In rad/s. Yes, this is lower than for the RX-28.
00036 
00037 // Motor coefficients
00038 #define DXL_RX28_TORQUE_CONST                   0.00992
00039 #define DXL_RX28_GEARBOX_RATIO                  193.0
00040 
00041 // Temperature coefficients
00042 #define DXL_RX28_COPPER_COEF                    0.004   // Was 0.0041, which worked well with motorCoeff=-0.002 for half compensation. And tempRef = 20deg.
00043 #define DXL_RX28_MAGNET_COEF                    (-0.00) // According to Maxon, this is -0.0011. (Was -0.002, which worked well for half compensation (not logical! since back-emf is ignored))
00044 
00045 
00046 #endif /* DYNAMIXELSPECS_H_ */


threemxl
Author(s):
autogenerated on Fri Aug 28 2015 13:21:08