You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although there are no previous records addressing this specific matter:
1. Hardware Resource Limitations
Memory Constraints: Dynamixel controllers (e.g., U2D2, OpenCR) have limited memory and processing capabilities.
Handlers are used during sync read/write operations, and each handler consumes memory and CPU resources.
Adding many handlers can lead to memory shortages or performance degradation.
Bandwidth Issues: Dynamixel communication is based on serial communication (USART), and as the number of motors and communication cycles increases, the likelihood of data collisions or delays also rises.
Synchronizing many motors requires additional data packets, which can strain the bandwidth.
2. Stability
Minimizing Complexity: When designing a software library, typical use cases are considered.
With 5 handlers, most robotic systems (e.g., robotic arms, mobile robots) can be sufficiently supported.
A smaller default value might have been set to prioritize stability and maintainability.
Timing Issues: With more handlers, timing synchronization problems can arise.
If synchronization breaks, motors might not respond to commands or behave unpredictably.
Setting a smaller default value could be a way to avoid such issues.
You can test this by gradually increasing the number of handlers while monitoring memory usage, CPU load, and communication timing. If you encounter issues, please share your observations, and we will be happy to provide further support.
Hi there.
Thanks for your work.
I am using dynamixel workbench in my ROS project. I am wondering if I can change
MAX_HANDLER_NUM
to a larger number, which now is only as small as 5:dynamixel-workbench/dynamixel_workbench_toolbox/include/dynamixel_workbench_toolbox/dynamixel_driver.h
Line 92 in 67a1631
If it cannot be changed to a larger number, could you please explain why?
Hope for your reply sincerely. 😃
The text was updated successfully, but these errors were encountered: