Development of a Simulation Platform for Robots with Serial and Parallel Kinematic Structure