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

ROS Stacks in home and file system

asked 2012-11-07 21:27:47 -0600

Amal gravatar image

updated 2012-11-22 08:06:35 -0600

Hi all, I have a ROS in my home contain RoboEarth and its dependencies and Main ROS [fuerte in Ubuntu 12.04] in file system, I need some stacks from which in my file system so I have to link between all .. so I use overlay to create my work space and its already in home [fuerte_workspace] how to add RoboEarth and all stacks downloaded with it as once not to add one by one as it does not work



2- that is what I have when try to add ccny_vision I not add and also ROS in file system still missing any solution Thanks in Advance

    amal@amal-HP-G62-Notebook-PC:~$ cd ~/fuerte_workspace
    amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ rosws info
    WARNING [vcstools] Command failed: 'hg paths default'
     run at: '/home/amal/fuerte_workspace/turtlebot'
     errcode: 1:
    Not trusting file /home/amal/fuerte_workspace/turtlebot/.hg/hgrc from untrusted user root, group root
    Not trusting file /home/amal/fuerte_workspace/turtlebot/.hg/hgrc from untrusted user root, group root
    not found!
    [/vcstools]
    workspace: /home/amal/fuerte_workspace
    ROS_ROOT: /opt/ros/fuerte/share/ros

     Localname                 S SCM  Version-Spec UID  (Spec)  URI  (Spec) [http(s)://...]
     ---------                 - ---- ------------ -----------  ---------------------------
   ccny_vision               x git                         robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git
     ros                       x                               
     turtlebot                 V hg   default      e47d5a1dca1c     (kforge.ros.org/turtlebot/turtlebot)
     roboearth                   svn  tags/latest  -r2111       ipvs.informatik.uni-stuttgart.de/roboearth/repos/public/
     knowrob                     svn  tags/latest  -r948        code.in.tum.de/pubsvn/knowrob/
     sandbox                                                    
     /opt/ros/fuerte/stacks                                     
     /opt/ros/fuerte/share                                      
     /opt/ros/fuerte/share/ros

3- Now I set up RoboEarth from this

rosinstall ~/fuerte_workspace /opt/ros/fuerte 'http://www.ros.org/wiki/roboearth?action=AttachFile&do=get&target=roboearth.rosinstall'

so it is in fuerte_workspace and also on home since previous set up.

I have this when run rosmake roboearth , so why does not go in directory of fuerte_workspace ?!

amal@amal-HP-G62-Notebook-PC:~$ cd ~/fuerte_workspace
amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ rosmake roboearth
[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['roboearth']                               
[ rosmake ] Logging to directory /home/amal/.ros/rosmake/rosmake_output-20121112-210325
[ rosmake ] Expanded args ['roboearth'] to:
[]                                  
[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['roboearth']
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

4- also I have this when try to know the error.

amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:

Found 1 error(s).

ERROR Not all paths in ROS_PACKAGE_PATH [/opt/ros/fuerte/share:/opt/ros/fuerte/stacks:/home/ros] point to an existing directory: 
 * /home/ros

5- this is my rosws info

amal@amal-HP-G62-Notebook-PC:~$ cd ~/fuerte_workspace
amal@amal-HP-G62-Notebook-PC:~/fuerte_workspace$ rosws info
workspace: /home/amal/fuerte_workspace
ROS_ROOT: /opt/ros/fuerte/share/ros

 Localname                  S SCM  Version-Spec UID  (Spec)  URI  (Spec) [http(s)://...]
 ---------                  - ---- ------------ -----------  ---------------------------
 stacks/knowrob               svn  tags/latest  -r966        code.in.tum.de/pubsvn/knowrob/
 pkgs/tum-ros-pkg/knowledge   svn               -r1010       tum-ros-pkg.svn.sourceforge.net/svnroot/tum-ros-pkg/knowledge
 stacks/ccny_vision           git  master       e03c2bf654d5 robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git
 stacks/roboearth             svn  tags/latest  -r2111       ipvs.informatik.uni-stuttgart.de/roboearth/repos/public/
 /opt/ros/fuerte ...
(more)
edit retag flag offensive close merge delete

Comments

yes, it is normal. Binaries are dowloaded to /opt/ros/fuerte by default. You don't need to link, just try building the stack you downloaded.

yigit gravatar image yigit  ( 2012-11-07 21:59:16 -0600 )edit

what do you mean by "try building the stack you downloaded." ?!

Amal gravatar image Amal  ( 2012-11-07 22:22:07 -0600 )edit

@dornhege after I have fuerte_workspace in home I have to add stacks that I wish in it !!

Amal gravatar image Amal  ( 2012-11-08 00:41:32 -0600 )edit

yes.

dornhege gravatar image dornhege  ( 2012-11-08 00:52:36 -0600 )edit

@dornhege I have this error when try add ccny_vision ERROR: Error processing 'ccny_vision' : [ccny_vision] Checkout of http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git version None into /home/amal/fuerte_workspace/ccny_vision failed. I do not understand check this link for what ?

Amal gravatar image Amal  ( 2012-11-08 01:24:34 -0600 )edit

How did you add the ccny_vision repository to your workspace? rosws set --git http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git is the right command. What's the content of ~/fuerte_workspace/.rosinstall?

Lorenz gravatar image Lorenz  ( 2012-11-08 01:37:38 -0600 )edit

I add to ~/fuerte_workspace/.rosinstall [RoboEarth and KnowRob] and I then want to add also ccny_vision to fuerte_workspace but get error!! . I already have it automatic when download RoboEarth but in home/ros/stacks.

Amal gravatar image Amal  ( 2012-11-08 01:52:28 -0600 )edit

Did you use the command @Lorenz posted? That is the correct one. If there is an error, update your post by copying that error there and list your .rosinstall.

dornhege gravatar image dornhege  ( 2012-11-08 02:20:59 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
5

answered 2012-11-07 22:41:34 -0600

dornhege gravatar image

You should create an overlay with rosws that adds the downloaded stack to your ROS workspace.

edit flag offensive delete link more
2

answered 2012-11-11 13:42:34 -0600

moritz gravatar image

There is a rosinstall file for RoboEarth that you can use by following the instructions at http://ros.org/wiki/roboearth#Installation

In your case, you need to replace ~/ros with the path of your local overlay, e.g. ~/fuerte_workspace

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-11-07 21:27:47 -0600

Seen: 1,350 times

Last updated: Nov 22 '12