Dynamic modelling and analysis of an articulated robotic leg