Class that permits to convert the position + heading of the 4-wheel robot into measurements from a landmark.
- Examples
- pf-nonlinear-complex-example.cpp, and ukf-nonlinear-complex-example.cpp.
Definition at line 380 of file ukf-nonlinear-complex-example.cpp.
◆ vpLandmarkMeasurements() [1/2]
vpLandmarkMeasurements::vpLandmarkMeasurements |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
range_std, |
|
|
const double & |
rel_angle_std |
|
) |
| |
|
inline |
Construct a new vpLandmarkMeasurements object.
- Parameters
-
[in] | x | The position along the x-axis of the landmark. |
[in] | y | The position along the y-axis of the landmark. |
[in] | range_std | The standard deviation of the range measurements. |
[in] | rel_angle_std | The standard deviation of the relative angle measurements. |
Definition at line 391 of file ukf-nonlinear-complex-example.cpp.
◆ vpLandmarkMeasurements() [2/2]
vpLandmarkMeasurements::vpLandmarkMeasurements |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
range_std, |
|
|
const double & |
rel_angle_std |
|
) |
| |
|
inline |
Construct a new vpLandmarkMeasurements object.
- Parameters
-
[in] | x | The position along the X-axis of the landmark. |
[in] | y | The position along the Y-axis of the landmark. |
[in] | range_std | The standard deviation of the range measurements. |
[in] | rel_angle_std | The standard deviation of the relative angle measurements. |
Definition at line 379 of file pf-nonlinear-complex-example.cpp.
◆ computePositionFromMeasurements()
void vpLandmarkMeasurements::computePositionFromMeasurements |
( |
const vpColVector & |
meas, |
|
|
double & |
x, |
|
|
double & |
y |
|
) |
| |
|
inline |
Compute the position that corresponds to a measurement.
- 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. |
Definition at line 445 of file pf-nonlinear-complex-example.cpp.
◆ measureGT() [1/2]
Perfect measurement 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 [0] the range [1] the relative orientation of the robot.
Definition at line 421 of file ukf-nonlinear-complex-example.cpp.
◆ measureGT() [2/2]
Perfect measurement 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 [0] the range [1] the relative orientation of the robot.
Definition at line 409 of file pf-nonlinear-complex-example.cpp.
◆ measureWithNoise() [1/2]
Noisy measurement 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 [0] the range [1] the relative orientation.
Definition at line 440 of file ukf-nonlinear-complex-example.cpp.
◆ measureWithNoise() [2/2]
Noisy measurement 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 [0] the range [1] the relative orientation.
Definition at line 428 of file pf-nonlinear-complex-example.cpp.
◆ state_to_measurement() [1/2]
◆ state_to_measurement() [2/2]