Hokuyo Laser plugin only returns INF value reading.

asked 2020-01-30 19:32:36 -0600

chngdickson gravatar image

image description

Hokuyo laser only prints out inf laser scan values, while the laser is within distance. as stated in the gazebo ros laser reference REP117

image description

Idk what's going on, i've adjusted the inertias to a valid value. My parameters for the laser sensors are as such...


    <gazebo reference="base_laser_${number}_${location}">
        <sensor type="ray" name="laser">
            <pose>0 0 0 0 0 0</pose>
            <visualize>true</visualize>
            <update_rate>100</update_rate>
            <ray>
                <scan>
                    <horizontal>
                        <samples>10</samples>
                        <resolution>1</resolution>
                        <min_angle>-0.0174533</min_angle>
                        <max_angle>0.0174533</max_angle>
                    </horizontal>
                </scan>
                <range>
                    <min>${laser_xyz}</min>
                    <max>1.0</max>
                    <resolution>0.01</resolution>
                </range>
                <noise>
                    <type>gaussian</type>
                    <mean>0.0</mean>
                    <stddev>0.00005</stddev>
                </noise>
            </ray>

The behavior of my laser sensor going inf inf inf only happens when the model started moving. When it's static, the range shows up as such.

image description

Please any help would be appreciated.

edit retag flag offensive close merge delete