I have made a pthread in which I control the robot 's speeds in order to
get to a point. I want to change the speeds every 100ms, in order for
the trajectory to look "smooth".
Although, the setSpeed function of position2d is slowing the function
down, and the worst is that the time consumed is not constant.
Can I increase the frequency of position2d in order to take commands
Note: I ran the code in two different PC's and the problem was much
smaller at the faster PC.
Thanx in advance!