#include <SickS300.hpp>
Public Member Functions | |
bool | close (Errors &error) |
bool | getConfiguration (LaserScannerConfiguration &configuration, Errors &error) |
bool | getData (LaserScannerDataWithIntensities &data, Errors &error) |
bool | getData (LaserScannerData &data, Errors &error) |
bool | open (Errors &error) |
bool | resetDevice (Errors &error) |
bool | setConfiguration (const LaserScannerConfiguration &configuration, Errors &error) |
SickS300 () | |
virtual | ~SickS300 () |
Private Member Functions | |
void | receiveScan () |
Private Attributes | |
std::vector< double > | angleBufferOne |
std::vector< double > | angleBufferTwo |
LaserScannerConfiguration * | config |
std::vector< double > | distanceBufferOne |
std::vector< double > | distanceBufferTwo |
std::vector< double > | intensityBufferOne |
std::vector< double > | intensityBufferTwo |
bool | isConnected |
boost::mutex | mutexData1 |
boost::mutex | mutexData2 |
boost::mutex | mutexSickS300 |
volatile bool | newDataFlagOne |
volatile bool | newDataFlagTwo |
ScannerSickS300 * | sickS300 |
volatile bool | stopThread |
boost::thread_group | threads |
Static Private Attributes | |
static const unsigned int | numberOfScanPoints = 541 |
static const unsigned int | timeTillNextPollForData = 20 |
Definition at line 21 of file SickS300.hpp.
brics_oodl::SickS300::SickS300 | ( | ) |
virtual brics_oodl::SickS300::~SickS300 | ( | ) | [virtual] |
bool brics_oodl::SickS300::close | ( | Errors & | error | ) | [virtual] |
Implements brics_oodl::LaserScanner.
bool brics_oodl::SickS300::getConfiguration | ( | LaserScannerConfiguration & | configuration, | |
Errors & | error | |||
) | [virtual] |
Implements brics_oodl::LaserScanner.
bool brics_oodl::SickS300::getData | ( | LaserScannerDataWithIntensities & | data, | |
Errors & | error | |||
) |
bool brics_oodl::SickS300::getData | ( | LaserScannerData & | data, | |
Errors & | error | |||
) | [virtual] |
Implements brics_oodl::LaserScanner.
bool brics_oodl::SickS300::open | ( | Errors & | error | ) | [virtual] |
Implements brics_oodl::LaserScanner.
void brics_oodl::SickS300::receiveScan | ( | ) | [private] |
bool brics_oodl::SickS300::resetDevice | ( | Errors & | error | ) | [virtual] |
Implements brics_oodl::LaserScanner.
bool brics_oodl::SickS300::setConfiguration | ( | const LaserScannerConfiguration & | configuration, | |
Errors & | error | |||
) | [virtual] |
Implements brics_oodl::LaserScanner.
std::vector<double> brics_oodl::SickS300::angleBufferOne [private] |
Definition at line 52 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::angleBufferTwo [private] |
Definition at line 58 of file SickS300.hpp.
Definition at line 44 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::distanceBufferOne [private] |
Definition at line 50 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::distanceBufferTwo [private] |
Definition at line 56 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::intensityBufferOne [private] |
Definition at line 54 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::intensityBufferTwo [private] |
Definition at line 60 of file SickS300.hpp.
bool brics_oodl::SickS300::isConnected [private] |
Definition at line 46 of file SickS300.hpp.
boost::mutex brics_oodl::SickS300::mutexData1 [private] |
Definition at line 70 of file SickS300.hpp.
boost::mutex brics_oodl::SickS300::mutexData2 [private] |
Definition at line 72 of file SickS300.hpp.
boost::mutex brics_oodl::SickS300::mutexSickS300 [private] |
Definition at line 74 of file SickS300.hpp.
volatile bool brics_oodl::SickS300::newDataFlagOne [private] |
Definition at line 64 of file SickS300.hpp.
volatile bool brics_oodl::SickS300::newDataFlagTwo [private] |
Definition at line 66 of file SickS300.hpp.
const unsigned int brics_oodl::SickS300::numberOfScanPoints = 541 [static, private] |
Definition at line 39 of file SickS300.hpp.
ScannerSickS300* brics_oodl::SickS300::sickS300 [private] |
Definition at line 48 of file SickS300.hpp.
volatile bool brics_oodl::SickS300::stopThread [private] |
Definition at line 62 of file SickS300.hpp.
boost::thread_group brics_oodl::SickS300::threads [private] |
Definition at line 68 of file SickS300.hpp.
const unsigned int brics_oodl::SickS300::timeTillNextPollForData = 20 [static, private] |
Definition at line 42 of file SickS300.hpp.