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
mrpt::obs::CObservationWirelessPower
This represents a measurement of the wireless strength perceived by the robot.
Definition: CObservationWirelessPower.h:29
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
CPose2D.h
mrpt::obs::CObservationWirelessPower::setSensorPose
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
Definition: CObservationWirelessPower.cpp:65
mrpt::poses::CPose3D
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:88
mrpt::obs::CObservationWirelessPower::power
double power
The power or signal strength as sensed by the Wifi receiver (In percentage: [0-100])
Definition: CObservationWirelessPower.h:39
mrpt::obs::CObservationWirelessPower::getDescriptionAsText
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
Definition: CObservationWirelessPower.cpp:70
mrpt::obs::CObservationWirelessPower::getSensorPose
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
Definition: CObservationWirelessPower.cpp:60
CPose3D.h
CObservation.h
DEFINE_SERIALIZABLE
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Definition: CSerializable.h:102
mrpt::obs::CObservation
Declares a class that represents any robot's observation.
Definition: CObservation.h:43
mrpt::obs::CObservationWirelessPower::sensorPoseOnRobot
mrpt::poses::CPose3D sensorPoseOnRobot
The location of the sensing antenna on the robot coordinate framework.
Definition: CObservationWirelessPower.h:41
CSerializable.h



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST