Class that represent a grid of landmarks that measure the distance and relative orientation of the 4-wheel robot.
- Examples
- pf-nonlinear-complex-example.cpp, and ukf-nonlinear-complex-example.cpp.
Definition at line 461 of file ukf-nonlinear-complex-example.cpp.
◆ vpLandmarksGrid() [1/2]
◆ vpLandmarksGrid() [2/2]
| vpLandmarksGrid::vpLandmarksGrid |
( |
const std::vector< vpLandmarkMeasurements > & | landmarks, |
|
|
const double & | distMaxAllowed ) |
|
inline |
◆ computePositionFromMeasurements()
| void vpLandmarksGrid::computePositionFromMeasurements |
( |
const vpColVector & | meas, |
|
|
double & | x, |
|
|
double & | y ) |
|
inline |
Compute the position that corresponds to a measurement. As the measurements can be noisy, we take the average position computed for each landmark individually.
- Parameters
-
| [in] | meas | The measurement vector. |
| [out] | x | The X-coordinate that corresponds to the measurement. |
| [out] | y | The Y-coordinate that corresponds to the measurement. |
- Examples
- pf-nonlinear-complex-example.cpp.
Definition at line 546 of file pf-nonlinear-complex-example.cpp.
Referenced by likelihood().
◆ likelihood()
◆ measureGT() [1/2]
◆ measureGT() [2/2]
Perfect measurement from each landmark of the range and relative orientation of the robot located at pos.
- Parameters
-
| [in] | pos | The actual position of the robot (pos[0]: x, pos[1]: y, pos[2] = heading). |
- Returns
- vpColVector n x ([0] the range [1] the relative orientation of the robot), where n is the number of landmarks.
Definition at line 507 of file pf-nonlinear-complex-example.cpp.
◆ measureWithNoise() [1/2]
◆ measureWithNoise() [2/2]
Noisy measurement from each landmark of the range and relative orientation that correspond to pos.
- Parameters
-
| [in] | pos | The actual position of the robot (pos[0]: x ; pos[1] = y ; pos[2] = heading). |
- Returns
- vpColVector n x ([0] the range [1] the relative orientation of the robot), where n is the number of landmarks.
Definition at line 526 of file pf-nonlinear-complex-example.cpp.
◆ state_to_measurement() [1/2]
◆ state_to_measurement() [2/2]