Obtaining joint positions