ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

rosls and roscd still missing

asked 2014-03-04 23:44:02 -0500

Thomaswang gravatar image

I just installed ros-hydro on Ubuntu 12.10 following the tutorial. But when I try to use the command rosls and roscd, it just says command not found. I tried source /opt/ros/hydro/setup.bash a lot of times and there is "source /opt/ros/hydro/setup.bash" in the ~/.bashrc. But rosls and roscd still can't use.

edit retag flag offensive close merge delete

Comments

Which package of ROS did you install? The ros-hydro-desktop-full?

BennyRe gravatar image BennyRe  ( 2014-03-05 01:31:18 -0500 )edit
1

Please link to the tutorial you are following and show the commands you are running.

tfoote gravatar image tfoote  ( 2014-03-05 06:58:44 -0500 )edit

Yes, I install ros-hydro-desktop-full and the like slam-gmapping package.

Thomaswang gravatar image Thomaswang  ( 2014-03-06 16:38:16 -0500 )edit
Thomaswang gravatar image Thomaswang  ( 2014-03-06 16:39:21 -0500 )edit

Stupid question: Do you use bash as your shell?

BennyRe gravatar image BennyRe  ( 2014-03-06 19:17:41 -0500 )edit

echo $SHELL returns "/bin/bash"

Thomaswang gravatar image Thomaswang  ( 2014-03-06 19:36:02 -0500 )edit

What is the output of echo $SHELL

BennyRe gravatar image BennyRe  ( 2014-03-06 19:38:53 -0500 )edit
1

From the information you kindly provided in your other question about the same topic what happens if you do sudo apt-get install ros-hydro-rosbash?

BennyRe gravatar image BennyRe  ( 2014-03-06 19:44:43 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2014-03-06 19:56:58 -0500

BennyRe gravatar image

Strangely rosbash hasn't been installed.

Run sudo apt-get install ros-hydro-rosbash

edit flag offensive delete link more

Comments

I have closed the other question. It seems that I didn't install the full version or the install process was interrupted. I wonder if you can give me a list of the packages that I have to install to make my ROS to become a full version.

Thomaswang gravatar image Thomaswang  ( 2014-03-06 20:39:59 -0500 )edit
1

answered 2014-03-05 02:01:33 -0500

SL Remy gravatar image

What happens if you type source /opt/ros/hydro/setup.bash at the command prompt? Can you then run roscd?

If so, then you should change the location of that line, and move it to the end of your .bashrc file. It could be the case that the values that are being set by setup.bash are being overwritten by other lines if your bash file.

edit flag offensive delete link more

Comments

After type source......./setup.bash, and then run roscd, it still returns command not found.

Thomaswang gravatar image Thomaswang  ( 2014-03-06 16:37:07 -0500 )edit

The line is always at the last line of .bashrc file. Whenever I cat that file.

Thomaswang gravatar image Thomaswang  ( 2014-03-06 16:41:20 -0500 )edit
0

answered 2015-02-25 08:46:26 -0500

graouve gravatar image

My solution was that I needed to run both:

sudo apt-get install ros-hydro-rosbash

and

sudo apt-get update

Hope that this helps anyone in the same boat as me.

edit flag offensive delete link more

Comments

Most probably in reverse order.

BennyRe gravatar image BennyRe  ( 2015-02-25 09:40:52 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-04 23:44:02 -0500

Seen: 1,411 times

Last updated: Feb 25 '15