Signed position not speed

Questions about using encoders with the Roboclaw product line
Post Reply
woko1754
Posts: 20
Joined: Sun Feb 21, 2021 3:16 am
Signed position not speed

Post by woko1754 »

I just found a big misleading information in the roboclaw user manual. In commands 65, 66 and 67 at first I interpreted in the way, that the speed has to be negative to get to a negative position. But my code didn't work for negative positions. Then after sniffing the Motion Studio, I found out, that the position-parameter has to be negative to get to a negative position (as it obviously should be).

Now my code is working as expected :D !

Maybe this applies for other comm ands too.
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Signed position not speed

Post by Basicmicro Support »

I think your wording is incorrect. It may be a mistake or misunderstanding. Misleading has different connotations.

Positions arguments are 32bit values. You can think of them as signed or unsigned values, your choice. But they must be 32bit value.

Post Reply