Development of Robot Control System Using Dynamics Simulator