This is a wrapper for HokuyoLX
.
Constructor of the class.
Holds an array of readings. The missed readings are interpolated based on their neighbors.
returns x, y values for each reading.
filter
: If it should filter the missed readings.interpolate
: If it should interpolated the missed readings. Iffilter
is set toTrue
, then this argument is practically ignored. Iffilter=True
andinterpolate=False
, then the missed readings are removed from the returned arrays.
Two 1-D numpy arrays for x and y coordinates.
Opens a window and continuously plots the readings. This is a blocking function.
interpolate
: If the missed readings should be interpolated. Similar toHokuyo.xy(filter=False, interpolate)