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

Rostopic new terminal

asked 2016-11-11 12:54:15 -0500

azgard gravatar image

Okay, I am trying to learn ROS, and have just started. After installing ROS Indigo and Gazebo7. I tried running the turtlesim as given in the ROS wiki tutorial:

The tutorial says that in new terminal run: rosrun turtlesim turtle_teleop_key

When I open a new terminal window and run this command I get the error message rosrun: command not found

Am I missing something? What?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-11 13:30:22 -0500

ahendrix gravatar image

You probably need to source the setup.bash in your new terminal.

Sourcing the setup.bash for ROS only affects the terminal that you run it in, so you need to source the setup.bash for ROS in each new terminal (or add it to your bashrc).

edit flag offensive delete link more


Thanks that was the issue

azgard gravatar image azgard  ( 2016-11-11 23:55:47 -0500 )edit

@azgard: could you please mark your question as answered by ticking the little checkmark icon to the left of @ahendrix's answer? That will clearly mark this question as resolved. Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-12 06:56:08 -0500 )edit

Question Tools

1 follower


Asked: 2016-11-11 12:54:15 -0500

Seen: 173 times

Last updated: Nov 11 '16