dynamixel-workbench icon indicating copy to clipboard operation
dynamixel-workbench copied to clipboard

The Maximum Dynamixel Control Frequency Is Limited by Delays

Open chcaya opened this issue 4 years ago • 1 comments

Hello,

I'm using the DynamixelWorkbench class to control 7 Dynamixel servos with an OpenCR and I can't control their positions at a frequency higher than 14 Hz, because of the delay function calls in writeRegister and writeOnlyRegister methods of the DynamixelDriver class.

I would like to know the reasons for these delay function calls, and if it would be possible to remove them?

Thank you

chcaya avatar Jul 06 '21 20:07 chcaya

Hi @chcaya

The delay in those functions seem necessary, but it is hard to track the reason behind them as it is written 3 years ago. The Workbench is initially developed to configure DYNAMIXEL under Linux environment, therefore, it may not fully optimized for implementing an application. If you are using OpenCR to control DYNAMIXEL, I'd recommend using using DYNAMIXEL2ARduino library or DYNAMIXEL SDK. https://emanual.robotis.com/docs/en/software/arduino_ide/#software-installation

ROBOTIS-Will avatar Jul 07 '21 09:07 ROBOTIS-Will