leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.23k stars 1.19k forks source link

Error at launch #28

Closed fuloporsi closed 7 years ago

fuloporsi commented 7 years ago

Hi! After a successful build, I have this error, when I try roslaunch:

core service [/rosout] found ERROR: cannot launch node of type [darknet_ros/darknet_ros]: can't locate node [darknet_ros] in package [darknet_ros] No processes to monitor shutting down processing monitor... ... shutting down processing monitor complete

Ubuntu 14.04 ROS Indigo I'm trying to use it without Cuda. Any help would be appreciated.

pfankhauser commented 7 years ago

Szia Orsi! =) Did you use catkin build to compile? If yes, you should resource the workspace with source ~/catkin_ws/devel/setup.bash before running the node. You can find more about this in our ROS course, specifically these slides on slide nr. 22. Let me know if this solves the issue.

fuloporsi commented 7 years ago

Hey! :) I tried resourcing it too, the issue still persists. And yes, I used catkin build darknet_ros -DCMAKE_BUILD_TYPE=Release to compile.

pfankhauser commented 7 years ago

Can you double check if it build darknet_ros correctly? It does not seem find it, so maybe it wasn't built correctly.

fuloporsi commented 7 years ago

Actually it is giving me warnings. I can attach a screenshot from where it begins. screenshot from 2017-08-17 14 55 15

samuelba commented 7 years ago

Do you build with install space enabled? Can you post your output for catkin config.

fuloporsi commented 7 years ago

I enabled install space. Same error. Here is my catkin config output. screenshot from 2017-08-18 11 34 05

samuelba commented 7 years ago

I just ask because the package is missing some install commands and doesn't run with install space enabled. But it should run without install space.

fuloporsi commented 7 years ago

Hey! :) I managed to start it from QT creator. I still don't know what was the problem, but at least it's working now. Thanks for the tips!

mbjelonic commented 7 years ago

Great!