We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am interfacing over udp with a system (a robot) wherein I send a vector movement and get feedback on it's actual co-ordinates many times per second (hopefully nearing the target of 4ms)
Due to there being no in-built ramping of the speed (accelerating or braking) this creates a jerking motion when the vector direction changes (or attempts to go from 0 to full speed in 4milliseconds..)
Anyone have any ideas on how to code this, wherein we can only send a movement vector, only receive the current position, and have a dynamic queue of points to drive towards; and have it accelerate/decelerate in response to drastic movement vector changes and yet behave normally when there isn't drastic movement vector change.
If anyone has code, psuedo-code, advice, or alternate solutions to suggest I'm all open.