Robotics Library
0.7.0
|
Schunk FPS-F5 flexible position sensor. More...
#include <SchunkFpsF5.h>
Public Member Functions | |
SchunkFpsF5 (const ::std::string &device="/dev/ttyS0") | |
virtual | ~SchunkFpsF5 () |
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 | getTemperature () const |
::rl::math::Real | getVoltage () const |
bool | isA () const |
bool | isArea () const |
bool | isB () const |
bool | isC () const |
bool | isClosed () const |
bool | isOpened () const |
bool | isReCalc () const |
bool | isRecord () const |
bool | isUpdate () 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::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, const ::std::size_t &len, const ::std::uint8_t &command) |
void | send (::std::uint8_t *buf, const ::std::size_t &len) |
Private Attributes | |
bool | a |
bool | area |
bool | b |
bool | c |
bool | closed |
::std::set< ::std::pair< ::rl::math::Real, ::rl::math::Real > > | fulcrums |
::rl::math::Real | interpolated |
bool | opened |
bool | reCalc |
bool | record |
Serial | serial |
::rl::math::Real | temperature |
bool | update |
::rl::math::Real | value |
::rl::math::Real | voltage |
Additional Inherited Members | |
Protected Member Functions inherited from rl::hal::Device | |
void | setConnected (const bool &connected) |
void | setRunning (const bool &running) |
Schunk FPS-F5 flexible position sensor.
rl::hal::SchunkFpsF5::SchunkFpsF5 | ( | const ::std::string & | device = "/dev/ttyS0" | ) |
|
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.
rl::math::Real rl::hal::SchunkFpsF5::getTemperature | ( | ) | const |
rl::math::Real rl::hal::SchunkFpsF5::getVoltage | ( | ) | const |
bool rl::hal::SchunkFpsF5::isA | ( | ) | const |
bool rl::hal::SchunkFpsF5::isArea | ( | ) | const |
bool rl::hal::SchunkFpsF5::isB | ( | ) | const |
bool rl::hal::SchunkFpsF5::isC | ( | ) | const |
bool rl::hal::SchunkFpsF5::isClosed | ( | ) | const |
bool rl::hal::SchunkFpsF5::isOpened | ( | ) | const |
bool rl::hal::SchunkFpsF5::isReCalc | ( | ) | const |
bool rl::hal::SchunkFpsF5::isRecord | ( | ) | const |
bool rl::hal::SchunkFpsF5::isUpdate | ( | ) | const |
|
virtual |
Implements rl::hal::Device.
|
private |
|
private |
|
virtual |
Implements rl::hal::Device.
|
virtual |
Implements rl::hal::CyclicDevice.
|
virtual |
Implements rl::hal::Device.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |