From: Brian Gerkey <gerkey@ai...> - 2004-12-08 20:25:15
On Tue, 7 Dec 2004, Ming-Ta Yu wrote:
> When I am using the Stage to simulate my robot, what can I do to make my
> robot to rotate a specific angle like 45 and 90 ?
Stage robots don't support position control (which is what you're
describing). They only support velocity control. To do position control
you have to write some kind of controller in your client program which
monitors the robot's current pose and sends appropriate velocity commands
to bring it to the target pose.
Simple proporitional control should be sufficient for this purpose,
especially in Stage, which doesn't model dynamics.
Brian P. Gerkey gerkey@...
Stanford AI Lab http://ai.stanford.edu/~gerkey