15 namespace mrpt {
namespace srba {
16 namespace observations {
35 template <
class ARRAY>
63 template <
class ARRAY>
65 obs[0] = left_px.
x; obs[1] = left_px.
y;
66 obs[2] = right_px.
x; obs[3] = right_px.
y;
91 template <
class ARRAY>
93 obs[0] = pt.
x; obs[1] = pt.
y; obs[2] = pt.
z;
118 template <
class ARRAY>
120 obs[0] = pt.
x; obs[1] = pt.
y;
147 template <
class ARRAY>
175 template <
class ARRAY>
203 template <
class ARRAY>
205 obs[0]=
x; obs[1]=
y; obs[2]=
yaw;
231 template <
class ARRAY>
233 obs[0]=
x; obs[1]=
y; obs[2]=
z;
double range
Distance (in meters)
double yaw
Angle around +Z (in radians)
static const size_t OBS_DIMS
Each observation is a pair of coordinates (range,yaw)
A pair (x,y) of pixel coordinates (subpixel resolution).
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
The observation-specific data structure.
Observation = one monocular camera feature (the coordinates of one pixel)
double pitch
Angle around +Y (in radians)
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
mrpt::utils::TPixelCoordf px
mrpt::utils::TPixelCoordf left_px
static const size_t OBS_DIMS
Each observation is a pair of coordinates (x,y)
The observation-specific data structure.
double z
Displacement (in meters)
double range
Distance (in meters)
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
double roll
Angles (in radians)
double z
X,Y,Z coordinates.
The observation-specific data structure.
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
Structure to hold the parameters of a pinhole stereo camera model.
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
The observation-specific data structure.
mrpt::utils::TStereoCamera camera_calib
The observation-specific data structure.
Observation = XY coordinates of landmarks relative to the sensor.
Observation = XYZ coordinates of landmarks relative to the sensor.
double y
Displacement (in meters)
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
double yaw
Angle around +Z (in radians)
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
double yaw
Angle around +Z (in radians)
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::utils::TCamera camera_calib
The observation-specific data structure.
Observation = Relative SE(3) poses (x,y,z,yaw,pitch,roll)
Observation = Relative SE(2) poses (x,y,yaw)
The observation-specific data structure.
static const size_t OBS_DIMS
Each observation is a vector (x,y,z,yaw,pitch,roll)
static const size_t OBS_DIMS
Each observation is one pixel (px,py)
static const size_t OBS_DIMS
Each observation is a triplet of coordinates (range,yaw,pitch)
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
Observation = one stereo camera feature (the coordinates of two pixels)
static const size_t OBS_DIMS
Each observation is a pair of pixels (px_l,py_l,px_r,py_r)
static const size_t OBS_DIMS
Each observation is a triplet (x,y,yaw)
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
static const size_t OBS_DIMS
Each observation is a triplet of coordinates (x,y,z)
mrpt::utils::TPixelCoordf right_px
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...
The observation-specific data structure.
Structure to hold the parameters of a pinhole camera model.
Observation = Range+Bearing (yaw & pitch) of landmarks relative to the sensor.
void getAsArray(ARRAY &obs) const
Converts this observation into a plain array of its parameters.
Observation = Range+Bearing (yaw) of landmarks relative to the sensor, for planar environments only...
The type "TObservationParams" must be declared in each "observations::TYPE" to hold sensor-specific p...