Hi Civgineer,
if your robot is moving from point A to point B he naturally has to decelerate before reaching point B. Have a look at the attachment. When you are using setSpeed you get a ramp function for your velocity. At some point of the movement the robot will have a speed of 5mm/s. How close this point will be to your target point B depends on the acceleration/deceleration you set. Mathematically there are infinitely many ways to do that.
Maybe you can provide a little more details what you are trying to do. I am not sure if you want to meet a specific speed at a specific distance from a certain point or you if you only want to run past a certain point with slower speed without stopping.
if your robot is moving from point A to point B he naturally has to decelerate before reaching point B. Have a look at the attachment. When you are using setSpeed you get a ramp function for your velocity. At some point of the movement the robot will have a speed of 5mm/s. How close this point will be to your target point B depends on the acceleration/deceleration you set. Mathematically there are infinitely many ways to do that.
Maybe you can provide a little more details what you are trying to do. I am not sure if you want to meet a specific speed at a specific distance from a certain point or you if you only want to run past a certain point with slower speed without stopping.