resibots / libdynamixel

C++ interface to the dynamixel actuators
GNU General Public License v2.0
9 stars 15 forks source link

Allow to change timeout for scanning of servos. #37

Closed dogoepp closed 6 years ago

dogoepp commented 6 years ago

In the command-line utility, most commands require that first the available servos are searched on the bus. For faster search, a fixed, small, timeout was used.

We observed that this value could bring problems for some serial interfaces. Hence, it is now possible to manually override this timeout, through the new option "-scan-timeout".

@jbmouret @costashatz please review and allow merging asap.

dogoepp commented 6 years ago

Since I have some new work based on it and the changes introduced don't touch the library, I'll consider this pull request harmless.

Hence mering