Ask Your Question

[test.launch] is neither a launch file in package

asked 2015-08-20 07:43:22 -0500

DENSO gravatar image

in src there is a package named relaxed_astar including: CMakeLists.text package.xml and launch inside the launch folder there's file name test.launch

when i run this command roslaunch relaxed_astar test.launch

i get in error say

[test.launch] is neither a launch file in package [relaxed_astar] nor is [relaxed_astar] a launch file name
The traceback for the exception was written to the log file

and the test.launch file code is

<include file="$(find turtlebot_bringup)/launch/minimal.launch"></include>

  <include file="$(find turtlebot_bringup)/launch/3dsensor.launch">
    <arg name="rgb_processing" value="false" />
    <arg name="depth_registration" value="false" />
    <arg name="depth_processing" value="false" />
    <arg name="scan_topic" value="/scan" />

  <arg name="map_file" default="map_folder/your_map_file.yaml"/>
  <node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />

  <arg name="initial_pose_x" default="0.0"/>
  <arg name="initial_pose_y" default="0.0"/>
  <arg name="initial_pose_a" default="0.0"/>
  <include file="$(find turtlebot_navigation)/launch/includes/amcl.launch.xml">
    <arg name="initial_pose_x" value="$(arg initial_pose_x)"/>
    <arg name="initial_pose_y" value="$(arg initial_pose_y)"/>
    <arg name="initial_pose_a" value="$(arg initial_pose_a)"/>

  <include file="$(find turtlebot_navigation)/launch/includes/move_base.launch.xml"/>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-20 08:32:57 -0500

Akif gravatar image

Possibly, it is related with your workspace and package path. Please make sure that you sourced the bash file, i.e; source /home/user/catkin_ws/devel/setup.bash

If so, your package setup may be the problem. Your package should be listed when you run rospack find relaxed_astar .

If these are not related, please supply more details like directory tree of your workspace and contents of package.xml file.

edit flag offensive delete link more


**-Does the file actually exists? Yes, the file is in the launch folder.

-Did you source the setup.bash file? Do you mean source /opt/ros/indigo/setup.bash ? Yes, I did.

-What does rospack find relaxed_astar output? [rospack] Error: stack/package relaxed_astar not found

what's Next Please

DENSO gravatar image DENSO  ( 2015-08-20 08:57:10 -0500 )edit

With setup.bash file I do not mean /opt/ros/indigo/setup.bash. I mean the setup.bash file of your workspace. It is located in your workspace, in "devel" folder, as I mentioned in my answer above (source /home/user/catkin_ws/devel/setup.bash).

Akif gravatar image Akif  ( 2015-08-20 09:14:32 -0500 )edit

Go to foulder where you have your work_space (normally your catkin_ws), open the file .bashrc is hiden, and seach if you have: source /opt/ros/indigo/setup.bash source /home/(username)/catkin_ws/devel/setup.bash . Can do rospack find relaxed_astar or rospack profile(list all packages)

Raul Gui gravatar image Raul Gui  ( 2015-08-20 09:32:46 -0500 )edit

Would you please answer my questionCLICK HERE PLEASE in this link

DENSO gravatar image DENSO  ( 2015-08-20 10:54:00 -0500 )edit

you solve your problem?

Raul Gui gravatar image Raul Gui  ( 2015-08-20 11:02:31 -0500 )edit

Yes, Thank you for your help

DENSO gravatar image DENSO  ( 2015-08-20 12:44:42 -0500 )edit

i have kinda the same problem ,,the roslaunch cannot find stdr_launchers ,, and i did the source commands ,, but i cannot find the .bashrc in the catkin_ws directory ,, is that normal or im missing that file ? ,thanks

Annunaki gravatar image Annunaki  ( 2016-12-03 13:02:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-08-20 07:43:22 -0500

Seen: 9,581 times

Last updated: Aug 20 '15