Hi,
thanks for your mail. Ok i shall do it . Can i rename the example driver.cc to  relay.cc in my own directory. if not than if i want to make another driver than what shall  i  do? Because  i  need to make  another 2/3 driver for  my robot.  if i rename than do i need to change the driver registry.cc and put it  in my directory.

best regards

ASM Hoque

----- Original Message ----
From: "playerstage-users-request@lists.sourceforge.net" <playerstage-users-request@lists.sourceforge.net>
To: playerstage-users@lists.sourceforge.net
Sent: Thursday, 24 January, 2008 5:02:07 PM
Subject: Playerstage-users Digest, Vol 20, Issue 36

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. Re: Library error ( Ey?p ?INAR )
  2. Re: Relay Driver (Toby Collett)


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

Message: 1
Date: Thu, 24 Jan 2008 13:17:42 +0200
From: " Ey?p ?INAR " <eypcinar@gmail.com>
Subject: Re: [Playerstage-users] Library error
To: playerstage-users@lists.sourceforge.net
Message-ID:
    <2f25bbee0801240317g5f634435pc90ac95b2a95b9cb@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Thank you for your answer. I have checked ld.so.conf and ensured
/usr/local/lib exists in it and just in case I have tried to create a link
with libplayerdrivers.so.2 rebooted and entered ldconfig but the sama
problem still exists is there any other way which I can solve this problem ?
thank you very much in advance for any idea



