INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

gbxsickacfr::Driver Class Reference

SICK driver. More...

#include <driver.h>

List of all members.

Public Member Functions

 Driver (const Config &config, gbxutilacfr::Tracer &tracer, gbxutilacfr::Status &status)
void read (Data &data)


Detailed Description

SICK driver.

Constructor & Destructor Documentation

gbxsickacfr::Driver::Driver ( const Config config,
gbxutilacfr::Tracer tracer,
gbxutilacfr::Status status 
)

Constructor

gbxutilacfr::Tracer and gbxutilacfr::Status allow (human-readable and machine-readable respectively) external monitorining of the driver's internal state.

References gbxutilacfr::Tracer::debug(), gbxsickacfr::Config::device, gbxsickacfr::Config::isValid(), gbxsickacfr::Config::toString(), and gbxutilacfr::Tracer::warning().


Member Function Documentation

void gbxsickacfr::Driver::read ( Data data  ) 

Blocks till new data is available, but times out (and throws a gbxutilacfr::Exception) if it has waited an abnormally long time without receiving a scan.

The ranges and intensities in 'data' are expected to have been pre-sized correctly.

Throws gbxutilacfr::Exception's on un-recoverable faults.

References gbxsickacfr::Data::haveWarnings, gbxsickacfr::Data::intensities, gbxsickacfr::Data::ranges, gbxsickacfr::Data::timeStampSec, gbxsickacfr::Data::timeStampUsec, and gbxsickacfr::Data::warnings.


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

Generated for GearBox by  doxygen 1.4.5