The execution fouds correctly, but when I click the button for executing my code it doesn’t found. How can I fix this issue?
The cat lauch button founds okay by the way.
Are you executing the exercise from the drone_cat_mouse directory? Is it
my_solution.py at the same directory? Also check that your
drone_cat_mouse.launch starts as follows:
<?xml version="1.0"?> <launch> <arg name="solution_file_name" default="$(eval env('PWD') + '/my_solution.py')"/> ....
EDIT: Have you modified any of the files of the exercise?
my_solution.py is at the same directory and the
drone_cat_mouse.launch starts as you said. I haven’t modified any file from the exercise.
I have fixed this problem by untabbing the if clause that is on the bottom of the file
my_solution.py, it is tabbed into the
execute method. The code should be like this:
Good to know that. I have checked that the if clause at current version-master isn’t tabbed, so I won’t update the repo.
Congrats anyway for finding the bug.