public class RpLidarScan
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int[] |
distance |
static int |
N |
int[] |
quality |
long[] |
time
System.currentTimeMillis() when a new observation arrived
|
GrowQueue_I32 |
used
index of elements which were written to
|
Constructor and Description |
---|
RpLidarScan() |
Modifier and Type | Method and Description |
---|---|
void |
convertMeters(double[] meters) |
void |
convertMilliMeters(double[] meters) |
boolean |
isInvalid(int which) |
void |
reset() |
void |
set(RpLidarScan scan)
Copies 'scan' into this scan.
|
public static final int N
public int[] quality
public int[] distance
public long[] time
public GrowQueue_I32 used
public void set(RpLidarScan scan)
scan
- The scan which is to be copied.public void convertMeters(double[] meters)
public void convertMilliMeters(double[] meters)
public void reset()
public boolean isInvalid(int which)