SkoltechRobotics / rplidar

Python module for RPLidar A1 and A2 rangefinder scanners
MIT License
187 stars 126 forks source link

What does it mean output of record_measurments.py ? #41

Closed durmusgulbahar closed 3 years ago

durmusgulbahar commented 3 years ago

I have data but what does [XXX] blocks mean in output.txt file from record_measurments.py ?

out

newpavlov commented 3 years ago

See iter_measurments docs. It should be strength of reflected light, though I am not sure why you get such uniform values.

durmusgulbahar commented 3 years ago

I found in iter_measures() function in rplidar.py file.

_Yields

    new_scan : bool
        True if measures belongs to a new scan
    quality : int
        Reflected laser pulse strength
    angle : float
        The measure heading angle in degree unit [0, 360)
    distance : float
        Measured object distance related to the sensor's rotation center.
        In millimeter unit. Set to 0 when measure is invalid.
    '''_