Co-simulation between virtual and 6 DOF robot