Stability and bifurcation analysis of robots subject to digital position control