added robot path to the equation