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
456 stars 405 forks source link

Real time motion in dynamixel motors. #537

Open Raj-Kiran127 opened 2 years ago

Raj-Kiran127 commented 2 years 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?

    • ex) 3.7.31
  2. Which programming language/tool do you use?

    • ex) MATLAB
  3. Which operating system do you use?

    • ex)Windows 10
  4. Which USB serial converter do you use?

    • ex) U2D2
  5. Which DYNAMIXEL do you use?

    • ex) `MX-28 AT (protocol 1.0)
  6. Have you searched the issue from the closed issue threads? Yes

  7. Please describe the issue in detail I need to run 3 motors in real time. But as I increase the number of steps motors are taking more time and the motion is not smooth. So I used sync_write, it worked to some extent but am not getting smooth motion and also motors are not completing the motion in given time. How can I trouble shoot the issue please let me know. An add up question - Are there any libraries of sync_write or bulk_read for simulink ?
    Thanks in advance.

  8. How can we reproduce the issue? TrialWithSyncWrite.txt

This is the code am trying to run. Please bear with my improper coding style.

ROBOTIS-David commented 2 years ago

Hi Raj,

Your issue has been addressed via Tech Support,

See the quote below, _1) Giving position control(in matlab), when I try to increase the number of steps, motors slow down. How can I achieve a smooth motion for a given position control without slowing down the motors? (code - ToFro.m)

i.e)

2) Using simulink library for dynamixel motors available on matlab file exchange I achieved a smooth motion for 1 motor which finished in the given time but when I try to run all the motors at once, motion is not smooth and the end time is increasing.

3) How can I run the motors with real time using position control?