Main MRPT website > C++ reference for MRPT 1.9.9
CObservation6DFeatures.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 CObservation6DFeatures_H
10 #define CObservation6DFeatures_H
11 
13 #include <mrpt/obs/CObservation.h>
14 #include <mrpt/poses/CPose3D.h>
16 
17 namespace mrpt
18 {
19 namespace obs
20 {
21 /** An observation of one or more "features" or "objects", possibly identified
22  * with a unique ID, whose relative SE(3) pose is observed with respect to the
23  * sensor.
24  * The list of features is stored in \a sensedFeatures
25  * \sa CObservation
26  * \ingroup mrpt_obs_grp
27  */
29 {
31  public:
32  /** Default ctor */
34 
35  /** Information about the sensor */
37 
38  /** Each one of the measurements */
39  struct TMeasurement
40  {
41  /** The observed feature SE(3) pose with respect to the sensor */
43  /** The feature ID, or INVALID_LANDMARK_ID if unidentified (default) */
45  /** The inverse of the observation covariance matrix (default:all zeros)
46  */
48 
49  /** Ctor with default values */
50  TMeasurement();
51 
52  MRPT_MAKE_ALIGNED_OPERATOR_NEW // Required because we contain Eigen
53  // matrices
54  };
55  /** The list of observed features */
57 
58  /** The pose of the sensor on the robot/vehicle */
60 
61  void getSensorPose(mrpt::poses::CPose3D& out_sensorPose)
62  const override; // See base class docs.
63  void setSensorPose(const mrpt::poses::CPose3D& newSensorPose)
64  override; // See base class docs.
66  std::ostream& o) const override; // See base class docs
67 
68 }; // End of class def.
69 
70 } // End of namespace
71 } // End of namespace
72 
73 #endif
mrpt::obs::CObservation6DFeatures::CObservation6DFeatures
CObservation6DFeatures()
Default ctor.
Definition: CObservation6DFeatures.cpp:24
mrpt::obs::CObservation6DFeatures::sensorPose
mrpt::poses::CPose3D sensorPose
The pose of the sensor on the robot/vehicle.
Definition: CObservation6DFeatures.h:59
mrpt::obs::CObservation6DFeatures::sensedFeatures
mrpt::aligned_std_deque< TMeasurement > sensedFeatures
The list of observed features.
Definition: CObservation6DFeatures.h:56
mrpt::obs::CObservation6DFeatures::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: CObservation6DFeatures.cpp:87
mrpt::aligned_std_deque
std::deque< T, mrpt::aligned_allocator_cpp11< T > > aligned_std_deque
Definition: aligned_std_deque.h:15
mrpt::obs::CObservation6DFeatures::TMeasurement::pose
mrpt::poses::CPose3D pose
The observed feature SE(3) pose with respect to the sensor.
Definition: CObservation6DFeatures.h:42
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
mrpt::obs::CObservation6DFeatures::getSensorPose
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
Definition: CObservation6DFeatures.cpp:77
mrpt::obs::CObservation6DFeatures::maxSensorDistance
float maxSensorDistance
Definition: CObservation6DFeatures.h:36
mrpt::obs::CObservation6DFeatures::setSensorPose
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
Definition: CObservation6DFeatures.cpp:82
aligned_std_deque.h
mrpt::poses::CPose3D
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:88
mrpt::obs::CObservation6DFeatures
An observation of one or more "features" or "objects", possibly identified with a unique ID,...
Definition: CObservation6DFeatures.h:28
mrpt::obs::CObservation6DFeatures::TMeasurement
Each one of the measurements.
Definition: CObservation6DFeatures.h:39
mrpt::math::CMatrixFixedNumeric
A numeric matrix of compile-time fixed size.
Definition: CMatrixFixedNumeric.h:40
CPose3D.h
int32_t
__int32 int32_t
Definition: rptypes.h:46
mrpt::obs::CObservation6DFeatures::minSensorDistance
float minSensorDistance
Information about the sensor.
Definition: CObservation6DFeatures.h:36
mrpt::obs::CObservation6DFeatures::TMeasurement::inf_matrix
mrpt::math::CMatrixDouble66 inf_matrix
The inverse of the observation covariance matrix (default:all zeros)
Definition: CObservation6DFeatures.h:47
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::CObservation6DFeatures::TMeasurement::TMeasurement
TMeasurement()
Ctor with default values.
Definition: CObservation6DFeatures.cpp:29
mrpt::obs::CObservation
Declares a class that represents any robot's observation.
Definition: CObservation.h:43
MRPT_MAKE_ALIGNED_OPERATOR_NEW
#define MRPT_MAKE_ALIGNED_OPERATOR_NEW
Put this macro inside any class with members that require {16,32,64}-byte memory alignment (e....
Definition: aligned_allocator.h:90
CSerializable.h
mrpt::obs::CObservation6DFeatures::TMeasurement::id
int32_t id
The feature ID, or INVALID_LANDMARK_ID if unidentified (default)
Definition: CObservation6DFeatures.h:44



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