Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command not detected -> roscd: command not found

Tags:

ros

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

What may be the reasons behind this?

like image 507
Mayank Avatar asked Jul 23 '26 09:07

Mayank


1 Answers

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

like image 159
Hiti3 Avatar answered Jul 28 '26 14:07

Hiti3



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!