#include <LeuzeRs4.h>
|
uint8_t | crc (const uint8_t *buf, const ::std::size_t &len) const |
|
::std::size_t | recv (uint8_t *buf, const ::std::size_t &len) |
|
void | send (uint8_t *buf, const ::std::size_t &len) |
|
◆ BaudRate
Enumerator |
---|
BAUDRATE_4800BPS | 4,800 bps.
|
BAUDRATE_9600BPS | 9,600 bps.
|
BAUDRATE_19200BPS | 19,200 bps.
|
BAUDRATE_38400BPS | 38,400 bps.
|
BAUDRATE_57600BPS | 57,600 bps.
|
BAUDRATE_115200BPS | 115,200 bps.
|
BAUDRATE_345600BPS | 345,600 bps.
|
BAUDRATE_625000BPS | 625,000 bps.
|
◆ LeuzeRs4()
rl::hal::LeuzeRs4::LeuzeRs4 |
( |
const ::std::string & |
device = "/dev/ttyS0" , |
|
|
const BaudRate & |
baudRate = BAUDRATE_57600BPS , |
|
|
const ::std::string & |
password = "ROD4LE" |
|
) |
| |
- Parameters
-
password | String with 8 characters. |
◆ ~LeuzeRs4()
rl::hal::LeuzeRs4::~LeuzeRs4 |
( |
| ) |
|
|
virtual |
◆ close()
void rl::hal::LeuzeRs4::close |
( |
| ) |
|
|
virtual |
◆ crc()
uint8_t rl::hal::LeuzeRs4::crc |
( |
const uint8_t * |
buf, |
|
|
const ::std::size_t & |
len |
|
) |
| const |
|
private |
◆ getBaudRate()
◆ getDistances()
◆ getDistancesCount()
std::size_t rl::hal::LeuzeRs4::getDistancesCount |
( |
| ) |
const |
|
virtual |
◆ getDistancesMaximum()
rl::math::Real rl::hal::LeuzeRs4::getDistancesMaximum |
( |
const ::std::size_t & |
i | ) |
const |
|
virtual |
◆ getDistancesMinimum()
rl::math::Real rl::hal::LeuzeRs4::getDistancesMinimum |
( |
const ::std::size_t & |
i | ) |
const |
|
virtual |
◆ getResolution()
◆ getStartAngle()
◆ getStopAngle()
◆ open()
void rl::hal::LeuzeRs4::open |
( |
| ) |
|
|
virtual |
◆ recv()
std::size_t rl::hal::LeuzeRs4::recv |
( |
uint8_t * |
buf, |
|
|
const ::std::size_t & |
len |
|
) |
| |
|
private |
◆ reset()
void rl::hal::LeuzeRs4::reset |
( |
| ) |
|
◆ send()
void rl::hal::LeuzeRs4::send |
( |
uint8_t * |
buf, |
|
|
const ::std::size_t & |
len |
|
) |
| |
|
private |
◆ start()
void rl::hal::LeuzeRs4::start |
( |
| ) |
|
|
virtual |
◆ step()
void rl::hal::LeuzeRs4::step |
( |
| ) |
|
|
virtual |
◆ stop()
void rl::hal::LeuzeRs4::stop |
( |
| ) |
|
|
virtual |
◆ baudRate
◆ data
uint8_t rl::hal::LeuzeRs4::data[1099] |
|
private |
◆ desired
◆ far1
bool rl::hal::LeuzeRs4::far1 |
|
private |
◆ far2
bool rl::hal::LeuzeRs4::far2 |
|
private |
◆ fn1Fn2
bool rl::hal::LeuzeRs4::fn1Fn2 |
|
private |
◆ near1
bool rl::hal::LeuzeRs4::near1 |
|
private |
◆ near2
bool rl::hal::LeuzeRs4::near2 |
|
private |
◆ password
::std::string rl::hal::LeuzeRs4::password |
|
private |
◆ serial
Serial* rl::hal::LeuzeRs4::serial |
|
private |
◆ startIndex
uint16_t rl::hal::LeuzeRs4::startIndex |
|
private |
◆ stepSize
uint16_t rl::hal::LeuzeRs4::stepSize |
|
private |
◆ stopIndex
uint16_t rl::hal::LeuzeRs4::stopIndex |
|
private |
◆ timer
◆ type
uint16_t rl::hal::LeuzeRs4::type |
|
private |
The documentation for this class was generated from the following files: