#include <SickLms200.h>
Public Types |
enum | BaudRate { BAUDRATE_9600BPS,
BAUDRATE_19200BPS,
BAUDRATE_38400BPS,
BAUDRATE_500000BPS
} |
enum | Measuring {
MEASURING_8M,
MEASURING_16M,
MEASURING_32M,
MEASURING_80M,
MEASURING_160M,
MEASURING_320M
} |
enum | Monitoring { MONITORING_CONTINUOUS,
MONITORING_SINGLE
} |
enum | Variant {
VARIANT_100_25,
VARIANT_100_50,
VARIANT_100_100,
VARIANT_180_50,
VARIANT_180_100
} |
Private Member Functions |
uint16_t | crc (const uint8_t *buf, const ::std::size_t &len) const |
::std::size_t | recv (uint8_t *buf, const ::std::size_t &len, const uint8_t &command) |
void | send (uint8_t *buf, const ::std::size_t &len) |
bool | waitAck () |
Member Enumeration Documentation
- Enumerator:
BAUDRATE_9600BPS |
9,600 bps.
|
BAUDRATE_19200BPS |
19,200 bps.
|
BAUDRATE_38400BPS |
38,400 bps.
|
BAUDRATE_500000BPS |
500,000 bps.
|
- Enumerator:
MEASURING_8M |
|
MEASURING_16M |
|
MEASURING_32M |
|
MEASURING_80M |
|
MEASURING_160M |
|
MEASURING_320M |
|
- Enumerator:
MONITORING_CONTINUOUS |
|
MONITORING_SINGLE |
|
- Enumerator:
VARIANT_100_25 |
Angle = 100 degrees, resolution = 0.25 degrees.
|
VARIANT_100_50 |
Angle = 100 degrees, resolution = 0.5 degrees.
|
VARIANT_100_100 |
Angle = 100 degrees, resolution = 1 degree.
|
VARIANT_180_50 |
Angle = 180 degrees, resolution = 0.5 degrees.
|
VARIANT_180_100 |
Angle = 180 degrees, resolution = 1 degree.
|
Constructor & Destructor Documentation
- Parameters
-
password | String with 8 characters comprising "0...9", "a...z", "A...Z", and "_". |
rl::hal::SickLms200::~SickLms200 |
( |
| ) |
|
|
virtual |
Member Function Documentation
void rl::hal::SickLms200::close |
( |
| ) |
|
|
virtual |
uint16_t rl::hal::SickLms200::crc |
( |
const uint8_t * |
buf, |
|
|
const ::std::size_t & |
len |
|
) |
| const |
|
private |
void rl::hal::SickLms200::dumpConfiguration |
( |
| ) |
|
void rl::hal::SickLms200::dumpStatus |
( |
| ) |
|
std::size_t rl::hal::SickLms200::getDistancesCount |
( |
| ) |
const |
|
virtual |
rl::math::Real rl::hal::SickLms200::getDistancesMaximum |
( |
const ::std::size_t & |
i | ) |
const |
|
virtual |
rl::math::Real rl::hal::SickLms200::getDistancesMinimum |
( |
const ::std::size_t & |
i | ) |
const |
|
virtual |
std::string rl::hal::SickLms200::getType |
( |
| ) |
|
void rl::hal::SickLms200::open |
( |
| ) |
|
|
virtual |
std::size_t rl::hal::SickLms200::recv |
( |
uint8_t * |
buf, |
|
|
const ::std::size_t & |
len, |
|
|
const uint8_t & |
command |
|
) |
| |
|
private |
void rl::hal::SickLms200::reset |
( |
| ) |
|
void rl::hal::SickLms200::send |
( |
uint8_t * |
buf, |
|
|
const ::std::size_t & |
len |
|
) |
| |
|
private |
void rl::hal::SickLms200::setBaudRate |
( |
const BaudRate & |
baudRate | ) |
|
void rl::hal::SickLms200::setMeasuring |
( |
const Measuring & |
measuring | ) |
|
void rl::hal::SickLms200::setMonitoring |
( |
const Monitoring & |
monitoring | ) |
|
void rl::hal::SickLms200::setVariant |
( |
const Variant & |
variant | ) |
|
void rl::hal::SickLms200::start |
( |
| ) |
|
|
virtual |
void rl::hal::SickLms200::step |
( |
| ) |
|
|
virtual |
void rl::hal::SickLms200::stop |
( |
| ) |
|
|
virtual |
bool rl::hal::SickLms200::waitAck |
( |
| ) |
|
|
private |
Member Data Documentation
uint8_t rl::hal::SickLms200::configuration |
|
private |
uint8_t rl::hal::SickLms200::data[812] |
|
private |
::std::string rl::hal::SickLms200::password |
|
private |
Serial* rl::hal::SickLms200::serial |
|
private |
Variant rl::hal::SickLms200::variant |
|
private |
The documentation for this class was generated from the following files: