You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The read_write_node.cpp example in the DYNAMIXEL SDK requires 2 DYNAMIXEL with ID 1 and 2.
If you are running with only one DYNAMIXEL (with ID = 1), please modify the source code to run with a single DYNAMIXEL.
For example, comment out the ID 2 torque enable code in line 131 as below
dxl_comm_result = packetHandler->write1ByteTxRx(
portHandler, DXL1_ID, ADDR_TORQUE_ENABLE, 1, &dxl_error);
if (dxl_comm_result != COMM_SUCCESS) {
ROS_ERROR("Failed to enable torque for Dynamixel ID %d", DXL1_ID);
return -1;
}
// dxl_comm_result = packetHandler->write1ByteTxRx(// portHandler, DXL2_ID, ADDR_TORQUE_ENABLE, 1, &dxl_error);// if (dxl_comm_result != COMM_SUCCESS) {// ROS_ERROR("Failed to enable torque for Dynamixel ID %d", DXL2_ID);// return -1;// }
If you are running with AX series, you should modify the source code as the example is written for X series that have a different control table, data structure, and Protocol version from AX series.
Hello! I have the same problem, I use Dynamixel for work : AX-12A.
Tell me what exactly needs to be changed. I don't understand. and where to find this information
The read_write_node.cpp example in the DYNAMIXEL SDK requires 2 DYNAMIXEL with ID 1 and 2.
If you are running with only one DYNAMIXEL (with ID = 1), please modify the source code to run with a single DYNAMIXEL.
For example, comment out the ID 2 torque enable code in line 131 as below
If you are running with AX series, you should modify the source code as the example is written for X series that have a different control table, data structure, and Protocol version from AX series.
Thanks.
Originally posted by @ROBOTIS-Will in #558 (comment)
The text was updated successfully, but these errors were encountered: