When I execute "roslaunch flightros motion_planning.launch" the following error appears:
"ERROR: cannot launch node of type [flightros/motion_planning]: Cannot locate node of type [motion_planning] in package [flightros]. Make sure file exists in package path and permission is set to executable (chmod +x)"
I set executable permission for the node motion_planning.cpp (chmod +x motion_planning.cpp) in motion_planning folder and I checked the source path inside .bashrc :
source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash
nevertheless the same error appears.
I olso tried to change motion_planning.cpp inside code with racing.cpp code (that works!) and it still gives the same error. The problem is only with motion_planning example, the others (racing, pilot and camera) work perfectly.
When I execute "roslaunch flightros motion_planning.launch" the following error appears: "ERROR: cannot launch node of type [flightros/motion_planning]: Cannot locate node of type [motion_planning] in package [flightros]. Make sure file exists in package path and permission is set to executable (chmod +x)" I set executable permission for the node motion_planning.cpp (chmod +x motion_planning.cpp) in motion_planning folder and I checked the source path inside .bashrc : source /opt/ros/noetic/setup.bash source ~/catkin_ws/devel/setup.bash nevertheless the same error appears. I olso tried to change motion_planning.cpp inside code with racing.cpp code (that works!) and it still gives the same error. The problem is only with motion_planning example, the others (racing, pilot and camera) work perfectly.
This is motion_planning.launch file:
Inside ~/catkin_ws/src/flightmare/flightros/src/motion_planning I have motion_planning.cpp
Inside "~/catkin_ws/src/flightmare/flightros/include/flightros/motion_planning" I have motion_planning.hpp and tinyply.h
motion_planning.hpp
I'll leave here the CMakeLists.txt of flightros folder: