problem with hokuyo in gazebo

asked 2018-03-07 01:51:53 -0500

burak_c gravatar image

updated 2018-03-07 06:53:56 -0500

Hamid Didari gravatar image

can anyone tell me why robot/hokuyo topic send wrong distances in gazebo? in a maze when my robot get closes enough to a wall should turn . but because of the wrong distance messages of hokuyo my robot cant stop turning

====7====

0.769121049841

0.816703678171

0.0617121162514 ** this distance is wrong

0.479985087117

3.5530843546

====7====

0.770311752458

0.818537082275

0.0625386255483 ** this distance is wrong

0.479922025651

3.55416968366

====7====

0.775553260744

0.819709319373

0.0562813294431 ** this distance is wrong

0.480257985741

3.59859489501

====7====

0.77652763774

0.821327915788

0.0526539800068 * this distance is wrong

0.479996601741

3.57409604788

edit retag flag offensive close merge delete

Comments

Isn't there some minimum value in the laserscan message? If there is you can filter those values smaller than min. value.

l4ncelot gravatar image l4ncelot  ( 2018-03-07 09:59:30 -0500 )edit

Have a look here. There should be range_min value provided by the model.

l4ncelot gravatar image l4ncelot  ( 2018-03-07 10:00:38 -0500 )edit