cannot launch node of type [darknet_ros/darknet_ros]

asked 2022-11-06 19:07:17 -0500

huhahaha gravatar image

updated 2022-11-06 21:41:58 -0500

https://github.com/Tossy0423/yolov4-f...

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 : vrx_ws/src/yolov4-for-darknet_ros/darknet_ros/darknet_ros

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)
edit retag flag offensive close merge delete

Comments

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

tomkimsour gravatar image tomkimsour  ( 2022-11-06 21:37:52 -0500 )edit

I add a path and code error .

huhahaha gravatar image huhahaha  ( 2022-11-06 21:42:18 -0500 )edit

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

tomkimsour gravatar image tomkimsour  ( 2022-11-06 22:16:00 -0500 )edit

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

huhahaha gravatar image huhahaha  ( 2022-11-06 22:19:59 -0500 )edit

what about sourcing ?

tomkimsour gravatar image tomkimsour  ( 2022-11-07 00:24:51 -0500 )edit

I don't understand about your question.

huhahaha gravatar image huhahaha  ( 2022-11-07 06:10:00 -0500 )edit

did you run source install/setup.bash

tomkimsour gravatar image tomkimsour  ( 2022-11-07 18:58:23 -0500 )edit

Yes. I did already.

huhahaha gravatar image huhahaha  ( 2022-11-07 23:25:45 -0500 )edit