I want P3-DX to move 2000mm in forward direction. So, within rosaria.cpp in the following function I added one extra line within cmdvel_cb callback.
ArRobot robot;
void RosAriaNode::cmdvel_cb( const geometry_msgs::TwistConstPtr &msg)
{
robot->move(2000);
}
But the robot does not move in the same speed for 2000mm. Instead it moves much faster than commanded velocity and does not stop after 2000m. Can anybody point out the mistake that I am making?
thanks,