ROS Error: Cannot Launch Node of Type
Hi, I am running Ubuntu 14.04. I've successfully installed ROS Indigo. There is this open source program called ORB-SLAM that I am trying to run but I getting an error.
Instructions I am following:
- In Terminal 1:
roscore
- In Terminal 2:
roslaunch ExampleGroovyHydro.launch
- In Terminal 3:
rosbag play --pause Example/ Example.bag
Wait for Terminal 2 to finish loading the vocabulary file, then press “space” in terminal 3.
The error that I am getting:
ERROR: cannot launch node of type [ORB_SLAM/ORB_SLAM]: ORB_SLAM
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/ria/catkin_ws/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
(Note: I am guessing this is coming from my ROS_PACKAGE_PATH
)
What's inside the launch file:
<launch>
<node pkg="image_view" type="image_view" name="image_view" respawn="false" output="log">
<remap from="/image" to="/ORB_SLAM/Frame" />
<param name="autosize" value="true"/>
</node>
<node pkg="rviz" type="rviz" name="rviz" args="-d $/home/ria/ORB_SLAM/Data/rviz.rviz" output="log">
</node>
<node pkg="ORB_SLAM" type="ORB_SLAM" name="ORB_SLAM" args="Data/ORBvoc.yml Data/Settings.yaml" cwd="node" output="screen">
</node>
</launch>
I am fairly new to ROS so I have a few questions:
I found a ROS link to install a catkin workspace. I've installed a workspace in the folder
catkin_ws
. This is a folder in my parent directory. It's not in my project folder. Am I supposed to have the workspace in my project folder? (Note: I think I might have installed a workspace from the source instead of using the pre-existing one provided by ROS. That's because I didn't know how to use/run/install the pre-existing workspace. I would like to know how to do this.)My
catkin_ws
folder doesn't have apackage.xml
andCMakeLists.txt
in its folder. I found aCMakeLists.txt
but that's in itssrc
folder. I found both these files inside 'Beginner's tutorial' folder. Where are these supposed to be? Did I install the workspace incorrectly?