Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
brics_oodl::SickS300 Class Reference

#include <SickS300.hpp>

List of all members.

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 &timestamp_, 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
LaserScannerConfigurationconfig
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
ScannerSickS300sickS300
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

Detailed Description

Definition at line 23 of file SickS300.hpp.


Constructor & Destructor Documentation

Definition at line 5 of file SickS300.cpp.

Definition at line 30 of file SickS300.cpp.


Member Function Documentation

Definition at line 122 of file SickS300.cpp.

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.

Definition at line 40 of file SickS300.cpp.

Definition at line 232 of file SickS300.cpp.

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.


Member Data Documentation

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.

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.

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.

Definition at line 70 of file SickS300.hpp.

Definition at line 74 of file SickS300.hpp.

Definition at line 68 of file SickS300.hpp.

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.


The documentation for this class was generated from the following files:


cob_sick_s300
Author(s): Florian Weisshardt
autogenerated on Sun Oct 5 2014 23:05:19