Visual Servoing Platform
version 3.6.1 under development (2024-11-21)
|
Public Member Functions | |
vpMarkersMeasurements (const vpCameraParameters &cam, const vpHomogeneousMatrix &cMw, const vpRotationMatrix &wRo, const std::vector< vpColVector > &markers, const double &noise_stdev, const long &seed) | |
vpColVector | state_to_measurement (const vpColVector &x) |
vpColVector | measureGT (const vpColVector &wX) |
vpColVector | measureWithNoise (const vpColVector &wX) |
vpMarkersMeasurements (const vpCameraParameters &cam, const vpHomogeneousMatrix &cMw, const vpRotationMatrix &wRo, const std::vector< vpColVector > &markers, const double &noise_stdev, const long &seed, const double &likelihood_stdev) | |
vpColVector | state_to_measurement (const vpColVector &x) |
vpColVector | measureGT (const vpColVector &wX) |
vpColVector | measureWithNoise (const vpColVector &wX) |
double | likelihood (const vpColVector &x, const vpColVector &meas) |
[Object_simulator]
[Markers_class]
Class that permits to convert the 3D position of the object into measurements.
Definition at line 125 of file tutorial-ukf.cpp.
|
inline |
Construct a new vpMarkersMeasurements object.
[in] | cam | The camera parameters. |
[in] | cMw | The pose of the world frame with regard to the camera frame. |
[in] | wRo | The rotation matrix expressing the rotation between the world frame and object frame. |
[in] | markers | The position of the markers in the object frame. |
[in] | noise_stdev | The standard deviation for the noise generator |
[in] | seed | The seed for the noise generator |
Definition at line 138 of file tutorial-ukf.cpp.
|
inline |
Construct a new vpMarkersMeasurements object.
[in] | cam | The camera parameters. |
[in] | cMw | The pose of the world frame with regard to the camera frame. |
[in] | wRo | The rotation matrix expressing the rotation between the world frame and object frame. |
[in] | markers | The position of the markers in the object frame. |
[in] | noise_stdev | The standard deviation for the noise generator |
[in] | seed | The seed for the noise generator |
[in] | likelihood_stdev | The standard deviation for the likelihood computation. A particle that is
|
Definition at line 208 of file tutorial-pf.cpp.
|
inline |
[Noisy_measurements]
[Likelihood_function]
Compute the likelihood of a particle compared to the measurements. The likelihood equals zero if the particle is completely different of the measurements and equals one if it matches completely. The chosen likelihood is a Gaussian function that penalizes the mean distance between the projection of the markers corresponding to the particle position and the measurements of the markers in the image.
[in] | x | The particle. |
[in] | meas | The measurement vector. meas[2i] = u_i meas[2i + 1] = v_i . |
Definition at line 312 of file tutorial-pf.cpp.
References vpHomogeneousMatrix::buildFrom(), vpMeterPixelConversion::convertPoint(), and vpImagePoint::sqrDistance().
|
inline |
[Measurement_function]
[GT_measurements]
Perfect measurement of the projection of the markers in the image when the object is located at wX.
[in] | wX | The actual position of the robot (wX[0]: x, wX[1]: y, wX[2] = z). |
Definition at line 180 of file tutorial-ukf.cpp.
References vpHomogeneousMatrix::buildFrom(), and vpMeterPixelConversion::convertPoint().
|
inline |
[Measurement_function]
[GT_measurements]
Perfect measurement of the projection of the markers in the image when the object is located at wX.
[in] | wX | The actual position of the robot (wX[0]: x, wX[1]: y, wX[2] = z). |
Definition at line 261 of file tutorial-pf.cpp.
References vpHomogeneousMatrix::buildFrom(), and vpMeterPixelConversion::convertPoint().
|
inline |
[GT_measurements]
[Noisy_measurements]
Noisy measurement of the projection of the markers in the image when the object is located at wX.
[in] | wX | The actual position of the robot (wX[0]: x, wX[1]: y, wX[2] = z). |
Definition at line 206 of file tutorial-ukf.cpp.
References vpArray2D< Type >::size().
|
inline |
[GT_measurements]
[Noisy_measurements]
Noisy measurement of the projection of the markers in the image when the object is located at wX.
[in] | wX | The actual position of the robot (wX[0]: x, wX[1]: y, wX[2] = z). |
Definition at line 287 of file tutorial-pf.cpp.
References vpArray2D< Type >::size().
|
inline |
[Measurement_function]
Convert the prior of the UKF into the measurement space.
[in] | x | The prior. |
Definition at line 154 of file tutorial-ukf.cpp.
References vpHomogeneousMatrix::buildFrom(), and vpMeterPixelConversion::convertPoint().
|
inline |
[Measurement_function]
Convert the prior of the UKF into the measurement space.
[in] | x | The prior. |
Definition at line 235 of file tutorial-pf.cpp.
References vpHomogeneousMatrix::buildFrom(), and vpMeterPixelConversion::convertPoint().