Motion planning and control simulation for robot assisted femur fracture reduction