Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
RX.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////////
2 //
3 // Package: Dynamixel
4 //
5 // Library: librnr_dynamixel
6 //
7 // File: RX.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 RX 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 _RX_H
54 #define _RX_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 // RX Models and Specifications
66 // ---------------------------------------------------------------------------
67 
68 /*!
69  * \addtogroup dyna_servo_model_num
70  *
71  * \{
72  */
73 #define DYNA_MODEL_NUM_RX10 0x000a ///< RX-10
74 #define DYNA_MODEL_NUM_RX24F 0x0018 ///< RX-24F
75 #define DYNA_MODEL_NUM_RX28 0x001c ///< RX-28
76 #define DYNA_MODEL_NUM_RX64 0x0040 ///< RX-64
77 /*! \} */
78 
79 /*!
80  * \ingroup dyna_spec
81  * \defgroup dyan_spec_rx10 RX-10 Specification
82  *
83  * \{
84  */
85 #define DYNA_RX10_SPEC_WEIGHT_G 64.5 ///< weight (grams)
86 #define DYNA_RX10_SPEC_WIDTH_MM 35.6 ///< width (mm)
87 #define DYNA_RX10_SPEC_HEIGHT_MM 50.6 ///< height (mm)
88 #define DYNA_RX10_SPEC_DEPTH_MM 35.5 ///< depth (mm)
89 
90 #define DYNA_RX10_SPEC_POS_RES_DEG 0.29 ///< resolution (degrees)
91 #define DYNA_RX10_SPEC_GEAR_RATIO 193.0 ///< gear reduction ratio : 1
92 
93 #define DYNA_RX10_SPEC_STALL_TORQUE_KGF 13.0
94  ///< maximum stall torque (kgf) at optimal power
95 
96 #define DYNA_RX10_SPEC_MAX_SPEED_RPM 54.0
97  ///< maximum no-load speed (rpm) at optimal power
98 
99 #define DYNA_RX10_SPEC_ANGLE_MIN_DEG 0.0
100  ///< minimum rotation angle in servo mode (deg)
101 
102 #define DYNA_RX10_SPEC_ANGLE_MAX_DEG 300.0
103  ///< maximum rotation angle in servo mode (deg)
104 
105 #define DYNA_RX10_SPEC_MODES (DYNA_MODE_SERVO|DYNA_MODE_CONTINUOUS)
106  ///< supported modes (see \ref dyna_servo_mode)
107 
108 #define DYNA_RX10_SPEC_HAS_360_POS false
109  ///< servo does not provide 360\h_deg position data
110 
111 #define DYNA_RX10_SPEC_TEMP_MIN_C (-5.0)
112  ///< minimum recommended operational temperature (C)
113 
114 #define DYNA_RX10_SPEC_TEMP_MAX_C 80.0
115  ///< maximum recommended operational temperature (C)
116 
117 #define DYNA_RX10_SPEC_VOLT_MIN_V 10.0
118  ///< minimum operational voltage (V)
119 
120 #define DYNA_RX10_SPEC_VOLT_MAX_V 12.0
121  ///< maximum operational voltage (V)
122 
123 #define DYNA_RX10_SPEC_CTL_METHOD DYNA_CTL_METHOD_COMPLIANCE
124  ///< position control method (see \ref dyna_ctl_method)
125 /*! \} */
126 
127 /*!
128  * \ingroup dyna_spec
129  * \defgroup dyan_spec_rx24f RX-24F Specification
130  *
131  * \{
132  */
133 #define DYNA_RX24F_SPEC_WEIGHT_G 67.0 ///< weight (grams)
134 #define DYNA_RX24F_SPEC_WIDTH_MM 35.6 ///< width (mm)
135 #define DYNA_RX24F_SPEC_HEIGHT_MM 50.6 ///< height (mm)
136 #define DYNA_RX24F_SPEC_DEPTH_MM 35.5 ///< depth (mm)
137 
138 #define DYNA_RX24F_SPEC_POS_RES_DEG 0.29 ///< resolution (degrees)
139 #define DYNA_RX24F_SPEC_GEAR_RATIO 193.0 ///< gear reduction ratio : 1
140 
141 #define DYNA_RX24F_SPEC_STALL_TORQUE_KGF 26.0
142  ///< maximum stall torque (kgf) at optimal power
143 
144 #define DYNA_RX24F_SPEC_MAX_SPEED_RPM 126.0
145  ///< maximum no-load speed (rpm) at optimal power
146 
147 #define DYNA_RX24F_SPEC_ANGLE_MIN_DEG 0.0
148  ///< minimum rotation angle in servo mode (deg)
149 
150 #define DYNA_RX24F_SPEC_ANGLE_MAX_DEG 300.0
151  ///< maximum rotation angle in servo mode (deg)
152 
153 #define DYNA_RX24F_SPEC_MODES (DYNA_MODE_SERVO|DYNA_MODE_CONTINUOUS)
154  ///< supported modes (see \ref dyna_servo_mode)
155 
156 #define DYNA_RX24F_SPEC_HAS_360_POS false
157  ///< servo does not provide 360\h_deg position data
158 
159 #define DYNA_RX24F_SPEC_TEMP_MIN_C (-5.0)
160  ///< minimum recommended operational temperature (C)
161 
162 #define DYNA_RX24F_SPEC_TEMP_MAX_C 80.0
163  ///< maximum recommended operational temperature (C)
164 
165 #define DYNA_RX24F_SPEC_VOLT_MIN_V 9.0
166  ///< minimum operational voltage (V)
167 
168 #define DYNA_RX24F_SPEC_VOLT_MAX_V 12.0
169  ///< maximum operational voltage (V)
170 
171 #define DYNA_RX24F_SPEC_CTL_METHOD DYNA_CTL_METHOD_COMPLIANCE
172  ///< position control method (see \ref dyna_ctl_method)
173 /*! \} */
174 
175 /*!
176  * \ingroup dyna_spec
177  * \defgroup dyan_spec_rx28 RX-28 Specification
178  *
179  * \{
180  */
181 #define DYNA_RX28_SPEC_WEIGHT_G 72.0 ///< weight (grams)
182 #define DYNA_RX28_SPEC_WIDTH_MM 35.6 ///< width (mm)
183 #define DYNA_RX28_SPEC_HEIGHT_MM 50.6 ///< height (mm)
184 #define DYNA_RX28_SPEC_DEPTH_MM 35.5 ///< depth (mm)
185 
186 #define DYNA_RX28_SPEC_POS_RES_DEG 0.29 ///< resolution (degrees)
187 #define DYNA_RX28_SPEC_GEAR_RATIO 193.0 ///< gear reduction ratio : 1
188 
189 #define DYNA_RX28_SPEC_STALL_TORQUE_KGF 37.0
190  ///< maximum stall torque (kgf) at optimal power
191 
192 #define DYNA_RX28_SPEC_MAX_SPEED_RPM 85.0
193  ///< maximum no-load speed (rpm) at optimal power
194 
195 #define DYNA_RX28_SPEC_ANGLE_MIN_DEG 0.0
196  ///< minimum rotation angle in servo mode (deg)
197 
198 #define DYNA_RX28_SPEC_ANGLE_MAX_DEG 300.0
199  ///< maximum rotation angle in servo mode (deg)
200 
201 #define DYNA_RX28_SPEC_MODES (DYNA_MODE_SERVO|DYNA_MODE_CONTINUOUS)
202  ///< supported modes (see \ref dyna_servo_mode)
203 
204 #define DYNA_RX28_SPEC_HAS_360_POS false
205  ///< servo does not provide 360\h_deg position data
206 
207 #define DYNA_RX28_SPEC_TEMP_MIN_C (-5.0)
208  ///< minimum recommended operational temperature (C)
209 
210 #define DYNA_RX28_SPEC_TEMP_MAX_C 80.0
211  ///< maximum recommended operational temperature (C)
212 
213 #define DYNA_RX28_SPEC_VOLT_MIN_V 12.0
214  ///< minimum operational voltage (V)
215 
216 #define DYNA_RX28_SPEC_VOLT_MAX_V 18.5
217  ///< maximum operational voltage (V)
218 
219 #define DYNA_RX28_SPEC_CTL_METHOD DYNA_CTL_METHOD_COMPLIANCE
220  ///< position control method (see \ref dyna_ctl_method)
221 /*! \} */
222 
223 /*!
224  * \ingroup dyna_spec
225  * \defgroup dyan_spec_rx64 RX-64 Specification
226  *
227  * \{
228  */
229 #define DYNA_RX64_SPEC_WEIGHT_G 125.0 ///< weight (grams)
230 #define DYNA_RX64_SPEC_WIDTH_MM 40.2 ///< width (mm)
231 #define DYNA_RX64_SPEC_HEIGHT_MM 61.1 ///< height (mm)
232 #define DYNA_RX64_SPEC_DEPTH_MM 41.0 ///< depth (mm)
233 
234 #define DYNA_RX64_SPEC_POS_RES_DEG 0.29 ///< resolution (degrees)
235 #define DYNA_RX64_SPEC_GEAR_RATIO 200.0 ///< gear reduction ratio : 1
236 
237 #define DYNA_RX64_SPEC_STALL_TORQUE_KGF 52.0
238  ///< maximum stall torque (kgf) at optimal power
239 
240 #define DYNA_RX64_SPEC_MAX_SPEED_RPM 64.0
241  ///< maximum no-load speed (rpm) at optimal power
242 
243 #define DYNA_RX64_SPEC_ANGLE_MIN_DEG 0.0
244  ///< minimum rotation angle in servo mode (deg)
245 
246 #define DYNA_RX64_SPEC_ANGLE_MAX_DEG 300.0
247  ///< maximum rotation angle in servo mode (deg)
248 
249 #define DYNA_RX64_SPEC_MODES (DYNA_MODE_SERVO|DYNA_MODE_CONTINUOUS)
250  ///< supported modes (see \ref dyna_servo_mode)
251 
252 #define DYNA_RX64_SPEC_HAS_360_POS false
253  ///< servo does not provide 360\h_deg position data
254 
255 #define DYNA_RX64_SPEC_TEMP_MIN_C (-5.0)
256  ///< minimum recommended operational temperature (C)
257 
258 #define DYNA_RX64_SPEC_TEMP_MAX_C 80.0
259  ///< maximum recommended operational temperature (C)
260 
261 #define DYNA_RX64_SPEC_VOLT_MIN_V 12.0
262  ///< minimum operational voltage (V)
263 
264 #define DYNA_RX64_SPEC_VOLT_MAX_V 18.5
265  ///< maximum operational voltage (V)
266 
267 #define DYNA_RX64_SPEC_CTL_METHOD DYNA_CTL_METHOD_COMPLIANCE
268  ///< position control method (see \ref dyna_ctl_method)
269 /*! \} */
270 
271 
272 
273 // ---------------------------------------------------------------------------
274 // RX-10
275 // ---------------------------------------------------------------------------
276 
277 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
278 // RX-10 Common Parameters
279 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
280 
281 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
282 // RX-10 Servo Control Table
283 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
284 
285 // . . . . . . . . . . . . . . . . . . .
286 // EEPROM. All values are read/write (RW) unless otherwise noted.
287 // . . . . . . . . . . . . . . . . . . .
288 
289 // . . . . . . . . . . . . . . . . . . .
290 // RAM. All values are read/write (RW) unless otherwise noted.
291 // . . . . . . . . . . . . . . . . . . .
292 
293 
294 #ifndef SWIG
295 C_DECLS_END
296 #endif // SWIG
297 
298 
299 #endif // _RX_H
RoadNarrows Dynamixel Top-Level Package Header File.