ROBOTIS-GIT / DynamixelSDK

ROBOTIS Dynamixel SDK (Protocol1.0/2.0)
http://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_sdk/overview/
Apache License 2.0
461 stars 410 forks source link

About the "addStuffing" function #631

Open shin-man opened 2 months ago

shin-man commented 2 months ago

ISSUE TEMPLATE ver. 1.2.0

Please fill this template for more accurate and prompt support.

  1. Which DYNAMIXEL SDK version do you use? 2.0?

  2. Which programming language/tool do you use? C

  3. Which operating system do you use? Windows 10,

  4. Which USB serial converter do you use? U2D2

  5. Which DYNAMIXEL do you use? XM430-W350

  6. Have you searched the issue from the closed issue threads? yes

  7. Please describe the issue in detail I have a question about the code for the "addStuffing" function in "protocol2_packet_handler.c".

packet_ptr = &packet[i+PKT_INSTRUCTION-2];

I don't understand what "i+PKT_INSTRUCTION-2" means in this code.

Please explain.

  1. How can we reproduce the issue?