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-2017, 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  /** Constructor */
36 
37  /** @name The data members
38  * @{ */
39 
40  /** The power or signal strength as sensed by the Wifi receiver (In
41  * percentage: [0-100]) */
42  double power;
43  /** The location of the sensing antenna on the robot coordinate framework */
45 
46  /** @} */
47 
48  void getSensorPose(mrpt::poses::CPose3D& out_sensorPose)
49  const override; // See base class docs
50  void setSensorPose(const mrpt::poses::CPose3D& newSensorPose)
51  override; // See base class docs
53  std::ostream& o) const override; // See base class docs
54 
55 }; // End of class def.
56 
57 } // End of namespace
58 } // End of namespace
59 
60 #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:41
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: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019