Main MRPT website > C++ reference for MRPT 1.9.9
CObservationWirelessPower.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef CObservationWirelessPower_H
10 #define CObservationWirelessPower_H
11 
13 #include <mrpt/obs/CObservation.h>
14 #include <mrpt/poses/CPose3D.h>
15 #include <mrpt/poses/CPose2D.h>
16 
17 namespace mrpt
18 {
19 namespace obs
20 {
21 /** This represents a measurement of the wireless strength perceived by the
22  * robot.
23  * The signal level is given as a percentage.
24  *
25  * \sa CObservation, mrpt::hwdrivers::CWirelessPower for a software sensor
26  * capable of reading this kind of observations.
27  * \ingroup mrpt_obs_grp
28  */
30 {
32 
33  public:
34  /** @name The data members
35  * @{ */
36 
37  /** The power or signal strength as sensed by the Wifi receiver (In
38  * percentage: [0-100]) */
39  double power{0};
40  /** The location of the sensing antenna on the robot coordinate framework */
42 
43  /** @} */
44 
45  void getSensorPose(mrpt::poses::CPose3D& out_sensorPose)
46  const override; // See base class docs
47  void setSensorPose(const mrpt::poses::CPose3D& newSensorPose)
48  override; // See base class docs
50  std::ostream& o) const override; // See base class docs
51 
52 }; // End of class def.
53 
54 } // End of namespace
55 } // End of namespace
56 
57 #endif
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
double power
The power or signal strength as sensed by the Wifi receiver (In percentage: [0-100]) ...
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
This represents a measurement of the wireless strength perceived by the robot.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:88
Declares a class that represents any robot&#39;s observation.
Definition: CObservation.h:43
mrpt::poses::CPose3D sensorPoseOnRobot
The location of the sensing antenna on the robot coordinate framework.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019