## [Playerstage-users] 90 degree rotation in Player

 [Playerstage-users] 90 degree rotation in Player From: Tim Allaerts - 2005-06-05 22:17:11 ```
Hi,

I've been trying to get my atrv-jr robot to turn 90 degrees. It doesn't seem to work by using setSpeed so I thought off using the odometry. I created a loop in which the robot is supposed to turn until the theta in the odometry is the original theta + 90 degrees. But the robot keeps turning as it seems the odometry is adjusted after the turn and not during. Is that correct?

Could someone give me a hand here, please?

thank you,
Tim Allaerts,
student in Informatics at the University of Antwerp, Belgium

Free blogging with MSN Spaces ```

 [Playerstage-users] 90 degree rotation in Player From: Tim Allaerts - 2005-06-05 22:17:11 ```
Hi,

I've been trying to get my atrv-jr robot to turn 90 degrees. It doesn't seem to work by using setSpeed so I thought off using the odometry. I created a loop in which the robot is supposed to turn until the theta in the odometry is the original theta + 90 degrees. But the robot keeps turning as it seems the odometry is adjusted after the turn and not during. Is that correct?

Could someone give me a hand here, please?

thank you,
Tim Allaerts,
student in Informatics at the University of Antwerp, Belgium

Free blogging with MSN Spaces ```
 Re: [Playerstage-users] 90 degree rotation in Player From: Brian Gerkey - 2005-06-13 19:44:50 ```Tim Allaerts wrote: > I've been trying to get my atrv-jr robot to turn 90 degrees. It doesn't > seem to work by using setSpeed so I thought off using the odometry. I > created a loop in which the robot is supposed to turn until the theta in > the odometry is the original theta + 90 degrees. But the robot keeps > turning as it seems the odometry is adjusted after the turn and not > during. Is that correct? The rflex driver doesn't support position control, so you're stuck with velocity control. I don't know why you're having trouble getting that to work. Make sure that you read from the server constantly; that's how the proxies in your client program get updated. Also make sure that you're computing the angular difference correctly; you need to account for rollover at 0/2pi. brian. -- Brian P. Gerkey gerkey@... Stanford AI Lab http://ai.stanford.edu/~gerkey ```