![]() |
Visual Servoing Platform version 3.7.0
|
Public Member Functions | |
| vpLandmarksGrid (const std::vector< vpLandmarkMeasurements > &landmarks) | |
| vpColVector | state_to_measurement (const vpColVector &chi) |
| vpColVector | measureGT (const vpColVector &pos) |
| vpColVector | measureWithNoise (const vpColVector &pos) |
| vpLandmarksGrid (const std::vector< vpLandmarkMeasurements > &landmarks, const double &distMaxAllowed) | |
| vpColVector | state_to_measurement (const vpColVector &particle) |
| vpColVector | measureGT (const vpColVector &pos) |
| vpColVector | measureWithNoise (const vpColVector &pos) |
| void | computePositionFromMeasurements (const vpColVector &meas, double &x, double &y) |
| double | likelihood (const vpColVector &particle, const vpColVector &meas) |
Class that represent a grid of landmarks that measure the distance and relative orientation of the 4-wheel robot.
Definition at line 461 of file ukf-nonlinear-complex-example.cpp.
|
inline |
Construct a new vpLandmarksGrid object.
| landmarks | The list of landmarks forming the grid. |
Definition at line 469 of file ukf-nonlinear-complex-example.cpp.
|
inline |
Construct a new vpLandmarksGrid object.
| [in] | landmarks | The list of landmarks forming the grid. |
| [in] | distMaxAllowed | Maximum distance allowed for the likelihood computation. |
Definition at line 472 of file pf-nonlinear-complex-example.cpp.
|
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.
| [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. |
Definition at line 546 of file pf-nonlinear-complex-example.cpp.
Referenced by likelihood().
|
inline |
Compute the likelihood of a particle (value between 0. and 1.) knowing the measurements. The likelihood is computed using a Gaussian function that penalizes a particle whose position is "far" from the average position computed from the landmarks measurement.
| [in] | particle | The particle state. |
| [in] | meas | The measurements. |
Definition at line 572 of file pf-nonlinear-complex-example.cpp.
References computePositionFromMeasurements(), and likelihood().
Referenced by likelihood().
|
inline |
Perfect measurement from each landmark of the range and relative orientation of the robot located at pos.
| [in] | pos | The actual position of the robot (pos[0]: x, pos[1]: y, pos[2] = heading). |
Definition at line 499 of file ukf-nonlinear-complex-example.cpp.
|
inline |
Perfect measurement from each landmark of the range and relative orientation of the robot located at pos.
| [in] | pos | The actual position of the robot (pos[0]: x, pos[1]: y, pos[2] = heading). |
Definition at line 507 of file pf-nonlinear-complex-example.cpp.
|
inline |
Noisy measurement from each landmark of the range and relative orientation that correspond to pos.
| [in] | pos | The actual position of the robot (pos[0]: x ; pos[1] = y ; pos[2] = heading). |
Definition at line 519 of file ukf-nonlinear-complex-example.cpp.
|
inline |
Noisy measurement from each landmark of the range and relative orientation that correspond to pos.
| [in] | pos | The actual position of the robot (pos[0]: x ; pos[1] = y ; pos[2] = heading). |
Definition at line 526 of file pf-nonlinear-complex-example.cpp.
|
inline |
Convert the prior of the UKF into the measurement space.
| [in] | chi | The prior. |
Definition at line 479 of file ukf-nonlinear-complex-example.cpp.
|
inline |
Convert a particle of the Particle Filter into the measurement space.
| [in] | particle | The prior. |
Definition at line 488 of file pf-nonlinear-complex-example.cpp.