Robotics StackExchange | Archived questions

cannot launch node of type [darknet_ros/darknet_ros]

https://github.com/Tossy0423/yolov4-for-darknet_ros

I'm trying to apply yolo v4 using a camera in a gazebo environment. So, I cloned the above Github link and executed the launch file. But I get the following error: So I entered the above path, but the node file does not exist. Can you tell me how to solve it?

path : vrxws/src/yolov4-for-darknetros/darknetros/darknetros

ERROR: cannot launch node of type [darknet_ros/darknet_ros]: Cannot locate node of type [darknet_ros] in package [darknet_ros]. Make sure file exists in package path and permission is set to executable (chmod +x)

Asked by huhahaha on 2022-11-06 20:07:17 UTC

Comments

You are missing your errors, path and code in your comment.

Asked by tomkimsour on 2022-11-06 22:37:52 UTC

I add a path and code error .

Asked by huhahaha on 2022-11-06 22:42:18 UTC

I know this can sound dumb but did you compile, source and then run ? what command do you use for running it ?

Asked by tomkimsour on 2022-11-06 23:16:00 UTC

I did compile. and I used command : roslaunch darknet_ros yolo_v4.launch

Asked by huhahaha on 2022-11-06 23:19:59 UTC

what about sourcing ?

Asked by tomkimsour on 2022-11-07 01:24:51 UTC

I don't understand about your question.

Asked by huhahaha on 2022-11-07 07:10:00 UTC

did you run source install/setup.bash

Asked by tomkimsour on 2022-11-07 19:58:23 UTC

Yes. I did already.

Asked by huhahaha on 2022-11-08 00:25:45 UTC

Well except from that, it's hard to tell what's wrong. You need to provide more information on your ws architecture and the steps you followed to execute it

Asked by tomkimsour on 2022-11-08 01:00:23 UTC

Answers