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

no ros workspace after rebooting

asked 2013-05-24 11:04:01 -0500

mv gravatar image

updated 2013-05-24 11:16:00 -0500

ros doesn't keep the workspace in "fuerte" after rebooting my computer, I have to keep telling ros where the workspace is after booting the computer. Can anyone help assess what the problem is or how to solve it?

edit retag flag offensive close merge delete



Did you source the setup.bash in the workspace in your .bashrc?

joq gravatar image joq  ( 2013-05-24 17:14:12 -0500 )edit

I am not sure what you mean, I just followed the tutorial from ros and it says to re-source with: source ~/fuerte_workspace/setup.bash .... was there an extra step I had to do?

mv gravatar image mv  ( 2013-05-28 09:26:49 -0500 )edit

Thank you joq!

mv gravatar image mv  ( 2013-05-28 10:19:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-28 09:53:19 -0500

Bill Smart gravatar image

updated 2013-05-28 23:25:58 -0500

felix k gravatar image

When you run source ~/fuerte_workspace/setup.bash, it only sets things up in the current shell (terminal window). To get things to work every time you start a shell (terminal window), you need to add the line

source ~/fuerte_workspace/setup.bash

to the file .bashrc in your home directory. This file is sourced every time you start an (interactive) shell.

edit flag offensive delete link more


This is what joq asked in the comment to the question. I'm assuming that your answer was "no".

Bill Smart gravatar image Bill Smart  ( 2013-05-28 09:53:57 -0500 )edit

Thanks guys, sorry but I am still new with linux and ros. But thank you so much for the help!

mv gravatar image mv  ( 2013-05-28 10:16:42 -0500 )edit

Question Tools


Asked: 2013-05-24 11:04:01 -0500

Seen: 384 times

Last updated: May 28 '13