From: Jing T. <jin...@gm...> - 2008-02-15 11:23:15
|
Dear all, I was just trying to get the example code from the website working. But I found the method call robot.requestInterfaceSonar(0,PlayerConstants.PLAYER_OPEN_MODE); returns null. I'm on player/stage 2.1.0 and I've tried both Javaclient2.0.1 and the svn version. I was simply running the example "space wanderer". There're also some warnings after I run "player simple.cfg" as follows. I was just wondering if it's worth trying maybe an older version of p/s or the svn version of javaclient2? Thanks so much for you help in advance. Cheers, Jing Registering driver Player v.2.1.0rc1 * 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 /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/libstageplugin... trying to load /usr/local/player/2.x/lib/libstageplugin... success invoking player_driver_init()... Stage driver plugin init ** Stage plugin v2.1.0rc1 ** * 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 /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world][Include pioneer.inc][Include map.inc] warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:25 : property [ssize[0]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:26 : property [ssize[1]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:27 : property [ssize[2]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:28 : property [ssize[3]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:29 : property [ssize[4]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:30 : property [ssize[5]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:31 : property [ssize[6]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:32 : property [ssize[7]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:35 : property [sview[0]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:36 : property [sview[1]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:37 : property [sview[2]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:38 : property [sview[3]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:39 : property [sview[4]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:40 : property [sview[5]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:41 : property [sview[6]] is defined but not used (worldfile.cc WarnUnused) warn: worldfile /home/students/ug/ug74jxt/Desktop/javaclient2examples/SpaceWandererExample/simple.world:42 : property [sview[7]] is defined but not used (worldfile.cc WarnUnused) Stage driver creating 2 devices 6665.4.0 is "robot1" 6665.5.0 is "robot1.ranger:0" listening on 6665 Listening on ports: 6665 -- Jing Tang School of Computer Science University of Birmingham, UK Mobile: +44 787 264 5655 Personal Email: jin...@gm... School Email: ug...@cs... |