Skip to content

Commit 2f3c03d

Browse files
committed
[Fix] Fixed bit orientation for MovingStatus identifier
Signed-off-by: Jonghee Son <zzongaone@gmail.com>
1 parent 27faec4 commit 2f3c03d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Dynamixel2Arduino.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ enum D2ALibErrorCode
5050

5151
enum MovingStatus
5252
{
53-
IN_POSITION = 0x80,
54-
PROFILE_ONGOING = 0x40,
55-
FOLLOWING_ERROR = 0x10,
56-
VELOCITY_PROFILE = 0x0C
53+
IN_POSITION = 0x01,
54+
PROFILE_ONGOING = 0x02,
55+
FOLLOWING_ERROR = 0x08,
56+
VELOCITY_PROFILE = 0x30
5757
};
5858

5959
class Dynamixel2Arduino : public DYNAMIXEL::Master

0 commit comments

Comments
 (0)