kinematic model for robot

That move robot from A to B is not trivial math. Well it is, but optimizing its path is not.

Get some robot kit SDK (there are modules in python) and see code.
Or read some articles about calculating all join angles and speeds.

Also are you sure all those movies were about just visual anims, no hints about making IK from point A to B?