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