public class RPLidarA1 extends java.lang.Object implements RPLidarProvider
Modifier and Type | Field and Description |
---|---|
private RPLidarProvider |
rpLidarProvider |
private java.lang.String |
USBPort |
SCAN_DEGREES
Constructor and Description |
---|
RPLidarA1(java.lang.String USBPort) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(RPLidarProviderListener listener) |
void |
close() |
void |
init() |
void |
removeListener(RPLidarProviderListener listener) |
Scan |
scan() |
private final java.lang.String USBPort
private final RPLidarProvider rpLidarProvider
public void init() throws RPLidarA1ServiceException
init
in interface RPLidarProvider
RPLidarA1ServiceException
public Scan scan() throws RPLidarA1ServiceException
scan
in interface RPLidarProvider
RPLidarA1ServiceException
public void close() throws RPLidarA1ServiceException
close
in interface RPLidarProvider
RPLidarA1ServiceException
public void addListener(RPLidarProviderListener listener)
addListener
in interface RPLidarProvider
public void removeListener(RPLidarProviderListener listener)
removeListener
in interface RPLidarProvider