Robotics StackExchange | Archived questions

enviroment variable not updating with source

I'm running Jade on a Ubuntu 14.04 machine. I used ' rosws init ~/jadeworkspace /opt/ros/jade' to create the workspace and then used source ' ~/jadeworkspace/setup.bash ' to set the environment var but running echo $ROSPACKAGEPATH does not list that as a source. Though roscd takes me right to it. See screenshot of shell to see

https://www.dropbox.com/s/q957mhvzd0dmj4r/Screenshot%20from%202015-12-21%2021%3A44%3A47.png?dl=0

Asked by AgentNoise on 2015-12-21 22:49:56 UTC

Comments

Answers

hi , It seems you have already installed ROS.

Here is my blog article about create a catkin workspace. https://goo.gl/uvC6cN

I guess you are now at the step 7 in this article.

By the way , are you using Nvidia TK1 platform?

Alyson

Asked by YingHua on 2015-12-22 01:40:41 UTC

Comments

Looks like I did not create the workspace properly, there is no devel directory. I will start fresh and try again. I am not using the TK1 platform, I do have an Nvidia GPU in my machine.

Asked by AgentNoise on 2015-12-22 08:52:16 UTC

You should source ~/jade_workspace/devel/setup.bash, not ~/jade_workspace/setup.bash.

Asked by Akif on 2015-12-22 01:44:31 UTC

Comments

Ok It looks like there is not a devel directory in my jade_workspace, so I setup my workspace incorrectly. I Will start fresh and try again. Is it better to use the ROS workspace/package setup or the catkin?

Asked by AgentNoise on 2015-12-22 08:51:07 UTC

I removed the full jade_workspace directory and tried to use the rsws init command again and it does not create the devel directory. I will just use the catkin method after I get off work

Asked by AgentNoise on 2015-12-22 09:09:27 UTC

Try creating your workspace with catkin_init_workspace.

Asked by Akif on 2015-12-23 01:56:30 UTC