Modelling and control of robotic joints based on sliding pairs