Robotis Dynamixel Pro Quick Start Manual page 82

Table of Contents

Advertisement

Quick Start for Dynamixel Pro v1.00b
else
PrintErrorCode(ErrorStatus);
//Change the Goal position
printf("Press any key to change the Goal Position to
_getch();
Result = dxl_write_dword(Port, ID, P_GOAL_POSITION, -120000, &ErrorStatus);
if( Result != COMM_RXSUCCESS )
{
printf(
printf(
_getch();
return
}
else
PrintErrorCode(ErrorStatus);
//Change the Goal position
printf("Press any key to change the Goal Position to
_getch();
Result = dxl_write_dword(Port, ID, P_GOAL_POSITION, -100000, &ErrorStatus);
if( Result != COMM_RXSUCCESS )
{
printf(
printf(
_getch();
return
}
else
PrintErrorCode(ErrorStatus);
//Close the port of USB2DXL
printf(
"Press any key to terminate...\n"
_getch();
dxl_terminate(Port);
return
0;
}
-
If the program does not run properly check if the Operating Mode is set to Joint
Mode.
"Failed to write!\n"
);
"Press any key to terminate...\n"
0;
"Failed to write!\n"
);
"Press any key to terminate...\n"
0;
-120000\n");
);
-100000\n");
);
);
Page 82 / 139

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Dynamixel Pro and is the answer not in the manual?

Questions and answers

Table of Contents