#include <SickS300.hpp>
Public Member Functions | |
bool | close (Errors &error) |
bool | getConfiguration (LaserScannerConfiguration &configuration, Errors &error) |
bool | getData (std::vector< double > &ranges_, std::vector< double > &rangeAngles_, std::vector< double > &intensities_, unsigned int ×tamp_, unsigned int &timeNow_, 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 |
unsigned int | timeNowBufferOne |
unsigned int | timeNowBufferTwo |
unsigned int | timestampBufferOne |
unsigned int | timestampBufferTwo |
Static Private Attributes | |
static const unsigned int | numberOfScanPoints = 541 |
static const unsigned int | timeTillNextPollForData = 20 |
Definition at line 23 of file SickS300.hpp.
Definition at line 5 of file SickS300.cpp.
brics_oodl::SickS300::~SickS300 | ( | ) | [virtual] |
Definition at line 30 of file SickS300.cpp.
bool brics_oodl::SickS300::close | ( | Errors & | error | ) |
Definition at line 122 of file SickS300.cpp.
bool brics_oodl::SickS300::getConfiguration | ( | LaserScannerConfiguration & | configuration, |
Errors & | error | ||
) |
Definition at line 159 of file SickS300.cpp.
bool brics_oodl::SickS300::getData | ( | std::vector< double > & | ranges_, |
std::vector< double > & | rangeAngles_, | ||
std::vector< double > & | intensities_, | ||
unsigned int & | timestamp_, | ||
unsigned int & | timeNow_, | ||
Errors & | error | ||
) |
Definition at line 184 of file SickS300.cpp.
bool brics_oodl::SickS300::open | ( | Errors & | error | ) |
Definition at line 40 of file SickS300.cpp.
void brics_oodl::SickS300::receiveScan | ( | ) | [private] |
Definition at line 232 of file SickS300.cpp.
bool brics_oodl::SickS300::resetDevice | ( | Errors & | error | ) |
Definition at line 225 of file SickS300.cpp.
bool brics_oodl::SickS300::setConfiguration | ( | const LaserScannerConfiguration & | configuration, |
Errors & | error | ||
) |
Definition at line 141 of file SickS300.cpp.
std::vector<double> brics_oodl::SickS300::angleBufferOne [private] |
Definition at line 58 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::angleBufferTwo [private] |
Definition at line 64 of file SickS300.hpp.
Definition at line 50 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::distanceBufferOne [private] |
Definition at line 56 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::distanceBufferTwo [private] |
Definition at line 62 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::intensityBufferOne [private] |
Definition at line 60 of file SickS300.hpp.
std::vector<double> brics_oodl::SickS300::intensityBufferTwo [private] |
Definition at line 66 of file SickS300.hpp.
bool brics_oodl::SickS300::isConnected [private] |
Definition at line 52 of file SickS300.hpp.
boost::mutex brics_oodl::SickS300::mutexData1 [private] |
Definition at line 84 of file SickS300.hpp.
boost::mutex brics_oodl::SickS300::mutexData2 [private] |
Definition at line 86 of file SickS300.hpp.
boost::mutex brics_oodl::SickS300::mutexSickS300 [private] |
Definition at line 88 of file SickS300.hpp.
volatile bool brics_oodl::SickS300::newDataFlagOne [private] |
Definition at line 78 of file SickS300.hpp.
volatile bool brics_oodl::SickS300::newDataFlagTwo [private] |
Definition at line 80 of file SickS300.hpp.
const unsigned int brics_oodl::SickS300::numberOfScanPoints = 541 [static, private] |
Definition at line 45 of file SickS300.hpp.
ScannerSickS300* brics_oodl::SickS300::sickS300 [private] |
Definition at line 54 of file SickS300.hpp.
volatile bool brics_oodl::SickS300::stopThread [private] |
Definition at line 76 of file SickS300.hpp.
boost::thread_group brics_oodl::SickS300::threads [private] |
Definition at line 82 of file SickS300.hpp.
unsigned int brics_oodl::SickS300::timeNowBufferOne [private] |
Definition at line 70 of file SickS300.hpp.
unsigned int brics_oodl::SickS300::timeNowBufferTwo [private] |
Definition at line 74 of file SickS300.hpp.
unsigned int brics_oodl::SickS300::timestampBufferOne [private] |
Definition at line 68 of file SickS300.hpp.
unsigned int brics_oodl::SickS300::timestampBufferTwo [private] |
Definition at line 72 of file SickS300.hpp.
const unsigned int brics_oodl::SickS300::timeTillNextPollForData = 20 [static, private] |
Definition at line 48 of file SickS300.hpp.