67 bool checkCRC(
const std::vector<unsigned char> &frame );
72 const std::string &iniSection );
101 bool sendCommand( uint8_t command, std::vector<unsigned char> &response );
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
An interface to a custom board which interfaces two SICK laser scanners.
mrpt::system::TTimeStamp m_timeStartTT
bool checkConnectionAndConnect()
Tries to connect to the USB device (if disconnected).
bool sendCommand(uint8_t command, std::vector< unsigned char > &response)
Send a command to the DLMS Board.
void loadConfig_sensorSpecific(const mrpt::utils::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
bool queryTimeStamp(mrpt::system::TTimeStamp &tstamp)
std::string m_usbSerialNumber
A copy of the device serial number (to open the USB FTDI chip)
virtual ~CBoardDLMS()
Destructor.
bool checkCRC(const std::vector< unsigned char > &frame)
virtual void initialize()
This method can or cannot be implemented in the derived class, depending on the need for it.
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
mrpt::poses::CPose3D m_mSensorPose
bool queryFirmwareVersion(std::string &out_firmwareVersion)
Query the firmware version on the device (can be used to test communications).
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
A definition of a CStream actually representing a USB connection to a FTDI chip.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
This class allows loading and storing values and vectors of different types from a configuration text...
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.