Mayank
Mayank

Reputation: 31

Command not detected -> roscd: command not found

Many commands like roscd, rosls, roslaunch are not working. Errors are thrown as :- roscd: command not found

What may be the reasons behind this?

Upvotes: 3

Views: 14327

Answers (2)

lofy
lofy

Reputation: 35

you need to setup you environment and add variables to your bash just use the following commands..

echo "source 'your setup.bash file path'" >> ~/.bashrc
source ~/.bashrc

Upvotes: 0

Hiti3
Hiti3

Reputation: 172

It seems that your setup.bash hasn't been sourced in a terminal window.

Try executing this command:

source /opt/ros/hydro/setup.bash

If that won't work try following the steps on site bellow, as they are beautifully explained on how to install ROS on Ubuntu.

http://wiki.ros.org/groovy/Installation/Ubuntu#groovy.2BAC8-Installation.2BAC8-DebEnvironment.Environment_setup

Upvotes: 6

Related Questions