## [Playerstage-users] SetSpeed function/method

 [Playerstage-users] SetSpeed function/method From: Ian Gough - 2006-06-28 11:50:31 Attachments: Message as HTML ```Hi, My question specifically has to do with the Position2d::SetSpeed() method which accepts a turn rate in radians/sec as the second argument. Is a turn rate of -0.5 supposed to cause a turn to the left or to the right from the robot's perspective? Can anybody point out where in the PS documents I can find this information and general information about the coordinate system and units used? ian ```

 [Playerstage-users] SetSpeed function/method From: Ian Gough - 2006-06-28 11:50:31 Attachments: Message as HTML ```Hi, My question specifically has to do with the Position2d::SetSpeed() method which accepts a turn rate in radians/sec as the second argument. Is a turn rate of -0.5 supposed to cause a turn to the left or to the right from the robot's perspective? Can anybody point out where in the PS documents I can find this information and general information about the coordinate system and units used? ian ```
 Re: [Playerstage-users] SetSpeed function/method From: Marco GNULinux - 2006-06-28 12:10:57 ```Alle 13:50, mercoled=EC 28 giugno 2006, Ian Gough ha scritto: > Hi, > > My question specifically has to do with the Position2d::SetSpeed() method > which accepts a turn rate in radians/sec as the second argument. Is a turn > rate of -0.5 supposed to cause a turn to the left or to the right from the > robot's perspective? > > Can anybody point out where in the PS documents I can find this=20 > information and general information about the coordinate system and units > used? admittely, i can't find this in the docs... i think this should go to player-2.0.1/doc/player-docs/group__interface__position2d.html that is almost empty. anyway the usual coordinate system is an x axis along the robot orientation= =20 and pointing in front of the robot, an y axis pointing on the left of the=20 robot, and angles increas counterclockwise, so a -0.5 radians/sec makes the= =20 robot turn clockwise to his right. Regards. Marco Paladini. ```
 Re: [Playerstage-users] SetSpeed function/method From: Brian Gerkey - 2006-07-05 18:10:31 ```On Jun 28, 2006, at 5:11 AM, Marco GNULinux wrote: > Alle 13:50, mercoled=EC 28 giugno 2006, Ian Gough ha scritto: >> >> My question specifically has to do with the Position2d::SetSpeed() =20= >> method >> which accepts a turn rate in radians/sec as the second argument. =20 >> Is a turn >> rate of -0.5 supposed to cause a turn to the left or to the right =20 >> from the >> robot's perspective? >> >> Can anybody point out where in the PS documents I can find this >> information and general information about the coordinate system =20 >> and units >> used? Units are given here: http://playerstage.sourceforge.net/doc/Player-2.0.0/player/=20 group__units.html > admittely, i can't find this in the docs... i think this should go to > player-2.0.1/doc/player-docs/group__interface__position2d.html > that is almost empty. We should add a new group to the documentation that details the local =20= and global coordinate systems that are used throughout, in position2d =20= and other interfaces. > anyway the usual coordinate system is an x axis along the robot =20 > orientation > and pointing in front of the robot, an y axis pointing on the left =20 > of the > robot, and angles increas counterclockwise, so a -0.5 radians/sec =20 > makes the > robot turn clockwise to his right. Yep. brian.= ```