2008/1/23, Giulio Zecca <Giulio.Zecca@irisa.fr>:
>
> On Wed, 2008-01-23 at 09:27 +0200, Ey?p ?INAR wrote:
> > Hi everbody,
> >
> > When I run the command on my robot
> >
> > player simple.cfg
> >
> > I get this error could you please help me ? Do you have any idea about
> > it ? Dont know much about Linux sorry.
> >
> > many thanks
> >
> > player: error while loading shared libraries: libplayerdrivers.so.2:
> > cannot open shared object file: No such file or directory
>
> Is a problem of path.
> Under Ubuntu 7.04 Feisty FawnI solvedit that way:
>
> Create (or modify) a file "/etc/ld.so.conf.d/i486-linux-gnu"
> (in other versions that may be /etc/ld.so.conf.d/ok.conf"
> with a line /usr/local/lib that was my actual path of
> libplayerdrivers.so.2
> Then reboot or execute ldconfig
>
> This is not the best solution maybe, and not always working, but if
> there's a mismatch between your library path and the user path set by
> Player installation that coul do the trick.
>
> Giulio
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Thu, 24 Jan 2008 17:33:00 +1300
From: "Toby Collett" <tcollett+player@plan9.net.nz>
Subject: Re: [Playerstage-users] Relay Driver
To: playerstage-users@lists.sourceforge.net
Message-ID:
    <97b8070e0801232033i508b17b6k4cd27441f435def1@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

You should copy the example plugin driver to a directory of your own and
then rename Makefile.example to Makefile. This will allow you to build the
plugin, use the cfg file in the example dir to run it.

Toby

On 24/01/2008, mojahid haque <mojahidiut@yahoo.co.in> wrote:
>
> hi all,
>
> thanks toby. I shall use DIO interface. But I need to write one
> driver(serial port driver) for that  for my relay. So how many file i need
> to modify from player. than if i write  driver . than how to put it in
> plugin folder of usr/local/share/player/examples/plugin/exampledriver. Do i
> need to modify any other headerfile or cc file.
>
> best regards
> ASM Hoque
> PhD. student
> DCU
>
> ----- Original Message ----
> From: "playerstage-users-request@lists.sourceforge.net" <
> playerstage-users-request@lists.sourceforge.net>
> To: playerstage-users@lists.sourceforge.net
> Sent: Wednesday, 23 January, 2008 1:05:51 PM
> Subject: Playerstage-users Digest, Vol 20, Issue 33
>
> 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. Re: PLAYER.H FILE FOR RELAY (Toby Collett)
>  2. Re: Stable version of PS (Kevin Barry)
>  3. stage window does not show. (janarbek)
>  4. Library error ( Ey?p ?INAR )
>  5. Using playerc_simulation_set_property from    Python interface
>      (Sidney Cadot)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 23 Jan 2008 16:31:03 +1300
> From: "Toby Collett" <tcollett+player@plan9.net.nz>
> Subject: Re: [Playerstage-users] PLAYER.H FILE FOR RELAY
> To: playerstage-users@lists..sourceforge.net
> Message-ID:
>    <97b8070e0801221931x603e6119if327e4279b302d00@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You can probably use the dio interface for this.
>
> Toby
>
> On 23/01/2008, mojahid haque <mojahidiut@yahoo.co.in> wrote:
> >
> > Hi all,
> > Currently i need to make one driver for my relay to get information from
> > my box.  i am using http://www.bb-europe.com/product.asp?SKU=232DRIOrelay
> > to control the solinoied . i am also using one push button in relay.
> when
> > press the push button than SOLINOED will work and box will open. now Q
> is. I
> > need back information  (box is open) in player.  SO i mordified
> player.hfile . which is
> >
> >
> >
> >
> > #define
> > PLAYER_BOX_CODE 59 // For box interface
> >
> > .
> >
> > .
> >
> > .
> >
> > .
> >
> > .
> >
> >
> >
> > #define
> > PLAYER_BOX_STRING "box"
> >
> > .
> >
> > .
> >
> > .
> >
> > #define
> > PLAYER_BOX_DATA_STATE 1
> >
> > .
> >
> > .
> >
> > #define
> > PLAYER_BOX_CMD_STATE 1
> >
> > .
> >
> > .
> >
> > /** Command codes */
> >
> > #define
> > BOXPopen 1
> >
> > /** Command codes */
> >
> > #define
> > BOXclose 2
> >
> > .
> >
> > .
> >
> > .
> >
> >
> >
> > typedef
> > struct player_box_data
> >
> > {
> >
> > uint32_t state;
> >
> > } player_box_data_t;
> >
> > .
> >
> > .
> >
> > .
> >
> > .
> >
> > typedef
> > struct player_box_cmd
> >
> > {
> >
> > /** the command */
> >
> > uint32_t cmd;
> >
> > /** optional argument */
> >
> > uint32_t arg;
> >
> > } player_box_cmd_t;
> >
> > .
> >
> > .
> >
> > .
> >
> > Is that ok? if  not OK than plsease  told me what problem and why?
> >
> >
> >
> > best regards
> >
> > ASM Hoque
> >
> > PhD. student
> >
> > DCU
> >
> > ------------------------------
> > Get the freedom to save as many mails as you wish. Click here to know
> how.<
> http://in.rd.yahoo.com/tagline_mail_5/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Playerstage-users mailing list
> > Playerstage-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-users
> >
> >
>
>
> --
> This email is intended for the addressee only and may contain privileged
> and/or confidential information
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Tue, 22 Jan 2008 22:47:29 -0500
> From: "Kevin Barry" <barryk@gmail.com>
> Subject: Re: [Playerstage-users] Stable version of PS
> To: playerstage-users@lists.sourceforge.net
> Message-ID:
>    <c8db6ec20801221947t7a0a55b7v6b2f9fea0edf8003@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Just a note, it is 2.1.0 RC1, not 2.1 Orc1. The RC means Release
> Candidate.
>
> If you return to the player source directory where you ran
> configure/make/make install and run "make uninstall" version 2.1..0rc1
> will be removed. Then proceed to install 2.0.5 just like you had
> installed 2.1.0rc1.
>
> Note you should probably remove Stage prior to removing Player.
>
> On Jan 22, 2008 9:47 PM, janarbek <canarbekmatay@yahoo.com> wrote:
> > Hi,
> > Thank you for info. I didn't notice it. I just downloaded latest
> release.
> >
> > I have successfully installed the Orc1 version.
> >
> > I used standard configure/make/make install. I am wondering how I could
> > remove (uninstal) the files in user/local by automatically? Or do i have
> to
> > remove them mannually?
> >
> > I want to install Player 2.0.5 version.
> >
> > Is there any option?
> >
> >
> >
> >
> >
> > Giulio Zecca <Giulio.Zecca@irisa.fr> wrote:
> >  I use the 2.0.5 for maximum stability, maybe that will do everything we
> > need, or maybe we'll have to switch to 2.1 afterwards.
> >  I think theanswer for your question is explained in the Notes on the
> > Download Page:
> >  http://sourceforge.net/project/showfiles.php?group_id=42445
> >
> >
> > Release Name: 2.1.0rc1
> >  Notes: This is the first release candidate of Player 2.1.0. This
> release is
> > intended for advanced users to test and debug. Once it is stabilized, we
> > will release a final Player 2.1.0.
> >
> >
> >
> > Release Name: 2.0.5
> >  Notes: This release fixes a number of bugs and adds a few minor
> > enhancements. Also new is the 'create' driver, for the iRobot Create
> robot.
> > This is likely the last release in the 2.0.x line.
> >
> >
> > That must be, unless someone more expert disagrees.
> >
> > Bye
> >
> >
> >  janarbek ha scritto:
> >
> > Hi all,
> >
> > I have downloaded player-2.1.0rc1.tar.bz2 and stage-2.1.0rc1.tar.bz2.
> >
> > I am just curious. Are they stable version? After googling, i come
> across
> > users most of them are not using PS.2.1 version.
> >
> >
> >  ________________________________
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> it
> > now. ________________________________
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft Defy all challenges.
> > Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >  ________________________________
> >  _______________________________________________ Playerstage-users
> mailing
> > list Playerstage-users@lists.sourceforge.net
> > https://lists..sourceforge.net/lists/listinfo/playerstage-users
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> >
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> > Playerstage-users mailing list
> > Playerstage-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-users
> >
> >
> >
> >  ________________________________
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Playerstage-users mailing list
> > Playerstage-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-users
> >
> >
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 22 Jan 2008 20:47:46 -0800 (PST)
> From: janarbek <canarbekmatay@yahoo.com>
> Subject: [Playerstage-users] stage window does not show.
> To: playerstage-users@lists.sourceforge.net
> Message-ID: <5019.37987.qm@web50803.mail.re2.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> as mentioned before I have installed Player 2.0.5 and Stage 2.0.4 on
> Fedora 4.
>
> I think everything wored well.
>
> When I run
>
> player simple.cfg
>
> I got follwoing message. But I can not see the stage window. It does not
> show up.
>
>
> -------------------------------------------------------------------------------------------------------
> player worlds/simple.cfg
> Player v.2.0.5
>
> * Part of the Player/Stage/Gazebo Project [
> http://playerstage.sourceforge.net].
> * Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew Howard,
> * Nate Koenig, and contributors. Released under the GNU General Public
> License.
> * Player comes with ABSOLUTELY NO WARRANTY.  This is free software, and
> you
> * are welcome to redistribute it under certain conditions; see COPYING
> * for details.
>
> trying to load /root/PSG/stage-2.0.4/worlds/libstageplugin...
> trying to load /usr/local/lib/libstageplugin...
> success
> invoking player_driver_init()...
> Stage driver plugin init
>
> ** Stage plugin v2.0.4 **
> * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
> * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey
> * and contributors. Released under the GNU General Public License v2.
> success
>  Stage driver creating 1 device
>  6665.31.0 is a Stage world [Loading worlds/simple.world][Include
> pioneer.inc][Include map.inc][Include sick.inc]
> warn: worldfile worlds/simple.world:81 : property [size] is defined but
> not used (worldfile.cc WarnUnused)
> warn: worldfile worlds/simple.world:82 : property [center] is defined but
> not used (worldfile.cc WarnUnused)
> warn: worldfile worlds/simple.world:83 : property [scale] is defined but
> not used (worldfile.cc WarnUnused)
>
>  Stage driver creating 1 device
>  6665.42.0 is "cave"
>  Stage driver creating 2 devices
>  6665.4.0 is "robot1"
>  6665.6.0 is "robot1.laser:0"
> Listening on ports: 6665
>
>
> -------------------------------------------------------------------------------------------------------
> Is there something wrong? Or am I doing right?
>
>
>
>
>
>
> ==================================================================================================================================================================
>  Janarbek, Researcher.
> Software Robot Research Team, ETRI(Electronics and Telecommunications
> Research Institute)
> 161 Kajong-Dong, Yusong-Gu, TAEJON, 305-350, KOREA
> Email : janarbek@etri.re.kr
> Phone : 82-42-860-1838
> Fax : 82-42-860-6790
>  Cell Phone: 82-10-8692-8103
>
> ===================================================================================================================================================================
>
>
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.   Try it
> now.
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 4
> Date: Wed, 23 Jan 2008 09:27:44 +0200
> From: " Ey?p ?INAR " <eypcinar@gmail.com>
> Subject: [Playerstage-users] Library error
> To: playerstage-users@lists.sourceforge.net
> Message-ID:
>    <2f25bbee0801222327h565ac156n716ec94061ec8756@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi everbody,
>
> When I run the command on my robot
>
> player simple.cfg
>
> I get this error could you please help me ? Do you have any idea about it
> ?
> Dont know much about Linux sorry.
>
> many thanks
>
> *player: error while loading shared libraries: libplayerdrivers.so.2:
> cannot
> open shared object file: No such file or directory
> *
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 5
> Date: Wed, 23 Jan 2008 14:05:34 +0100
> From: "Sidney Cadot" <sidney.cadot@jigsaw.nl>
> Subject: [Playerstage-users] Using playerc_simulation_set_property
>    from    Python interface
> To: <playerstage-users@lists.sourceforge.net>
> Message-ID: <046501c85dc0$a7171170$f5453450$@cadot@jigsaw.nl>
> Content-Type: text/plain;    charset="us-ascii"
>
> Hi all,
>
> I am trying to use "playerc_simulation_set_property" to change the color
> of
> a model in a Stage simulation at runtime. This is what I am trying to do:
>
> #! /usr/bin/env python
> from playerc import *
> client = playerc_client(None, "localhost", 6665)
> client.connect()
> sim = playerc_simulation(client, 0)
> sim.set_pose2d("robot", 10.0, 10.0, 0.0) # this works fine
> sim.set_property("robot", "_mp_color", [255, 0, 0, 0]) # this doesn't work
> # end-of-script
>
> I haven't been able to find out how to call the simulation class's
> "set_property()" method from Python. In the C interface, it has four
> parameters:
>
> (1) the name of the model of which we want to set a property
> (2) the name of the property to set
> (3) a (void*) the new value of the property
> (4) the number of war bytes that make up the new value.
>
> I am unable to find a way to specify the third and fourth parameters that
> is
> accepted by the Swig-generated interface, and I am starting to wonder if
> it
> can be done at all.
>
> If anyone knows how this can be done, it would be greatly appreciated.
>
> Regards, Sidney
>
>
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt..com/MRT/go/vse0120000070mrt/direct/01/
>
> ------------------------------
>
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>
> End of Playerstage-users Digest, Vol 20, Issue 33
> *************************************************
>
>
> ------------------------------
> Chat on a cool, new interface. No download required. Click here.<http://in.rd.yahoo.com/tagline_webmessenger_10/*http://in.messenger.yahoo.com/webmessengerpromo.php>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>


--
This email is intended for the addressee only and may contain privileged
and/or confidential information
-------------- next part --------------
An HTML attachment was scrubbed...

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

-------------------------------------------------------------------------
This SF..net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

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


End of Playerstage-users Digest, Vol 20, Issue 36
*************************************************



Unlimited freedom, unlimited storage. Get it now