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 4949// #define P_SERIES // PH54, PH42, PM54
5050// #define XL320 // [WARNING] Operating Voltage : 7.4V
5151// #define MX_SERIES // MX series with 2.0 firmware update.
52+ // #define Y_SERIES // Y70, Y80
5253
5354// Control table address
5455#if defined(X_SERIES) || defined(MX_SERIES)
7980 #define MINIMUM_POSITION_LIMIT 0 // Refer to the CW Angle Limit of product eManual
8081 #define MAXIMUM_POSITION_LIMIT 1023 // Refer to the CCW Angle Limit of product eManual
8182 #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
8290#endif
8391
8492// DYNAMIXEL Protocol Version (1.0 / 2.0)
You can’t perform that action at this time.
0 commit comments