« Return to Thread: Problem with setting robot's position

Re: Problem with setting robot's position

by Simone Gaiera :: Rate this Message:

| View in Thread

I have the same roomba and if i ask to moves for 1mt the robot moves for approximately 85cm...
my cfg file is

driver
(
  name "roomba"
  provides ["position2d:0" "bumper:0" ]
  port "/dev/ttyUSB0"
  model "roomba500"
  safe 1
  roomba500 true
)

is correct the roomba 500 true right?
maybe is the usb-serial cable that is slow the problem...

like always thanks for you help...

Rich Mattes-2 wrote:
On 7/25/2011 6:01 AM, Simone Gaiera wrote:
> Hi I wanna report another big problem...when I use Stage and i do getxpos()
> if x=1 is one meter but when I use the same with the real world x=1 is 10
> meter so 0.1 is one meter.
>
> I use a roomba500 and obviously I have a big lag to the positions...you
> think there is a way to reduce this lag, that does not improve significantly
> either by lowering the speed?
>
>
>
I don't think it's lag from reading the roomba's measurements too
slowly, I think the measurements coming back from the roomba are just
off.  I was playing with my roomba 530 yesterday, it looks like the
odometry is off by a factor of -10 (from observation).  Multiplying the
distances by that amount seems to give somewhat realistic results.  The
angle measurements are also off I think, I couldn't hammer down how much
though.  The way the roomba works, when you request a distance or angle
measurement, it gives you the distance or angle since the last request.  
You never lose any information by polling it too slowly, unless you wait
too long and let the counter overflow, or you make small maneuvers that
cancel each other out between requests.

Rich

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users

 « Return to Thread: Problem with setting robot's position