Ask Your Question
0

enviroment variable not updating with source

asked 2015-12-21 21:49:56 -0500

AgentNoise gravatar image

I'm running Jade on a Ubuntu 14.04 machine. I used ' rosws init ~/jade_workspace /opt/ros/jade' to create the workspace and then used source ' ~/jade_workspace/setup.bash ' to set the environment var but running echo $ROS_PACKAGE_PATH 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/q957mhvzd0d...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-12-22 00:44:31 -0500

Akif gravatar image

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

edit flag offensive delete link more

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?

AgentNoise gravatar image AgentNoise  ( 2015-12-22 07:51:07 -0500 )edit

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

AgentNoise gravatar image AgentNoise  ( 2015-12-22 08:09:27 -0500 )edit

Try creating your workspace with catkin_init_workspace.

Akif gravatar image Akif  ( 2015-12-23 00:56:30 -0500 )edit
0

answered 2015-12-22 00:40:41 -0500

YingHua gravatar image

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

edit flag offensive delete link more

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.

AgentNoise gravatar image AgentNoise  ( 2015-12-22 07:52:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-12-21 21:49:56 -0500

Seen: 105 times

Last updated: Dec 22 '15