File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
c++/example/protocol2.0/read_write Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 49
49
// #define P_SERIES // PH54, PH42, PM54
50
50
// #define XL320 // [WARNING] Operating Voltage : 7.4V
51
51
// #define MX_SERIES // MX series with 2.0 firmware update.
52
+ // #define Y_SERIES // Y70, Y80
52
53
53
54
// Control table address
54
55
#if defined(X_SERIES) || defined(MX_SERIES)
79
80
#define MINIMUM_POSITION_LIMIT 0 // Refer to the CW Angle Limit of product eManual
80
81
#define MAXIMUM_POSITION_LIMIT 1023 // Refer to the CCW Angle Limit of product eManual
81
82
#define BAUDRATE 1000000 // Default Baudrate of XL-320 is 1Mbps
83
+ #elif defined(Y_SERIES)
84
+ #define ADDR_TORQUE_ENABLE 512 // Control table address is different in DYNAMIXEL model
85
+ #define ADDR_GOAL_POSITION 532
86
+ #define ADDR_PRESENT_POSITION 552
87
+ #define MINIMUM_POSITION_LIMIT -262144 // Refer to the Minimum Position Limit of product eManual
88
+ #define MAXIMUM_POSITION_LIMIT 262144 // Refer to the Maximum Position Limit of product eManual
89
+ #define BAUDRATE 57600
82
90
#endif
83
91
84
92
// DYNAMIXEL Protocol Version (1.0 / 2.0)
You can’t perform that action at this time.
0 commit comments