ERRORS in SLAM Couldn't find executable named below

asked 2020-04-02 12:06:29 -0500

dmitrii-il gravatar image

Hello everyone! I think my question is the most stupid one here, sorry for this Whatever ROSRUN command I perform, I always get the same error message "[rosrun] Couldn't find executable named ... below ..." and "cannot launch node of type [...]: can't locate node [...] in package [...]

I tried to change ROS_PACKAGE_PATH in all possible ways, even tried like this: (bashrc ending) [source /home/anonymous/ros_workspace/catkin/devel/setup.bash export ROS_PACKAGE_PATH=/home/anonymous/ros_workspace/catkin/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks:/home/anonymous/ros_workspace/catkin/src/ORB_SLAM2/Examples/ROS:/home/anonymous/ros_workspace/catkin/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks:/home/anonymous/ros_workspace/catkin/src/ORB_SLAM2/Examples/ROS:/home/anonymous/ros_workspace/rosbuild/packages/:/home/anonymous/ros_workspace/catkin/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks:/home/anonymous/ros_workspace/catkin/src/ORB_SLAM2/Examples/ROS:/home/anonymous/ros_workspace/rosbuild/package/] That was my last attempt The main strange thing is that I get the same error when I start ROSRUN command for different packsges and different paths, so, i think it means that i'm doing something wrong in general Some examples (roscore running):

EXAMPLE: ~$ rosrun lsd_slam_viewer viewer [rosrun] Couldn't find executable named viewer below /home/anonymous/ros_workspace/rosbuild/packages/lsd_slam/lsd_slam_viewer

EXAMPLE: roslaunch lsd_slam.launch ERROR: cannot launch node of type [lsd_slam_core/live_slam]: can't locate node [live_slam] in package [lsd_slam_core]

{lsd-slam.launch file: <launch>

<!-- Activate the color webcam. -->
<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="screen" >
    <param name="video_device" value="/dev/video1"/>
    <param name="image_width" value="640" />
    <param name="image_height" value="480" />
    <param name="camera_frame_id" value="usb_cam" />
    <param name="io_method" value="mmap" />
<param name="pixel_format" value="yuyv" />
    </node >

<node name="lsd_slam_node" type="live_slam" pkg="lsd_slam_core" output="screen"> <remap from="image" to="/usb_cam/image_raw"/> <remap from="camera_info" to="/usb_cam/camera_info"/> </node>

</launch>}

EXAMPLE: rosrun ORB_SLAM2 Mono ../../Vocabulary/ORBvoc.txt our.yaml /camera/image_raw:=/usb_cam/image_raw [rosrun] Couldn't find executable named Mono below /home/anonymous/ros_workspace/catkin/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2

Does anyone know what's wrong? thanks

edit retag flag offensive close merge delete