Robotics Library
0.7.0
|
Sick S300 safety laser scanner. More...
#include <SickS300.h>
Public Member Functions | |
SickS300 (const ::std::string &device="/dev/ttyS0", const Serial::BaudRate &baudRate=Serial::BAUDRATE_9600BPS) | |
virtual | ~SickS300 () |
void | close () |
::rl::math::Vector | getDistances () const |
::std::size_t | getDistancesCount () const |
::rl::math::Real | getDistancesMaximum (const ::std::size_t &i) const |
::rl::math::Real | getDistancesMinimum (const ::std::size_t &i) const |
::rl::math::Real | getResolution () const |
::std::size_t | getScanNumber () const |
::rl::math::Real | getStartAngle () const |
::rl::math::Real | getStopAngle () const |
::std::size_t | getTelegramNumber () const |
void | open () |
void | start () |
void | step () |
void | stop () |
Public Member Functions inherited from rl::hal::CyclicDevice | |
CyclicDevice (const ::std::chrono::nanoseconds &updateRate) | |
virtual | ~CyclicDevice () |
virtual ::std::chrono::nanoseconds | getUpdateRate () const |
Public Member Functions inherited from rl::hal::Device | |
Device () | |
virtual | ~Device () |
bool | isConnected () const |
bool | isRunning () const |
Public Member Functions inherited from rl::hal::Lidar | |
Lidar () | |
virtual | ~Lidar () |
Public Member Functions inherited from rl::hal::RangeSensor | |
RangeSensor () | |
virtual | ~RangeSensor () |
Private Member Functions | |
::std::uint16_t | crc (const ::std::uint8_t *buf, const ::std::size_t &len) const |
::std::size_t | recv (::std::uint8_t *buf) |
Private Attributes | |
::std::array< ::std::uint8_t, 2048 > | data |
Serial | serial |
Additional Inherited Members | |
Protected Member Functions inherited from rl::hal::Device | |
void | setConnected (const bool &connected) |
void | setRunning (const bool &running) |
Sick S300 safety laser scanner.
rl::hal::SickS300::SickS300 | ( | const ::std::string & | device = "/dev/ttyS0" , |
const Serial::BaudRate & | baudRate = Serial::BAUDRATE_9600BPS |
||
) |
|
virtual |
|
virtual |
Implements rl::hal::Device.
|
private |
|
virtual |
[out] | distances | [m] |
Implements rl::hal::RangeSensor.
|
virtual |
Implements rl::hal::RangeSensor.
|
virtual |
Implements rl::hal::RangeSensor.
|
virtual |
Implements rl::hal::RangeSensor.
|
virtual |
Implements rl::hal::Lidar.
std::size_t rl::hal::SickS300::getScanNumber | ( | ) | const |
|
virtual |
Implements rl::hal::Lidar.
|
virtual |
Implements rl::hal::Lidar.
std::size_t rl::hal::SickS300::getTelegramNumber | ( | ) | const |
|
virtual |
Implements rl::hal::Device.
|
private |
|
virtual |
Implements rl::hal::Device.
|
virtual |
Implements rl::hal::CyclicDevice.
|
virtual |
Implements rl::hal::Device.
|
private |
|
private |