Go to the documentation of this file.
62 void connect(std::string host,
int port = 2111);
void login()
Log into LMS1xx unit. Increase privilege level, giving ability to change device configuration.
scanOutputRange getScanOutputRange() const
Get current output range configuration. Get output range configuration :
Structure containing single scan message.
void startDevice()
The device is returned to the measurement mode after configuration.
void stopMeas()
Stop measurements. After receiving this command LMS1xx unit stop spinning laser and measuring.
void saveConfig()
Save data permanently. Parameters are saved in the EEPROM of the LMS and will also be available after...
status_t queryStatus()
Get current status of LMS1xx device.
void setScanCfg(const scanCfg &cfg)
Set scan configuration. Get scan configuration :
void disconnect()
Disconnect from LMS1xx device.
static void parseScanData(char *buf, scanData *data)
Receive single scan message.
bool isConnected()
Get status of connection.
void startMeas()
Start measurements. After receiving this command LMS1xx unit starts spinning laser and measuring.
Class responsible for communicating with LMS1xx device.
Structure containing scan data configuration.
void setScanDataCfg(const scanDataCfg &cfg)
Set scan data configuration. Set format of scan message returned by device.
scanCfg getScanCfg() const
Get current scan configuration. Get scan configuration :
void scanContinous(int start)
Start or stop continuous data acquisition. After reception of this command device start or stop conti...
Structure containing scan configuration.
void connect(std::string host, int port=2111)
Connect to LMS1xx.
bool getScanData(scanData *scan_data)
Receive single scan message.
lms1xx
Author(s): Konrad Banachowicz
autogenerated on Wed Mar 2 2022 00:28:01