Dynamics motion simulation of the Hermes robot arm subjected to constraints