I didn't mean changing the max range of the sonars (I guess that sonarMaxRange would do that), but directly changing the readings whenever I want during run time. That is, do the same as the Truth Widget is doing to the robot position in order to change it.

I hope this explanation is clearear now.

Thanks,

   Didac

Jordi wrote:

I'm using Gazebo just to visualize the motion of the robot (I'm not
using it as the simulator) and I've been using the truth widget to
modify the robot's position. Now I was wondering if it is possible to
also modify the ranges detected by the sonar, so that the GUI can
display the values I want (not the ones given by the simulator).

Till GazeboXML is a reality, the sonar max range detected must be changed in the code and recompiled. It is hardcoded in the code, usually is a variable called sonarMaxRange in each model.
If it's what you meant (I'm not sure)

^_^/
Jordi Polo


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo



--
Didac Busquets i Font

Dept. d'Electronica, Informatica i Automatica
Institut d'Informà tica i Aplicacions
Edifici P-IV
Despatx 128
Universitat de Girona
Campus Montilivi
17071-Girona

Tel. (+34) 972.41.81.79
Fax. (+34) 972.41.80.98



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to