Robotis Dynamixel Pro Quick Start Manual page 63

Table of Contents

Advertisement

Quick Start for Dynamixel Pro v1.00b
data[5] = DXL_HIBYTE(DXL_LOWORD(velocity));
data[6] = DXL_LOBYTE(DXL_HIWORD(velocity));
data[7] = DXL_HIBYTE(DXL_HIWORD(velocity));
//change the position value and moving speed
printf(
"Press any key to change the position value and moving speed...\n"
_getch();
Result = dxl_write(Port, ID, P_GOAL_POSITION, 8, data, &ErrorStatus);
if( Result != COMM_RXSUCCESS )
{
printf(
printf(
_getch();
return
}
else
{
if(ErrorStatus != 0 )
}
//Close the port of USB2DXL
printf(
"Press any key to terminate...\n"
_getch();
dxl_terminate(Port);
return
0;
}
-
The velocity should be fast when rotating towards the first position and slower
when rotating towards the second position.
"Failed to write!\n"
);
"Press any key to terminate...\n"
0;
PrintErrorCode(ErrorStatus);
);
);
);
Page 63 / 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

Subscribe to Our Youtube Channel

Table of Contents