yes that would be a solution thought.
However I will give the friends from theconstruct a chance to analyse the problem.
I do another course in parallel and will see in a few day’s where I am with this.
So, when someone copy-pastes the message file contents from the jupyter notebook into their package’s FindWall.srv file, this problem happens!
The bad thing here is that the online IDE does not show any hidden non-ASCII characters present in the file.
This causes the problem during compilation / building.
THE FIX:
Simply remove / delete the unwanted character from the service message. @ralves and @albertoezquerro : Also, please delete this on the jupyter notebook, so new students will not have the same issue!
Sorry for the long post (picture is worth a thousand words!)
Thanks a lot for the research !
Unfortunatetly this is not the root cause in my case thought.
I have checked with cat -T to make sure the FindWall.srv does not contain any hidden characters.
However with your python iteration it shows
checked and Gris is right the hidden character was one issue !
However still the launch is having an issue. I’ll investigate later. But maybe Alberto has more insights ?
If you have the service message package successfully compiled and you still have issues with your package launch, maybe I can still help you out.
Just post the new error (as text) that your are facing.
– Girish
EDIT: I checked the outputs of cat .... Only cat -A works correctly. cat -T only shows tab characters.
The outputs look very weird, that is why I chose to use python.
launch.substitutions.substitution_failure.SubstitutionFailure: executable 'wall_following' not found on the libexec directory '/home/user/ros2_ws/install/wall_follower/lib/wall_follower'
even so that the launch file ./launch/wall_following.launch.py has
no it doesn’t and shows the same error.
That is the interesting/strange/painful thing and I have shared the Copy ROS2 Basics Python Real Robot Project in hope the construct team can help.
Your problem seems to be strange! Your setup.py file seems to be correct.
I tried to find your Copy ROS2 Basics Python Real Robot Project but I guess it is private.
I cannot view it, if you can check again and make it public, I can check it out and help you further!
Regards,
Girish
EDIT: I have finished this course and got my certificate, so I can assure you that I will not steal any of your program. [Just wanted to say!]