dynamixel-workbench
dynamixel-workbench copied to clipboard
The Maximum Dynamixel Control Frequency Is Limited by Delays
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
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