I'm driving the robot with the Position2dProxy and the SetSpeed() method.
My function gets the distance and the speed and calculates the corresponding
time, how long the speed has to be set. The time is used in a usleep command
and after that
the speed is set back to zero. So the robot should move the given distance.
But if i use 1 m/s as speed and want to travel 1 meter it doesn't work
correct.
For testing purposes i use this simple worldfile: 
http://www.nabble.com/file/p17059588/1.world 1.world 


Jordi Polo wrote:
> 
> That will make controllers dependent of visual representations.
> Also, calculating by hand directly using physics objects, times, etc. In
> the
> calculation, we hope to get more realistic results.
> Can you give some information on the robot model, world file, etc. You are
> using ?
> How are your driving your robot?
> 
> 
> On Wed, Apr 30, 2008 at 8:30 PM, ahon <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi
>>
>> I'm also wondering why some of the new position2d data is calculated by
>> hand
>> then published (e.g. in Differential_Position2d controller). Wouldn't it
>> be
>> easier to update the odometry pose data using Ogre SceneNode's
>> getWorldPosition and orientations?
>>
>> Because that will always give you the correct resulting positions and
>> orientations of the robot.
>>
>> thanks,
>> Ian
>>
>>
>>
>> Robotik wrote:
>> >
>> > Hello,
>> >
>> > when i'm moving the robot arround in a Gazebo Simulation the
>> > position2d Data of the robot is not correct. Driving about 2m forward
>> in
>> X
>> > direction
>> > the data of position2d only changes about 0.021. So it is impossible to
>> > create a map mit pmaptest.
>> > I hope someone can fix the problem.
>> >
>> > Thx Holger
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Position2d-Problems---Gazebo-tp16537238p16980457.html
>> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>>
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
> 
> 
> 
> -- 
> Jordi Polo Carres
> NLP laboratory - NAIST
> http://www.bahasara.org
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Position2d-Problems---Gazebo-tp16537238p17059588.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to