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

asked 2016-12-29 15:42:30 -0500

lfyhmdn gravatar image

updated 2016-12-30 03:12:07 -0500

gvdhoorn gravatar image

hello peeps

im new to ROS. So, i was following turtlebot simulation tutorials to create map. I manage to launch gazebo. Then when i try to launch rviz i get error.

the command i use

roslaunch turtlebot_rviz_launchers view_navigation.launch

the error i get

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

can anyone help here? I already execute source /opt/ros/indigo/setup.bash but still cant run rviz

im using ubuntu 14.04 and ROS INDIGO

edit retag flag offensive close merge delete

Comments

Just making sure: you installed everything using apt-get?

gvdhoorn gravatar image gvdhoorn  ( 2016-12-30 03:13:36 -0500 )edit

Hi, add the following lines to the .bashrc file as well as update the current bash shell with it so that we don't get any build errors.

#Update ROS path to ROS environment export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/ROS_WS $ source ~/.bashrc

just replace ROS_WS with your ros work space directory.

Akhilesh gravatar image Akhilesh  ( 2016-12-31 10:07:27 -0500 )edit

Please don't do that. Manually changing the ROS_PACKAGE_PATH variable shouldn't be necessary on catkin systems.

gvdhoorn gravatar image gvdhoorn  ( 2017-01-01 11:46:46 -0500 )edit

But it worked for me.

Akhilesh gravatar image Akhilesh  ( 2017-01-02 07:55:05 -0500 )edit

Sorry,I think my earlier comment is not clear enough. So clearing it. ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/<path_to_work_space_of_ros>

and then $ source ~/.bashrc

Akhilesh gravatar image Akhilesh  ( 2017-01-02 07:57:40 -0500 )edit

Again: please don't do that. It should not be necessary. The setup.bash file should set up everything for you. If it doesn't, please tell us, because something could be wrong.

gvdhoorn gravatar image gvdhoorn  ( 2017-01-02 08:06:48 -0500 )edit

Ok, thanks. I will try without changing manually the path of ros.

Akhilesh gravatar image Akhilesh  ( 2017-01-02 12:11:32 -0500 )edit

you find the solution bro ? i got same problem

[view_navigation.launch] is neither a launch file in package [turtlebot_rviz_launchers] nor is [turtlebot_rviz_launchers] a launch file name
The traceback for the exception was written to the log file
sudo_melvinyesudas gravatar image sudo_melvinyesudas  ( 2018-03-14 02:38:44 -0500 )edit