Re: the instruction sleep with SetSpeed
Rich Mattes <[email protected]> Fri, 31 May 2013 21:25:23 -0400
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
On 05/31/2013 04:56 AM, light86 wrote: > hi i've notice when i use sleep(10) after the instruction > p2dProxy.SetSpeed > the motion of the robot take 10 seconde > Please I want to know why > Thank you > > > What do you expect to happen? You told your robot to move with SetSpeed(). Then you didn't tell it anything after that so it keeps doing the last thing you told it to do. Rich ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2