Thread view

Hi Community,
I wonder how Stage is used as a stand alone simulator. I have read in the
forum:
"Just use the *Stage* binary, with a controller loaded from your world file.
See worlds/simple.world and worlds/fasr.world for examples. "
But what I do not understand here is from where does my control program is
loaded.
If we assume for example here that I run "stage simple.world" or "stage
fasr.world". Where in the world file is the control program set? I assume
this control program is something I as a programmer have written. But at
least in case of this two examples it should be something in the libraries.
Is it a binary which is loaded from somewhere? If so I can't find it. I
could not find any example in the manual as well. So could someone give me
an introduction please.
/Sahit Erdis

worlds/simple.world
is an example with a controller. See the line:
ctrl "wander"
in the robot definition. This loads the file wander.so which must be
somewhere in your LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH in OS X).
wander.so is installed in $(CMAKE_INSTALL_PREFIX)/lib.
Also, see the fine manual.
Richard/
On Sat, Nov 28, 2009 at 10:10 AM, Sahit Erdis <sahit.erdis@...> wrote:
> Hi Community,
>
> I wonder how Stage is used as a stand alone simulator. I have read in the
> forum:
>
> "Just use the Stage binary, with a controller loaded from your world file.
> See worlds/simple.world and worlds/fasr.world for examples. "
>
> But what I do not understand here is from where does my control program is
> loaded.
>
> If we assume for example here that I run "stage simple.world" or "stage
> fasr.world". Where in the world file is the control program set? I assume
> this control program is something I as a programmer have written. But at
> least in case of this two examples it should be something in the libraries.
> Is it a binary which is loaded from somewhere? If so I can't find it. I
> could not find any example in the manual as well. So could someone give me
> an introduction please.
>
> /Sahit Erdis
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>
--
Richard Vaughan
Autonomy Lab / Computing Science / Simon Fraser University

Hi Richard,
I would be really thankful if you could answer my question. If there is no
documentation about the use of Stage as a stand alone simulator so please
only tell me. In that case I can stop searching.
/Sahit
2009/11/28 Richard Vaughan <rtvaughan@...>
> worlds/simple.world
>
> is an example with a controller. See the line:
>
> ctrl "wander"
>
> in the robot definition. This loads the file wander.so which must be
> somewhere in your LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH in OS X).
> wander.so is installed in $(CMAKE_INSTALL_PREFIX)/lib.
>
> Also, see the fine manual.
>
> Richard/
>
>
> On Sat, Nov 28, 2009 at 10:10 AM, Sahit Erdis <sahit.erdis@...>
> wrote:
> > Hi Community,
> >
> > I wonder how Stage is used as a stand alone simulator. I have read in the
> > forum:
> >
> > "Just use the Stage binary, with a controller loaded from your world
> file.
> > See worlds/simple.world and worlds/fasr.world for examples. "
> >
> > But what I do not understand here is from where does my control program
> is
> > loaded.
> >
> > If we assume for example here that I run "stage simple.world" or "stage
> > fasr.world". Where in the world file is the control program set? I
> assume
> > this control program is something I as a programmer have written. But at
> > least in case of this two examples it should be something in the
> libraries.
> > Is it a binary which is loaded from somewhere? If so I can't find it. I
> > could not find any example in the manual as well. So could someone give
> me
> > an introduction please.
> >
> > /Sahit Erdis
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Playerstage-users mailing list
> > Playerstage-users@...
> > https://lists.sourceforge.net/lists/listinfo/playerstage-users
> >
> >
>
>
>
> --
> Richard Vaughan
> Autonomy Lab / Computing Science / Simon Fraser University
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>