Hi Nate,

Fortunately, I guess the problem is fixed :)

I had first the configuration file attached below.
After that I tested your suggestion without success:

driver
(
name "gazebo"
provides ["position2d:0" "sonar:0"]
gz_id "robot1"
)

So I changed the original sonars section with:

driver
(
  name "gazebo"
  provides ["sonar:0"]
  gz_id "robot1"
)

gz_id "robot1" replacing the original gz_id "sonar1".
And now it seems that my client program
and the sonarobstacleavoid example runs properly.

I've upgraded this morning Gazebo to version 0.7.0, so I don't know
if this solution works with the previous version 0.6.0 (my original one).

Would you tell me what was wrong?
I'm pretty new in Gazebo.

Best regards,
Héctor.




# Desc: Player sample configuration file for controlling Gazebo devices
# Date: 18 Apr 2003
# CVS: $Id: gazebo.cfg,v 1.10 2005/04/15 18:08:24 gerkey Exp $

driver
(
  name "gazebo"
  provides ["simulation:0"]
  plugin "libgazeboplugin"
  server_id "default"
)

driver
(
  name "gazebo"
  provides ["position2d:0"]
  gz_id "robot1"
)

#driver
#(
#  name "gazebo"
#  provides ["power:0"]
#  gz_id "power1"
#)


driver
(
  name "gazebo"
  provides ["laser:0"]
  gz_id "laser1"
)

driver
(
  name "gazebo"
  provides ["sonar:0"]
  gz_id "sonar1"
)

_________________________________________________________________
Prodigy/MSN Search. Todo lo que buscas ahora más rapido  
http://search.t1msn.com.mx/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to