10 #ifndef CBoardENoses_H 11 #define CBoardENoses_H 75 std::vector<float> enose_poses_x,enose_poses_y,
enose_poses_z,enose_poses_yaw,enose_poses_pitch,enose_poses_roll;
83 void loadConfig_sensorSpecific(
101 bool setActiveChamber(
unsigned char chamber );
106 bool queryFirmwareVersion(
std::string &out_firmwareVersion );
121 virtual void initialize();
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
std::vector< float > enose_poses_z
OBSERVATION_T::Ptr getObservation(mrpt::obs::CSensoryFramePtr &observations, mrpt::obs::CObservationPtr &observation, bool priority_to_sf=true)
Given an mrpt::obs::CSensoryFrame and a mrpt::obs::CObservation pointer if a OBSERVATION_T type obser...
A communications serial port built as an implementation of a utils::CStream.
void setSerialPortBaud(unsigned int baud)
Set the serial port baud rate (default: 115200)
CInterfaceFTDI * m_stream_FTDI
FTDI comms pipe (when not in serial port mode)
std::string getSerialPort() const
This class allows loading and storing values and vectors of different types from a configuration text...
void setSerialPort(const std::string &port)
If not an empty string, will open that serial port, otherwise will try to open USB FTDI device "m_usb...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
A class for interfacing an e-Noses via a FTDI USB link.
Declares a class derived from "CObservation" that represents a set of readings from gas sensors...
GLsizei const GLchar ** string
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string m_usbSerialNumber
A copy of the device serial number (to open the USB FTDI chip)
unsigned int getSerialPortBaud() const
std::string m_COM_port
If not an empty string (default), will open that serial port, otherwise will try to open USB FTDI dev...
A definition of a CStream actually representing a USB connection to a FTDI chip.
mrpt::system::TTimeStamp initial_timestamp
unsigned int m_COM_baud
Default=115200.
CSerialPort * m_stream_SERIAL
Serial port comms.