From: fly r. <roa...@ho...> - 2005-08-19 21:09:06
|
Hi, I tried "isPose2DReady ()", and it returned false. so there wasn't data come from Stage to the SimulationInterface. how can i get the data from the Stage? another problem is like this: set2DPose("pioneer", 1000, 1000, 0); ....... set2DPose("pioneer", 2000, 2000, 0); the first set method works, but the second one doesn't. how can i make it work? Another problem is about the mapInterface when i ran the code: PositionInterface post = player.requestInterfacePosition(0, 'r'); SimulationInterface simulation = player.requestInterfaceSimulation(0, 'r'); MapInterface map = player.requestInterfaceMap(0, 'e'); with the .cfg file like this; driver ( name "stage" provides ["simulation:0"] plugin "libstage" worldfile "Test1.world" ) # robot 0 driver( name "stage" provides ["6665:position:0"] model "p0" ) driver( name "stage" provides ["6665:sonar:0"] model "p0" ) driver( name "stage" provides ["6665:laser:0"] model "p0" ) driver( name "stage" provides ["6665:blobfinder:0"] model "p0" ) driver( name "stage" provides ["6665:fiducial:0"] model "p0" ) and the world file like this: map( size [15 15] bitmap "bitmaps/cave.png" bitmap_resolution 0.05 boundary 3 ) i got error: [PlayerClient] : Got response for device 4(stage) with access: r [PlayerClient] : Got response for device 31(stage) with access: r [PlayerClient] : Got response for device 42() with access: e [PlayerClient] : Error was replied from the server! i think maybe i didn't write the right .cfg file. could you tell me if the .cfg file is correct, and if wrong, what can i do? thank you very much Jun _________________________________________________________________ Winks & nudges are here - download MSN Messenger 7.0 today! http://messenger.msn.co.uk |