Reputation: 21
roslaunch throws RLException
Hello, I am trying to follow this tutorial:
I followed all instruction in the tutorial, including installing the requested packages, until section 2.5
Then, when I type the following oncommandomand
line,
roslaunch testbot_description testbot.launch
I get the following error:
RLException: [testbot.launch] is neither a launch file in package [testbot_description] nor is [testbot_description] a launch file name The traceback for the exception was written to the log file
I have no clue what is going on here. Could anyone help me in fixing it?
<launch>
<arg name="model" default="$(find testbot_description)/urdf/testbot.urdf" />
<arg name="gui" default="True" />
<param name="robot_description" textfile="$(arg model)" />
<param name="use_gui" value="$(arg gui)" />
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher"/>
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />
</launch>
RLException: [testbot.launch] is neither a launch file in package [testbot_description] nor is [testbot_description] a launch file name The traceback for the exception was written to the log file
Upvotes: 1
Views: 22100
Reputation: 41
Check if roscore is running by checking if the following command returns '/rosout'
rostopic list
If it returns the message
ERROR: Unable to communicate with master!
run
roscore
Upvotes: 0
Reputation: 9512
This happens when you have not sourced the already sourced (source /opt/ros/MY_ROS_VERSION/setup.bash
) and compiled (catkin_make
) ROS. In your ROS project folder, run
source devel/setup.bash
before you roslaunch testbot_description testbot.launch
.
See also roslaunch: [ ] is neither a launch file in package [ ] nor is [ ] a launch file name.
Upvotes: 1