A theoretical and practical introduction to industrial robotics