Design, implementation and validation of a stability model for articulated autonomous robotic systems