Go to the documentation of this file.
55 void setNet(std::string ssid_, std::string guid_);
60 const std::string& section)
override;
This represents a measurement of the wireless strength perceived by the robot.
int GetPower()
Gets the power of a given network.
Contains classes for various device interfaces.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
This class implements a wireless power probe.
std::vector< std::string > ListNetworks()
Gets a list of the networks available for an interface.
std::vector< std::string > ListInterfaces()
Gets a list of the interfaces.
void setNet(std::string ssid_, std::string guid_)
Set the SSID and GUID of the target network.
void * hClient
Handle to the WLAN server (Windows)
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,...
This class allows loading and storing values and vectors of different types from a configuration text...
bool getObservation(mrpt::obs::CObservationWirelessPower &outObservation)
Gets the power of a given network as a timestamped observation NOTE: Deprecated, use getObservations ...
~CWirelessPower() override=default
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
void doProcess() override
This method will be invoked at a minimum rate of "process_rate" (Hz)
std::string ssid
SSID of the WiFi network.
CWirelessPower()
Default constructor.
std::string guid
GUID of the WiFi interface.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 17:54:30 UTC 2020 | |