While running this launch file,
<launch>
<node pkg="rqt_image_view" type="rqt_image_view" name="rqt_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 $(find 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 getting the following error,
ERROR: cannot launch node of type [ORB_SLAM/ORB_SLAM]: can't locate node [ORB_SLAM] in package [ORB_SLAM]
how to fix this issue ?
where is the problem here ? how should my package structure be ?
I have created a ros package using catkin_creake_pkg with the name ORB_SLAM, yet I am getting the same error.
Can anyone help to fix this ?
i think the reason maybe that you havn't add the path of ORBSLAM to ROS_PACKAGE_PATH, therefore system can't locate the node orbslam
you should:
export ROS_PACKAGE_PATH="{path of orbslam in you computer}:${ROS_PACKAGE_PATH}