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

(Groovy | 12.04 | armv7l) bash: rosrun: command not found

asked 2013-03-02 03:40:00 -0500

amrivera gravatar image

updated 2013-03-02 03:41:21 -0500

I ran the following commands:

$ roscore
$ rosrun turtlesim turtlesim_node

and obtained the following error:

bash: rosrun: command not found

My environment reads:

root@localhost:~# export | grep ROS
declare -x ROS_DISTRO="groovy"
declare -x ROS_ETC_DIR="/opt/ros/groovy/etc/ros"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/home/ubuntu/ros_ws:/opt/ros/groovy/share:/opt/ros/groovy/stacks"
declare -x ROS_ROOT="/opt/ros/groovy/share/ros"

And was not able to find the rosrun file at /opt/ros/groovy/bin

Any suggestions?

edit retag flag offensive close merge delete

Comments

How did you install ROS? If you installed from debs, which debs did you install?

ahendrix gravatar image ahendrix  ( 2013-03-02 06:45:24 -0500 )edit

I used this link --> http://packages.ros.org/web/rosinstall/generate/raw/groovy/desktop

amrivera gravatar image amrivera  ( 2013-03-11 08:19:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-03-02 12:45:07 -0500

KruseT gravatar image

The env variable you need for this is PATH:

$ env | grep ^PATH=
PATH=/opt/ros/groovy/bin:...

This entry is added by sourcing /opt/ros/groovy/setup.*sh

edit flag offensive delete link more

Comments

It does have the PATH info that you mention.

amrivera gravatar image amrivera  ( 2013-03-14 09:30:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-03-02 03:40:00 -0500

Seen: 2,918 times

Last updated: Mar 02 '13