hi,

I try to use the GoTo() function of Position2dProxy like this:

  PlayerClient    robot("localhost");

  Position2dProxy pp(&robot,0);
  pp.SetSpeed(0.8,0);
  for(int i = 0; i < 4; i ++){robot.Read(); std::cout << pp.GetXSpeed() << std::endl;}
  // I am trying to set the pose of robot to [6.0 0.0 0.0] and the speed to {5.0, 0, 0}
  pp.GoTo((player_pose2d_t){6.0, 0, 0.0}, (player_pose2d_t){5.0, 0, 0.0});
  std::cout << "this is after GoTo()" << std::endl;
  for(int i = 0; i < 10; i ++){robot.Read(); std::cout << pp.GetXSpeed() << std::endl;}

the output is like this
0
0
0.8
0.8
this is after GoTo()
0.8
0
0
0
0
0
0

Why after using the GoTo() the speed of the position2dProxy is zero?

Yun Peng