diff --git a/src/DynamixelMotor.h b/src/DynamixelMotor.h index 665eacc..d8b1d32 100644 --- a/src/DynamixelMotor.h +++ b/src/DynamixelMotor.h @@ -69,7 +69,11 @@ class DynamixelDevice { return mStatus=mInterface.reset(mID, mStatusReturnLevel); } - + int setid(uint8_t id) // typedef uint8_t DynamixelID; + { + mID = id; + return 0; + } private: DynamixelInterface &mInterface;