This class implements a TaskContext which construct an interface to the automated Laser initialising a link to the digital IO PCI cards. More...
#include <LaserScanner.hpp>
Public Member Functions | |
LaserScanner (std::string name) | |
Constructor of the class. | |
virtual bool | configureHook () |
virtual bool | startHook () |
virtual void | updateHook () |
virtual void | stopHook () |
Protected Attributes | |
RTT::Property< std::string > | port |
RTT::Property< int > | range_mode |
RTT::Property< double > | res_mode |
RTT::Property< std::string > | unit_mode |
RTT::WriteDataPort < std::vector< double > > | distances |
Dataport which contains the measurements. | |
RTT::WriteDataPort < std::vector< double > > | angles |
RTT::Event< void(int, double)> | distanceOutOfRange |
Event which is fired if the distance is out of range. |
This class implements a TaskContext which construct an interface to the automated Laser initialising a link to the digital IO PCI cards.
Definition at line 44 of file LaserScanner.hpp.
LaserScanner | ( | std::string | name | ) |
Constructor of the class.
name | name of the TaskContext | |
propertyfilename | location of the propertyfile. Default: cpf/LaserScanner.cpf |
Definition at line 32 of file LaserScanner.cpp.
References LaserScanner::distanceOutOfRange, and LaserScanner::distances.