Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
AX.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Package: Dynamixel
4 //
5 // Library: librnr_dynamixel
6 //
7 // File: AX.h
8 //
9 /*! \file
10  *
11  * $LastChangedDate: 2015-01-12 10:56:06 -0700 (Mon, 12 Jan 2015) $
12  * $Rev: 3845 $
13  *
14  * \ingroup dyna_lib_hdrs
15  *
16  * \brief RoadNarrows AX Series Dynamixel Declarations.
17  *
18  * \note Only deltas from base values found in Dynamixel.h are defined here.
19  *
20  * \author Robin Knight (robin.knight@roadnarrows.com)
21  *
22  * \copyright
23  * \h_copy 2011-2017. RoadNarrows LLC.\n
24  * http://www.roadnarrows.com\n
25  * All Rights Reserved
26  */
27 /*
28  * @EulaBegin@
29  *
30  * Unless otherwise stated explicitly, all materials contained are copyrighted
31  * and may not be used without RoadNarrows LLC's written consent,
32  * except as provided in these terms and conditions or in the copyright
33  * notice (documents and software) or other proprietary notice provided with
34  * the relevant materials.
35  *
36  * IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY
37  * MEMBERS/EMPLOYEES/CONTRACTORS OF ROADNARROWS OR DISTRIBUTORS OF THIS SOFTWARE
38  * BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
39  * CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
40  * DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN
41  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42  *
43  * THE AUTHORS AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES,
44  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
45  * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
46  * "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO
47  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
48  *
49  * @EulaEnd@
50  */
51 ////////////////////////////////////////////////////////////////////////////////
52 
53 #ifndef _AX_H
54 #define _AX_H
55 
56 #include "rnr/rnrconfig.h"
57 
58 #include "Dynamixel/Dynamixel.h"
59 
60 #ifndef SWIG
61 C_DECLS_BEGIN
62 #endif // SWIG
63 
64 // ---------------------------------------------------------------------------
65 // AX Models and Specifications
66 // ---------------------------------------------------------------------------
67 
68 /*!
69  * \addtogroup dyna_servo_model_num
70  *
71  * \{
72  */
73 #define DYNA_MODEL_NUM_AX12 0x000c ///< AX-12, AX-12+, AX-12A
74 /*! \} */
75 
76 /*!
77  * \ingroup dyna_spec
78  * \defgroup dyan_spec_ax12 AX-12 Specification
79  *
80  * \{
81  */
82 #define DYNA_AX12_SPEC_WEIGHT_G 53.5 ///< weight (grams)
83 #define DYNA_AX12_SPEC_WIDTH_MM 32.0 ///< width (mm)
84 #define DYNA_AX12_SPEC_HEIGHT_MM 50.0 ///< height (mm)
85 #define DYNA_AX12_SPEC_DEPTH_MM 40.0 ///< depth (mm)
86 
87 #define DYNA_AX12_SPEC_POS_RES_DEG 0.29 ///< resolution (degrees)
88 #define DYNA_AX12_SPEC_GEAR_RATIO 254.0 ///< gear reduction ratio : 1
89 
90 #define DYNA_AX12_SPEC_STALL_TORQUE_KGF 15.0
91  ///< maximum stall torque (kgf) at optimal power
92 
93 #define DYNA_AX12_SPEC_MAX_SPEED_RPM 59.0
94  ///< maximum no-load speed (rpm) at optimal power
95 
96 #define DYNA_AX12_SPEC_ANGLE_MIN_DEG 0.0
97  ///< minimum rotation angle in servo mode (deg)
98 
99 #define DYNA_AX12_SPEC_ANGLE_MAX_DEG 300.0
100  ///< maximum rotation angle in servo mode (deg)
101 
102 #define DYNA_AX12_SPEC_MODES (DYNA_MODE_SERVO|DYNA_MODE_CONTINUOUS)
103  ///< supported modes (see \ref dyna_servo_mode)
104 
105 #define DYNA_AX12_SPEC_HAS_360_POS false
106  ///< servo does not provide 360\h_deg position data
107 
108 #define DYNA_AX12_SPEC_TEMP_MIN_C (-5.0)
109  ///< minimum recommended operational temperature (C)
110 
111 #define DYNA_AX12_SPEC_TEMP_MAX_C 70.0
112  ///< maximum recommended operational temperature (C)
113 
114 #define DYNA_AX12_SPEC_VOLT_MIN_V 9.0
115  ///< minimum operational voltage (V)
116 
117 #define DYNA_AX12_SPEC_VOLT_MAX_V 12.0
118  ///< maximum operational voltage (V)
119 
120 #define DYNA_AX12_SPEC_CTL_METHOD (DYNA_CTL_METHOD_COMPLIANCE)
121  ///< position control method (see \ref dyna_ctl_method)
122 /*! \} */
123 
124 
125 // ---------------------------------------------------------------------------
126 // AX-12
127 // ---------------------------------------------------------------------------
128 
129 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
130 // AX-12 Common Parameters
131 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
132 
133 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
134 // AX-12 Servo Control Table
135 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
136 
137 // . . . . . . . . . . . . . . . . . . .
138 // EEPROM. All values are read/write (RW) unless otherwise noted.
139 // . . . . . . . . . . . . . . . . . . .
140 
141 // . . . . . . . . . . . . . . . . . . .
142 // RAM. All values are read/write (RW) unless otherwise noted.
143 // . . . . . . . . . . . . . . . . . . .
144 
145 
146 #ifndef SWIG
147 C_DECLS_END
148 #endif // SWIG
149 
150 
151 #endif // _AX_H
RoadNarrows Dynamixel Top-Level Package Header File.