to Peter Alley and  Rich Mattes, 

I am also a fresher using player/stage, actually I've been puzzling by the example of simple.would for weeks. Normally in the /usr/local/player/example directory, once i type the command

player simple.cfg

player will immediatly load up the corresponding .world file and execute the control code to drive the robot in the stage's world map, but what confusing me is that I cannot find the cooresponding control code or executable file. When I do this job to my own robot and simulating performence I always compile my control code into executable file first, put it somewhere, and in one terminal window I run the command:

player myconfig.cfg

and in another terminal window I run my own control file, then the robot will move around. I don't understand why I must operate in two different terminal windows to seperatly run player and the control file, whereas the  simple.cfg example could complete the all job with only one comman line.

2011/4/15 <playerstage-users-request@lists.sourceforge.net>
Send Playerstage-users mailing list submissions to
       playerstage-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.sourceforge.net/lists/listinfo/playerstage-users
or, via email, send a message with subject or body 'help' to
       playerstage-users-request@lists.sourceforge.net

You can reach the person managing the list at
       playerstage-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Playerstage-users digest..."


Today's Topics:

  1. Ubuntu error: unable to open world file (Peter Alley)
  2. Re: Ubuntu error: unable to open world file (Rich Mattes)
  3. Re: Player 3.0.2/ Stage 4.0.0 - Problem with      Models and
     Interfaces (Tu Hoang)
  4. Re: Player 3.0.2/ Stage 4.0.0 - Problem with      Models and
     Interfaces (Tu Hoang)
  5. Re: Installing playerstage: Failed to load        stageplugin (Kepo)
  6. Re: Installing playerstage: Failed to load        stageplugin
     (Nabil Alsharif)


----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Apr 2011 18:14:49 -0400
From: Peter Alley <alleypj@gmail.com>
Subject: [Playerstage-users] Ubuntu error: unable to open world file
To: playerstage-users@lists.sourceforge.net
Message-ID: <BANLkTi=av4BUyGk8H1X+CajXMVH0RwrdMQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Greetings,
I've spent most of today trying to get Player/Stage installed and running on
a new installation of Ubuntu 10.04.  After encountering various errors
regarding missing packages (and installing so many I lost count), I have
both Player (v3.0.2) and Stage(v4.0.0) installed using the guide found at:
http://www.control.aau.dk/~tb/wiki/index.php/Installing_Player_and_Stage_in_Ubuntu.
When I go to follow the testing portion of the guide and run stage using
simple.world, I get the following results:

/usr/local/lib$ stage simple.world
Stage 4.0.0
 [Loading simple.world]err: unable to open world file simple.world : No such
file or directory
(/home/alleypj/Downloads/Stage-4.0.0-src/libstage/worldfile.cc Load)

Note that it is looking for worldfile.cc in the src folder in the downloads
directory where the source code was downloaded and extracted to, not where
Player/Stage was installed to.  Furthermore, looking at that path,
worldfile.cc does exist where it is looking.

What am I doing wrong and how do I fix it (or, what additional information
do you need to be able to help me)?

Peter Alley
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Wed, 13 Apr 2011 20:09:47 -0400
From: Rich Mattes <jpgr87@gmail.com>
Subject: Re: [Playerstage-users] Ubuntu error: unable to open world
       file
To: playerstage-users@lists.sourceforge.net
Message-ID: <4DA63B4B.2060003@gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 04/13/2011 06:14 PM, Peter Alley wrote:
> Greetings,
> I've spent most of today trying to get Player/Stage installed and
> running on a new installation of Ubuntu 10.04.  After encountering
> various errors regarding missing packages (and installing so many I
> lost count), I have both Player (v3.0.2) and Stage(v4.0.0) installed
> using the guide found at:
> http://www.control.aau.dk/~tb/wiki/index.php/Installing_Player_and_Stage_in_Ubuntu
> <http://www.control.aau.dk/%7Etb/wiki/index.php/Installing_Player_and_Stage_in_Ubuntu>.
> When I go to follow the testing portion of the guide and run stage
> using simple.world, I get the following results:
>
> /usr/local/lib$ stage simple.world
> Stage 4.0.0
>  [Loading simple.world]err: unable to open world file simple.world :
> No such file or directory
> (/home/alleypj/Downloads/Stage-4.0.0-src/libstage/worldfile.cc Load)
>
> Note that it is looking for worldfile.cc in the src folder in the
> downloads directory where the source code was downloaded and extracted
> to, not where Player/Stage was installed to.  Furthermore, looking at
> that path, worldfile.cc does exist where it is looking.
>
> What am I doing wrong and how do I fix it (or, what additional
> information do you need to be able to help me)?
>
> Peter Alley
>

Hi,

