-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot launch node of type [darknet_ros_3d/darknet3d_node]: Cannot locate node of type [darknet3d_node] in package [darknet_ros_3d]. #49
Comments
Hi @ghokulji Did you compile the ROS package using colcon? You should do it using catkin_make. It may be the problem because in ROS1 you don't need to install the executables as ROS2 needs. |
Hello @fgonzalezr1998 , the aws robomaker environment uses only colcon build to build the ROS1 packages also. During the build process, I am not facing any errors, it is only when executing the node. Can you recommend any changes that can be done to the CMakeLists.txt so that the build process creates an executable when using colcon build? |
Okey, so... The problem is that the executable darknet3d_node is not being installed. If you look the CMakeLists, you will see that the library and the launch file is being installed but not the executable. That is the error and this is the reason by it is not found. When I did this package I used catkin to compile and catkin doesn't need that. If you solve this mistake, feel free to open a PR and I can put it in a new branch for other people that need it ;) |
@fgonzalezr1998, Thanks for the suggestion, I will try to add the install for the executables in CMakeLists.txt and see if it works out. |
I need help resolving the following.ERROR: cannot launch node of type [darknet_ros/darknet_ros]: Cannot locate node of type [darknet_ros] in package [darknet_ros]. Make sure the file exists in the package path and permission is set to executable (chmod +x). |
Could you provide me more information? branch, steps you are following for launching the node, etc @AbbiliKiran |
Hello,
I have cloned the melodic branch of the darknet_ros_3d to my aws_robomaker environment. I ran colcon build and the build was successful. When I run the darknet_ros_3d.launch I am facing this error.
I have tried the following approaches
I sourced my workspace with "source install/local_setup.sh" after colcon build. Apart from the darknet_ros_3d.launch, all other nodes are able to be launched. II also tried to run the node separately, but it seems like the executable cannot be found.
I got this error
So, I thought the error must be with the CMakeLists.txt. But everything seems to be fine
Can anyone help me out, as to why the executable is not found and why the build is not done properly?
The text was updated successfully, but these errors were encountered: