resibots / libdynamixel

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

Operating mode as a scoped enum #43

Closed dogoepp closed 6 years ago

dogoepp commented 6 years ago

Two changes : comments and operating mode.

I moved from enum to scoped enum, that looks better. It is also easier to use for client code as it makes more sense to use OperatingMode::wheel than cst::wheel.

Was tested on actuators with protocol 1 and 2

dogoepp commented 6 years ago

Since it was tested, I Merge