Quick Start for Dynamixel Pro v1.00b
Page
90
/
139
PrintErrorCode(ErrorStatus);
else
printf(
"Succeed to set the indirect address for goal position!\n"
);
}
//Set the Indirect Address for Goal Velocity
printf(
"Press any key to set the indirect address for goal velocity...\n"
);
_getch();
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_4, P_GOAL_VELOCITY,
&ErrorStatus);
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_5, P_GOAL_V1,
&ErrorStatus);
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_6, P_GOAL_V2,
&ErrorStatus);
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_7, P_GOAL_V3,
&ErrorStatus);
if
( Result != COMM_RXSUCCESS )
{
printf(
"Failed to write!\n"
);
printf(
"Press any key to terminate...\n"
);
_getch();
return
0;
}
else
{
if
(ErrorStatus != 0 )
PrintErrorCode(ErrorStatus);
else
printf(
"Succeed to set the indirect address for goal velocity!\n"
);
}
//Set the Indirect Address for Goal Acceleration
printf(
"Press any key to set the indirect address for goal acceleration...\n"
);
_getch();
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_8,
P_GOAL_ACCELERATION, &ErrorStatus);
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_9,
P_GOAL_ACCEL1, &ErrorStatus);
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_10,
P_GOAL_ACCEL2, &ErrorStatus);
Result = dxl_write_word(Port, ID, P_INDIRECT_ADDRESS_11,
P_GOAL_ACCEL3, &ErrorStatus);
if
( Result != COMM_RXSUCCESS )
{
printf(
"Failed to write!\n"
);
printf(
"Press any key to terminate...\n"
);
_getch();
return
0;
}
else
Summary of Contents for Dynamixel Pro
Page 1: ...Quick Start for Dynamixel Pro ...
Page 8: ...Quick Start for Dynamixel Pro v1 00b Page 8 139 ...
Page 33: ...Quick Start for Dynamixel Pro v1 00b Page 33 139 Check Dynamixel PRO firmware update results ...
Page 37: ...Quick Start for Dynamixel Pro v1 00b Page 37 139 Dynamixel PRO firmware recovery is complete ...
Page 66: ...Quick Start for Dynamixel Pro v1 00b Page 66 139 The present temperature is constantly read ...
Page 133: ...Quick Start for Dynamixel Pro v1 00b Page 133 139 2 3 2 42 series H42 L42 ...
Page 136: ...Quick Start for Dynamixel Pro v1 00b Page 136 139 ...
Page 138: ...Quick Start for Dynamixel Pro v1 00b Page 138 139 iii L42 10 S300 R ...
Page 139: ...Quick Start for Dynamixel Pro v1 00b Page 139 139 2 5 Model notation ...