This work is concerned with trajectory tracking of robots when the electrical dynamics of the brushless DC motor actuators is considered. It is shown that proportional-derivative (PD) control with feedforward compensation, plus some additional terms to cope with the electrical dynamics, ensures state boundedness. Furthermore, tracking error converges to zero from arbitrarily large initial conditions if controller gains are correctly chosen. Under mild assumptions, this controller reduces to the well-known PD control with feedforward compensation when implemented according to torque control, a successful industrial practice. Thus, it is explained, for the first time, why this strategy works well in applications.