...
POST No. 2408062
How fast is the C++ SDK compared to Python for ROS?
2021-07-07 23:18:15 Forenkazan

Hi


I have been using the Python SDK to control the wheels of a mobile robot I am developing. I am currently facing some issues in trajectory control due to some slowness, which is run around 500 times a second (500Hz). 


Will converting my code to C++ and using the Dynamixel C++ SDK help? And how fast will it be compared to Python SDK approximately?


Or is the bottleneck the motors and their controller, not the language used?

2021-07-07 23:18:15
Forenkazan
2021-07-09 13:09:34 Will Son

Hi,


There are a few configurations that could enhance the communication speed, and based on an assumption that you are using X series,

Python might slower than C/C++ so if your code is very sensitive to the processing time, C++ is recommended, but try the above first.
Unfortunately, we do not have such test data for each library.
Thanks.
2021-07-09 13:09:34
willson
Reply
웹에디터 시작 웹 에디터 끝