53 std::unique_ptr<mrpt::comms::CServerTCPSocket>
server;
57 std::unique_ptr<mrpt::comms::CClientTCPSocket>
client;
89 const std::string& section)
override;
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
CImpinjRFID()
Default constructor.
This class implements an interface to an Impinj RFID reader.
Contains classes for various device interfaces.
std::unique_ptr< mrpt::comms::CClientTCPSocket > client
Client socket (handles the connection to the client)
bool connected
Connection status.
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string §ion) override
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see config::CConfigFileBase and derived classes)
std::string IPm
IP of the module (usually 127.0.0.1)
This class allows loading and storing values and vectors of different types from a configuration text...
void initialize() override
This method can or cannot be implemented in the derived class, depending on the need for it...
std::string driver_path
Driver executable path.
void startDriver()
start the external driver
float pose_x_1
Poses (Antenna 1)
static void dummy_startDriver(CImpinjRFID *o)
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
float pose_x_2
Poses (Antenna 2)
void connect()
Connect to the reader.
bool getObservation(mrpt::obs::CObservationRFID &obs)
Gets the information of the tags as a timestamped observation NOTE: Deprecated, use getObservations i...
std::unique_ptr< mrpt::comms::CServerTCPSocket > server
Server socket (listens for the incoming connection)
void doProcess() override
This method will be invoked at a minimum rate of "process_rate" (Hz)
std::string reader_name
Reader name.
This represents one or more RFID tags observed by a receiver.
void closeReader()
Close the connection to the reader.