Skip to content

Commit 94cc49a

Browse files
committed
update comment
1 parent 4d904ca commit 94cc49a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

c++/include/dynamixel_sdk/packet_handler.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,11 @@ class WINDECLSPEC PacketHandler
224224
/// @description transmits the packet with PacketHandler::txRxPacket(),
225225
/// @description then Dynamixel reboots.
226226
/// @description During reboot, its LED will blink.
227+
/// @description It will take some time to reboot. It will take longer for Y series.
227228
/// @param port PortHandler instance
228229
/// @param id Dynamixel ID
229230
/// @param error Dynamixel hardware error
230-
/// @return COMM_NOT_AVAILABLE
231+
/// @return communication results which come from PacketHandler::txRxPacket()
231232
////////////////////////////////////////////////////////////////////////////////
232233
virtual int reboot (PortHandler *port, uint8_t id, uint8_t *error = 0) = 0;
233234

@@ -236,7 +237,8 @@ class WINDECLSPEC PacketHandler
236237
/// @description The function makes an instruction packet with INST_CLEAR,
237238
/// @description transmits the packet with PacketHandler::txRxPacket().
238239
/// @description Applied Products : MX with Protocol 2.0 (Firmware v42 or above),
239-
/// @description Dynamixel X-series (Firmware v42 or above).
240+
/// @description DYNAMIXEL X-series (Firmware v42 or above), DYNAMIXEL Y-series.
241+
/// @description It will take some time to clear. It will take longer for Y series.
240242
/// @param port PortHandler instance
241243
/// @param id Dynamixel ID
242244
/// @param error Dynamixel hardware error

c++/include/dynamixel_sdk/protocol2_packet_handler.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,19 +179,20 @@ class WINDECLSPEC Protocol2PacketHandler : public PacketHandler
179179
/// @description transmits the packet with Protocol2PacketHandler::txRxPacket(),
180180
/// @description then Dynamixel reboots.
181181
/// @description During reboot, its LED will blink.
182+
/// @description It will take some time to reboot. It will take longer for Y series.
182183
/// @param port PortHandler instance
183184
/// @param id Dynamixel ID
184185
/// @param error Dynamixel hardware error
185-
/// @return COMM_NOT_AVAILABLE
186+
/// @return communication results which come from PacketHandler::txRxPacket()
186187
////////////////////////////////////////////////////////////////////////////////
187188
int reboot (PortHandler *port, uint8_t id, uint8_t *error = 0);
188189

189190
////////////////////////////////////////////////////////////////////////////////
190191
/// @brief The function that reset multi-turn revolution information of Dynamixel
191192
/// @description The function makes an instruction packet with INST_CLEAR,
192193
/// @description transmits the packet with Protocol2PacketHandler::txRxPacket().
193-
/// @description Applied Products : MX with Protocol 2.0 (Firmware v42 or above),
194-
/// @description Dynamixel X-series (Firmware v42 or above).
194+
/// @description DYNAMIXEL X-series (Firmware v42 or above), DYNAMIXEL Y-series.
195+
/// @description It will take some time to clear. It will take longer for Y series.
195196
/// @param port PortHandler instance
196197
/// @param id Dynamixel ID
197198
/// @param error Dynamixel hardware error

0 commit comments

Comments
 (0)