about compliant motion

how to go for compliant path planner for robotic arm having 3 joints & object is in between the 50 cm from arm body?

about compliant motion

how to go for compliant path planner for robotic arm having 3 joints & object is in between the 50 cm from arm body?