From: <ngo...@is...> - 2011-02-07 09:03:33
|
Hi, The pyhton version is 2.5.2, the player/stage version is 3.0.2. After your email, I realized that I have two player versions. One is 2.04 in /usr/lib and another in is 3.02 in /usr/local/lib. Probably this is confusing the python interpreter. I have removed the old version of player/stage and now it is working, although the installation script does not place the python wrapper in a standard location. I add to manually add the directory to the python path before I could import the python wrapper for player. Thanks, Nelson Gon\c calves Citando Rich Mattes <jp...@gm...>: > Which version of python are you using? Are there any relics from a > previous install of Player? > > Rich > > On 02/03/2011 10:44 AM, ngo...@is... wrote: >> Hi, >> >> I have compiled and installed Player 3.0.2 on a Debian machine and >> I am using the Python library for controlling a Pioneer P3AT robot. >> >> I can read the odometry and the sonars without any problem, but >> for some strange reason I cannot control the motor wheels. And yes, I >> have enabled the motors. Also, I can control the robot through the >> playerjoy and playerv utilities. >> >> Whenever I send a velocity command, with >> "set_cmd_vel(linVel,0.0,angVel,1)" >> the Player server complains with: >> >> "warning : decoding failed on message to position2d:0 with type command:1" >> >> I have also tried running the example given, but again the robot >> does not move and the Player server complains with the same error. Any >> thoughts on what is going on ? >> >> Nelson Gon\c calves >> >> --- >> Learning to eat soup with a knife >> http://thinkingolivetree.blogspot.com/ >> >> ---------------------------------------------------------------- >> This message was sent using IMP, the Internet Messaging Program. >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |