Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Hi,

I am not sure because I did not have time to test it, but I noticed in the code the following line may be wrong, this could be the reason you always get a constant for the range value.

double min_range = this->raysensor->GetRangeMax();

notice how 'min_range' variable gets the max range value from the function 'GetRangeMax()'


And is the plugin doing what is supposed to do? 'You should see the box move slowly towards the wall.' ?

Cheers, Andrei