Interface Name Error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Interface Name Error

Neostek
Hi all,
I'm a newbie in Gazebo/Player. My configuration is:

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

I'm using the pioneer2at.world.  I launch gazebo:
1) Gazebo
$gazebo pioneer2at.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

2) I launch Player:
$player gazebo.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

3) I launch playerv:
$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

The problem is when I click on "subscribe" on a driver (I've tried to launch every driver, without succeed).
I've already search about this problem but I haven't succeed to find a solution. I've only understood that it may be an interface name problem. Unfortunately, I didn't succeed to find a solution.
Can you help me?
Thanks a lot.  
Reply | Threaded
Open this post in threaded view
|

Re: Interface Name Error

ximengzhu
Hi Neostek and hi all,
I have the same problem. I'm wasting time and time on having a working copy of gazebo. I guess I have problems in the names of the interfaces but not able to find more informations. How do the names work?

And more in deep, is playerv the right test to check gazebo integrity? Is playerv working correctly?


Neostek wrote
Hi all,
I'm a newbie in Gazebo/Player. My configuration is:

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

I'm using the pioneer2at.world.  I launch gazebo:
1) Gazebo
$gazebo pioneer2at.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

2) I launch Player:
$player gazebo.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

3) I launch playerv:
$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

The problem is when I click on "subscribe" on a driver (I've tried to launch every driver, without succeed).
I've already search about this problem but I haven't succeed to find a solution. I've only understood that it may be an interface name problem. Unfortunately, I didn't succeed to find a solution.
Can you help me?
Thanks a lot.  
Reply | Threaded
Open this post in threaded view
|

Re: Interface Name Error

rawalc
hello all,

I am encountering the same problem too. It would be nice of you to reply to me at rawalc@gmail.com if any of you could find a solution to this problem.

I am using Gazebo 0.9 with Player 3.0.1 on Ubuntu 10.4

Thanks
Chetan

ximengzhu wrote
Hi Neostek and hi all,
I have the same problem. I'm wasting time and time on having a working copy of gazebo. I guess I have problems in the names of the interfaces but not able to find more informations. How do the names work?

And more in deep, is playerv the right test to check gazebo integrity? Is playerv working correctly?


Neostek wrote
Hi all,
I'm a newbie in Gazebo/Player. My configuration is:

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

I'm using the pioneer2at.world.  I launch gazebo:
1) Gazebo
$gazebo pioneer2at.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

2) I launch Player:
$player gazebo.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

3) I launch playerv:
$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

The problem is when I click on "subscribe" on a driver (I've tried to launch every driver, without succeed).
I've already search about this problem but I haven't succeed to find a solution. I've only understood that it may be an interface name problem. Unfortunately, I didn't succeed to find a solution.
Can you help me?
Thanks a lot.