From: Emanuele V. <ema...@fa...> - 2007-05-09 16:52:28
|
ok, thank you, I solved it. The problem was that playerjoy doesn't call the RequestGeom method. I just added this command in the playerjoy and it works. Furthermore I can access the Encoder Data now, thanks for your help. I don't know how to publish it as a new field of us_position but I substituted the field stall (I really don't need it) with the encoder data. Thank you again, I can try my pendulum experiment now ahah best, ema ss...@un... ha scritto: > Hi, > I wasn't at the university today, so I can't test it. My guess is, that > the get geom or get config request in us_position is answered with NACK. > Perhaps the positionproxy doesn't wait long enough for the geom. I will > have a look at this tomorrow. > Best Stefan > > >> Yes, I have the same problem. >> I can't control the robot with the C++ interfaces...it doesn't work. >> I mean, if I run the position2d test in the libplayerc folder, it works >> (I see the robot moving) >> but if I try to use the position2dproxy functions (SetSpeed i.e.) >> through the playerjoy or an other program I made, it doesn' work. >> Actually I have find out something...if I run the position2d test and >> later the playerjoy, it seems it works... >> Furthermore I can easily access the data of the position proxy...but I >> can't set the speed... >> >> please help! >> >> thank you >> >> ema >> >> >> >> Moreno De Amicis ha scritto: >> >> >>> Hi everybody, >>> I installed the Player-2.0.4. When I try to run playerjoy, the output >>> I receive is: >>> >>> Connecting to Player at localhost:6665 - calling connect >>> done >>> playerc error : poll call failed with error [0:Success] >>> playerc error : recv failed with error [Success] >>> warning : failed to reconnect >>> terminate called after throwing an instance of 'PlayerCc::PlayerError' >>> Aborted >>> >>> >>> Sometimes, the playerjoy connects to the player server, but in this case >>> I'm not able to control the robot through the keyboard. >>> The test, written in c language, for the position2dproxy works well. >>> Any idea? >>> Thanks, >>> >>> Moreno >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Usarsim-developers mailing list >>> Usa...@li... >>> https://lists.sourceforge.net/lists/listinfo/usarsim-developers >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Usarsim-developers mailing% >> > > |