Issue with playerc_position2d_set_cmd_pose_with_vel

zipcode <[email protected]> Wed, 12 Feb 2014 07:39:10 -0800 (PST)
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
So the problems is that I'm trying to use this function in mi amigoboot.
I understand that with this function,*
playerc_position2d_set_cmd_pose_with_vel(pos,vel,state)* you can move to a
given point x and y with an given speed. But I'm not able to do it the right
way.
What I do is:

player_pose2d_t position,velocity;
position.px=5;
position.py=2;
position.pa=DTOR(90);
velocity.px=2;
velocity.py=1;
playerc_position2d_set_cmd_pose_with_vel(position2d,position,velocity,1);

After this the amigobot goes to the given x and y but the it doesn't
increase the speed.
It's goes at the same speed as this function
playerc_position2d_set_cmd_pose(5,2,DTOR(90),1);

What I'm doing wrong



--
View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/Issue-with-playerc-position2d-set-cmd-pose-with-vel-tp19189.html
Sent from the playerstage-developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk