raulmur / ORB_SLAM

A Versatile and Accurate Monocular SLAM
http://webdiis.unizar.es/~raulmur/orbslam/
Other
1.49k stars 813 forks source link

Executable file not found: cannot launch node of type [ORB_SLAM/ORB_SLAM] #180

Open yatharthahuja opened 2 years ago

yatharthahuja commented 2 years ago

I am trying to run ORB SLAM on Ubuntu 180.04 and ROS Melodic. Installations were done with no issue as such. However, when running the Example launch file, following output appears:

`
yatharth@yatharth:~/major_project/orb-slam$ roslaunch ORB_SLAM ExampleGroovyOrNewer.launch
... logging to /home/yatharth/.ros/log/d2532144-2075-11ec-951c-94659cdf0fd9/roslaunch-yatharth-11255.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://yatharth:39813/

SUMMARY
========

PARAMETERS
 * /image_view/autosize: True
 * /rosdistro: melodic
 * /rosversion: 1.14.10
 * /usb_cam/camera_frame_id: usb_cam
 * /usb_cam/image_height: 480
 * /usb_cam/image_width: 640
 * /usb_cam/io_method: mmap
 * /usb_cam/pixel_format: mjpeg
 * /usb_cam/video_device: /dev/video0

NODES
  /
    ORB_SLAM (ORB_SLAM/ORB_SLAM)
    image_view (image_view/image_view)
    rviz (rviz/rviz)
    usb_cam (usb_cam/usb_cam_node)

ROS_MASTER_URI=http://localhost:11311

ERROR: cannot launch node of type [usb_cam/usb_cam_node]: usb_cam
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/yatharth/major_project/orb-slam/src
ROS path [2]=/opt/ros/melodic/share
process[image_view-2]: started with pid [11270]
process[rviz-3]: started with pid [11271]
ERROR: cannot launch node of type [ORB_SLAM/ORB_SLAM]: Cannot locate node of type [ORB_SLAM] in package [ORB_SLAM]. Make sure file exists in package path and permission is set to executable (chmod +x)
^C[rviz-3] killing on exit
[image_view-2] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
yatharth@yatharth:~/major_project/orb-slam$ 
`

RViz pops up but no data is being received as the screen stays blank. How can I mitigate this issue?

TIA!