Lifting capacity determination as a function of task variables