correct values
wait for robot to finish actions