You need to be in the same directory as simple.world, or else provide
the path to the simple.world file.  Stage doesn't automagically know
where the worldfiles are, you have to tell it.  Stage should install its
world files somewhere like /usr/local/share/stage/worlds, or you can use
the world files in your source directory (in your case, probably at
/home/alleypj/Downloads/Stage-4.0.0-src/worlds)

Basically, you need to do:

cd /path/to/where/world/files/are
stage worldfile.world

Or:

stage /path/to/your/worldfile.world

The output in the error message isn't telling you where Stage is looking
for the worldfile, it's telling you where in the code the error is
happening so you can dig into it deeper.  Stage is actually looking in
the current directory for simple.world, which appears to be
/usr/local/lib from what you pasted.  Since there is no
/usr/local/lib/simple.world, Stage reports that no such file or
directory exists.

Rich
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Thu, 14 Apr 2011 01:12:48 -0700
From: Tu Hoang <tahoang@csupomona.edu>
Subject: Re: [Playerstage-users] Player 3.0.2/ Stage 4.0.0 - Problem
       with    Models and Interfaces
To: playerstage-users@lists.sourceforge.net
Message-ID: <BANLkTikULkRyZ7r4cK-WVUwN47k3qmuTgA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I am programming the control code for a robot using Player/Stage using
the Nested
Hierarchical Controller in C++ and I have these questions to ask:

+ I want to read the current position of the robot (in term of the pose: X
coordinate, Y coordinate, Z coordinate and YAW) using position2nd interface.
In the servo-loop, the robot.Read() will update the sensors value but the
question is that what method is used to get those data for the
Position2dProxy?

+ Given the answer of the previous question, calculating distance to adjust
the speed is fairly easy, but is there any hint about calculating the new
angle?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Thu, 14 Apr 2011 01:27:32 -0700
From: Tu Hoang <tahoang@csupomona.edu>
Subject: Re: [Playerstage-users] Player 3.0.2/ Stage 4.0.0 - Problem
       with    Models and Interfaces
To: playerstage-users@lists.sourceforge.net
Message-ID: <BANLkTi=EZb34wh_T2=2aim0gg5-3Lf4pig@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

And plus,

after getting the angle (with respect to current YAW and destination), what
would be the new turn rate for the robot? For example, the turning angle is
15 degree, the forwarding speed is 10, how to come up with the turn rate?

On Thu, Apr 14, 2011 at 1:12 AM, Tu Hoang <tahoang@csupomona.edu> wrote:

> Hi,
>
> I am programming the control code for a robot using Player/Stage using the Nested
> Hierarchical Controller in C++ and I have these questions to ask:
>
> + I want to read the current position of the robot (in term of the pose: X
> coordinate, Y coordinate, Z coordinate and YAW) using position2nd interface.
> In the servo-loop, the robot.Read() will update the sensors value but the
> question is that what method is used to get those data for the
> Position2dProxy?
>
> + Given the answer of the previous question, calculating distance to adjust
> the speed is fairly easy, but is there any hint about calculating the new
> angle?
>
> Thank you!
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Thu, 14 Apr 2011 13:48:57 +0000 (UTC)
From: Kepo <brousmiche3@gmail.com>
Subject: Re: [Playerstage-users] Installing playerstage: Failed to
       load    stageplugin
To: playerstage-users@lists.sourceforge.net
Message-ID: <loom.20110414T150031-25@post.gmane.org>
Content-Type: text/plain; charset=us-ascii

Hello,
I have the same problem but reinstalling stage/player didn t solve the problem.
Player is searching the stageplugin in /usr/local/lib but in fact it is located
in /usr/local/lib64. So I added /usr/local/lib64 in my LD_LIBRARY_PATH but it
didn't work.
Could somebody help me please ?

Best regards,
kepo






------------------------------

Message: 6
Date: Thu, 14 Apr 2011 15:16:50 -0500
From: Nabil Alsharif <blit32@gmail.com>
Subject: Re: [Playerstage-users] Installing playerstage: Failed to
       load    stageplugin
To: playerstage-users@lists.sourceforge.net
Message-ID: <4DA75632.8040405@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

try 'ldconfig /usr/local/lib64'

On 04/14/2011 08:48 AM, Kepo wrote:
> Hello,
> I have the same problem but reinstalling stage/player didn t solve the problem.
> Player is searching the stageplugin in /usr/local/lib but in fact it is located
> in /usr/local/lib64. So I added /usr/local/lib64 in my LD_LIBRARY_PATH but it
> didn't work.
> Could somebody help me please ?
>
> Best regards,
> kepo
>
>
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users




------------------------------

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev

------------------------------

_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users


End of Playerstage-users Digest, Vol 59, Issue 9
************************************************