Quick Start for Dynamixel Pro v1.00b
return
0;
}
-
The return pointer of the read/write functions returns the error/status code sent
from Dynamixel PRO.
-
Please refer to 2.4.2 for detailed information regarding error values.
-
Check the ID that is modified using Dynamixel Wizard.
iv. Modifying the baud rate of Dynamixel PRO.
-
Please use Dynamixel Wizard to change Dynamixel PRO ID to 1.
-
As explained in 1.1, the baud rate of Dynamixel PRO on the Control Table is in
address #8. Also, the baud rate is assigned with 1 byte so it can be modified by
implementing dxl_write_byte function.
-
The baud rate cannot be changed while Dynamixel PRO is in torque on status.
Torque must be turned off in order to change its value.
-
The program's entire source is shown below.
main.cpp
#include
<stdio.h>
#include
<conio.h>
#include
"dynamixel.h"
#define
COM_PORT_NUM
#define
BAUD_RATE_NUM
#define
P_BAUD_RATE
#define
P_TORQUE_ENABLE
#define
ID
17
//Comport Number of USB2DXL
1
//Baudrate Number of Dynamixel PRO
8
//Address of ID in Contorl Table
562
//Address of Torque Enable in Control Table
1
//ID of Dynamixel PRO you use
Page 49 / 139
Need help?
Do you have a question about the Dynamixel Pro and is the answer not in the manual?