Planar casting robot manipulator simulation