Re: p2dProxy.GetYaw() problem

Fred Labrosse <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Organization Aberystwyth University
Message-ID <2358527.yjtWU85YQo@pcp2ffl>
On Friday 10 May 2013 09:36:19 light86 wrote:
> please how i can get the complete value of yaw speed
> Thank you
> 

In fact, my explanation was incomplete.

It is very unlikely that you will get the same value again.  Certainly I would 
not rely on that happening again in my programs.  What you should do is

if ((yaw > 1.54 - epsilon) && (yaw < 1.54 + epsilon)) 
   Do whatever you need to do

where 1.54 is the value you want (I don't have the original message any more) 
and epsilon is the error you are prepared to accept.

Hope this helps.

Fred


> 
> 
> --
> View this message in context:
> http://player-stage-gazebo.10965.n7.nabble.com/p2dProxy-GetYaw-problem-tp18
> 784p18786.html Sent from the playerstage-developers mailing list archive at
> Nabble.com.
> 
> ----------------------------------------------------------------------------
> -- Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Playerstage-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-developers

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.