Re: [Playerstage-developers] yaw speed and forwad speed

 Re: [Playerstage-developers] yaw speed and forwad speed From: light86 - 2013-06-04 11:40:25 ```dear thank you i've change my sleep time in sleep (1) i've notice that the angle now is not 30 degrees i don't want to stop the motion of the robot and test the angle please is there any solution to get the angle that I want Thank you -- View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/yaw-speed-and-forward-speed-tp18856p18858.html Sent from the playerstage-developers mailing list archive at Nabble.com. ```

 [Playerstage-developers] yaw speed and forwad speed From: light86 - 2013-06-04 11:15:56 ```hi i'm trying to change the direction of the robot while the robot is moving this is my code p2dProxy.SetSpeed(0.8,dtor(30)); sleep(2); in the execution the direction is not 30 degrees Please what is the solution Thank you -- View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/yaw-speed-and-forwad-speed-tp18856.html Sent from the playerstage-developers mailing list archive at Nabble.com. ```
 Re: [Playerstage-developers] yaw speed and forwad speed From: Fred Labrosse - 2013-06-04 11:26:39 ```On Tuesday 04 June 2013 04:15:50 light86 wrote: > hi i'm trying to change the direction of the robot while the robot is moving > this is my code > p2dProxy.SetSpeed(0.8,dtor(30)); > sleep(2); > > in the execution the direction is not 30 degrees > Please what is the solution > Thank you The function SetSpeed(), as its name indicates, sets the speed, not an absolute position or orientation. With the line above, you tell your robot to turn at a rate of 30 degrees per second and move at 0.8 metre per second. So if the robot can do these speeds, after 2 seconds it will have moved by 1.6 metres (note, along its curved path) and turned by 60 degrees. These are very high speeds and the robot is unlikely to be able to do that. Also, it takes a while for the robot to get to the desired speed and to stop (assuming that after 2 seconds you tell it to stop). Hope this helps. Fred > > > > -- > View this message in context: > http://player-stage-gazebo.10965.n7.nabble.com/yaw-speed-and-forwad-speed-t > p18856.html Sent from the playerstage-developers mailing list archive at > Nabble.com. > > ---------------------------------------------------------------------------- > -- How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Playerstage-developers mailing list > Playerstage-developers@... > https://lists.sourceforge.net/lists/listinfo/playerstage-developers ```
 Re: [Playerstage-developers] yaw speed and forwad speed From: light86 - 2013-06-04 11:40:25 ```dear thank you i've change my sleep time in sleep (1) i've notice that the angle now is not 30 degrees i don't want to stop the motion of the robot and test the angle please is there any solution to get the angle that I want Thank you -- View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/yaw-speed-and-forward-speed-tp18856p18858.html Sent from the playerstage-developers mailing list archive at Nabble.com. ```
 Re: [Playerstage-developers] yaw speed and forwad speed From: Fred Labrosse - 2013-06-04 11:45:35 ```On Tuesday 04 June 2013 04:40:19 light86 wrote: > dear thank you > i've change my sleep time in sleep (1) > i've notice that the angle now is not 30 degrees > i don't want to stop the motion of the robot and test the angle > please is there any solution to get the angle that I want > Thank you > As said *many* times recently, you need to write a controller that sets the speed, monitors the current angle and stop turning when the desired angle is reached. Fred > > > -- > View this message in context: > http://player-stage-gazebo.10965.n7.nabble.com/yaw-speed-and-forward-speed->; tp18856p18858.html Sent from the playerstage-developers mailing list archive > at Nabble.com. > > ---------------------------------------------------------------------------- > -- How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Playerstage-developers mailing list > Playerstage-developers@... > https://lists.sourceforge.net/lists/listinfo/playerstage-developers ```
 Re: [Playerstage-developers] yaw speed and forwad speed From: light86 - 2013-06-04 12:01:52 ```hi thank you i have write the controller it work thank you but what i know is why player can't turn the robot with the angle that i want? (i've also use sleep(1) Thank you -- View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/yaw-speed-and-forward-speed-tp18856p18860.html Sent from the playerstage-developers mailing list archive at Nabble.com. ```