[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-users
Subject:    [Orocos-users] Deploy using an ops file
From:       peter () thesourceworks ! com (Peter Soetens)
Date:       2011-01-31 12:11:17
Message-ID: 201101311311.17272.peter () thesourceworks ! com
[Download RAW message or body]

On Monday 31 January 2011 12:03:08 Clephas, T.T.G. wrote:
> ________________________________________
> Van: Peter Soetens [peter at thesourceworks.com]
> Verzonden: vrijdag 28 januari 2011 23:41
> Aan: Clephas, T.T.G.
> CC: orocos-users at lists.mech.kuleuven.be
> Onderwerp: Re: [Orocos-users] Deploy using an ops file
> 
> On Fri, Jan 28, 2011 at 5:06 PM,  <t.t.g.clephas at student.tue.nl> wrote:
> > Good day,
> > 
> > These are the steps I have taken in order to deploy using an ops file:
> > 
> > <code>
> > git clone http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git
> > 
> > git checkout -b orocos_toolchain_ros-0.2
> > 
> > git submodule init
> > 
> > git submodule update --recursive
> > 
> > rosmake ocl
> > 
> > rosrun ocl deployer-gnulinux -s deploy.ops
> > </code>
> > 
> > With the deploy.ops:
> > 
> > <code>
> > import("ocl")
> > loadComponent("HelloWorld","OCL::HelloWorld")
> > HelloWorld.start()
> > </code>
> > And this is the output:
> > 
> > <code>
> > [rosrun] You have chosen a non-unique executable, please pick one of the
> > following: 1)
> > /opt/ros/cturtle/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gn
> > ulinux 2)
> > /opt/ros/cturtle/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
> > #? 1
> > 0.001 [ ERROR  ][TinyDemarshaller] Could not load deploy.ops Error: Error
> > document empty. 0.001 [ ERROR  ][DeploymentComponent::loadComponents]
> > Some error occured while parsing deploy.ops 0.001 [ ERROR  ][Logger]
> > Failed to load a component: aborting kick-start.
> > 
> >   Switched to : Deployer
> >  
> >  This console reader allows you to browse and manipulate TaskContexts.
> >  You can type in an operation, expression, create or change variables.
> >  (type 'help' for instructions and 'ls' for context info)
> >  
> >    TAB completion and HISTORY is available ('bash' like)
> > 
> > Deployer [S]>
> > </code>
> > 
> > With every ops file I get this error message. Specifying a non-existing
> > ops file gives a different error.
> > 
> > Any ideas?
> 
> It looks like you're running an older version of the deployer app. what
> does rosrun ocl deployer-gnulinux --help
> show for the -s option: does it mention .ops files ?
> 
>   -s [ --start ] arg      Deployment XML or script file (eg
> 'config-file.xml'
>                           or 'script.ops')
> 
> Peter
> 
> I get:
> -s [ --start ] arg      Deployment configuration file (eg
> 'config-file.xml')
> 
> So I've got the wrong version. I get this both with the ocl checked out at
> "toolchain-2.2" and "orocos_toolchain_ros-0.2"
> 
> So what version should I have?

In the 'ocl' toochain-2.2 branch: did you try a 'git pull origin' or 'git pull 
autobuild' (depends if you did a manual install or bootstrap script) ?

On the orocos_toolchain_ros-0.2 branch, did you try a 'git submodule update' 
to get the latest rtt/ocl version ? (may also require a 'git pull origin' to 
get the latest ros updates).

Hope this helps,
Peter



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic