seems like too obvious to me, but u did do SetMotorEnable(1); (see line 506 playerjoy.cc). Have you tried your client prgm with Stage? See if it drives a robot around? Much easier to debug that way. You would know its not your driver prgm.

Looking at laserobstatcleavoid.cc, it does the same thing:
    PlayerClient robot(gHostname, gPort);
    Position2dProxy pp(&robot, gIndex);
    LaserProxy lp(&robot, gIndex);

    std::cout << robot << std::endl;

    pp.SetMotorEnable (true);

On Tue, Jul 29, 2008 at 4:47 PM, Robotik <robotik@gmx.net> wrote:

Hello,

i want to send a velocity command out of my driver to the p2os driver. I do
this
with the following code.

 player_position2d_cmd_vel_t cmd;
 memset(&cmd,0,sizeof(cmd));
 cmd.vel.px =  0;
 cmd.vel.py =  0;
 cmd.vel.pa =  12;

 this->p2d_dev->PutMsg(this->InQueue,
      PLAYER_MSGTYPE_CMD,PLAYER_POSITION2D_CMD_VEL,
      (void*)&cmd,sizeof(cmd),NULL);


After starting player and connecting to my driver nothing happens.
When i start a client like playerjoy the robot spins. It looks like the
robot is waiting for an enable command but i can't find anything in the
documentation.
Any ideas?
Thx Holger
--
View this message in context: http://www.nabble.com/Sending-velocity-command-in-plugin-driver-tp18720996p18720996.html
Sent from the playerstage-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
Scott Reynolds
Cell: 630-254-2474
http://www.scottreynolds.us