playerc error : failed to get response

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

playerc error : failed to get response

Luigi Freda
Hi all,
when I try to interact with gazebo through playerv (or c code) I receive the
error reported in the object.
In particular, this is what happens when I launch gazebo, player and
playerv:

::MY
CONFIGURATION:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- Ubuntu 9.04
- gazebo rev. 7939
- player 2.1.2
- gcc version 4.3.3
- ogre 1.6.2
- ode  0.11.1

::GAZEBO WORLD
FILE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- see the attachment
- it includes the standard laser and pioneer2dx models provided in the
revision

::GAZEBO CFG
FILE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- see the attachment

::GAZEBO
MESSAGE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
$gazebo mine.world
Gazebo multi-robot simulator, version 0.9.0

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[/root/InstallationPackages/gazebo/server/GazeboConfig.cc:103]
  Gazebo Path[/usr/local/share/gazebo]
[/root/InstallationPackages/gazebo/server/GazeboConfig.cc:115]
  Ogre Path[/usr/local/lib/OGRE]
creating /tmp/gazebo-root-0
creating /tmp/gazebo-root-0/simulation.default 112 33842332
creating /tmp/gazebo-root-0/factory.default 112 410188
creating /tmp/gazebo-root-0/graphics3d.default 112 1630256
creating /tmp/gazebo-root-0/graphics3d.plane1_model 112 1630256
creating /tmp/gazebo-root-0/graphics3d.sphere1_model 112 1630256
creating /tmp/gazebo-root-0/position.pioneer2dx_model1::position_iface_0 112
156
creating /tmp/gazebo-root-0/graphics3d.pioneer2dx_model1 112 1630256
creating /tmp/gazebo-root-0/laser.pioneer2dx_model1::laser::laser_iface_0
112 8352
creating
/tmp/gazebo-root-0/fiducial.pioneer2dx_model1::laser::fiducial_iface_0 112
11308
creating /tmp/gazebo-root-0/graphics3d.pioneer2dx_model1::laser 112 1630256
creating /tmp/gazebo-root-0/graphics3d.box1_model 112 1630256
creating /tmp/gazebo-root-0/graphics3d.directional_white 112 1630256
creating /tmp/gazebo-root-0/graphics3d.point_white 112 1630256
Gazebo successfully initialized

::PLAYER
MESSAGE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
$player mine.cfg
Registering driver
Player v.2.1.2

* 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.

invoking player_driver_init()...

 * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
 * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey, Nathan
Koenig
 * and contributors. Released under the GNU General Public License v2.
success
  Gazebo Plugin driver creating 1 device
    6665.31.0 is  a simulation interface.
opening /tmp/gazebo-root-0
opening /tmp/gazebo-root-0/simulation.default 112 33842332
  Gazebo Plugin driver creating 1 device
    6665.4.0 is  a position2d interface.
  Gazebo Plugin driver creating 1 device
    6665.6.0 is  a laser interface.
opening /tmp/gazebo-root-0/simulation.default +112 33842332
listening on 6665
Listening on ports: 6665
accepted TCP client 0 on port 6665, fd 8

:: PLAYERV
MESSAGE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
$playerv
PlayerViewer 2.1.2
Connecting to [localhost:6665]
Available devices: localhost:6665
simulation:0     gazebo                                  unsupported
position2d:0     gazebo                                  ready
laser:0          gazebo                                  ready
playerc error   : timed out waiting for server reply to request
player:0:request:3
playerc error   : failed to get response
playerv : error in pv_dev_position2d.c
  libplayerc error: failed to get response
playerc error   : timed out waiting for server reply to request
position2d:0:request:1
playerv : error in pv_dev_position2d.c
  libplayerc error: timed out waiting for server reply to request
position2d:0:request:1


::NOTE
THAT:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- playerv successfully connects to player! (see the last line of the PLAYER
MESSAGE)
- The playerv error appears only when I try to subscribe a driver (I tried
to subscribe the position2d driver).
- The same libplayerc error occurs when I use c code.
- I have the same problem with a similar installation on a different PC.

Thanks in advance for the help!

- L -

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo