Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpObjectSimulator Class Reference

Public Member Functions

 vpObjectSimulator (const double &R, const double &w, const double &phi, const double &wZ)
vpColVector move (const double &t) const
 vpObjectSimulator (const double &R, const double &w, const double &phi, const double &wZ, const double &stdevRng)
vpColVector move (const double &t)

Detailed Description

[Process_function]

[Pose_for_display]

[Object_simulator]

Class that simulates the moving object.

[Object_simulator]

Class that simulates the moving object. Random noise is added in order to make vary the velocity of the object.

Examples
tutorial-pf.cpp, and tutorial-ukf.cpp.

Definition at line 80 of file tutorial-ukf.cpp.

Constructor & Destructor Documentation

◆ vpObjectSimulator() [1/2]

vpObjectSimulator::vpObjectSimulator ( const double & R,
const double & w,
const double & phi,
const double & wZ )
inline

Construct a new vpObjectSimulator object.

Parameters
[in]RThe radius of the revolution around the world frame origin.
[in]wThe pulsation of the motion.
[in]phiThe phase of the motion.
[in]wZThe y-coordinate of the object in the world frame.
Examples
tutorial-pf.cpp, and tutorial-ukf.cpp.

Definition at line 91 of file tutorial-ukf.cpp.

◆ vpObjectSimulator() [2/2]

vpObjectSimulator::vpObjectSimulator ( const double & R,
const double & w,
const double & phi,
const double & wZ,
const double & stdevRng )
inline

Construct a new vpObjectSimulator object.

Parameters
[in]RThe radius of the revolution around the world frame origin.
[in]wThe pulsation of the motion.
[in]phiThe phase of the motion.
[in]wZThe y-coordinate of the object in the world frame.
[in]stdevRngThe standard deviation of the noise generator that will make vary the velocity of the object.

Definition at line 156 of file tutorial-pf.cpp.

Member Function Documentation

◆ move() [1/2]

vpColVector vpObjectSimulator::move ( const double & t)
inline

Move the object to its new position, expressed in the world frame.

Parameters
[in]tThe current time.
Returns
vpColVector The new position of the object in the world frame, expressed as homogeneous coordinates.

Definition at line 170 of file tutorial-pf.cpp.

◆ move() [2/2]

vpColVector vpObjectSimulator::move ( const double & t) const
inline

Move the object to its new position, expressed in the world frame.

Parameters
[in]tThe current time.
Returns
vpColVector The new position of the object in the world frame, expressed as homogeneous coordinates.
Examples
tutorial-pf.cpp, and tutorial-ukf.cpp.

Definition at line 104 of file tutorial-ukf.cpp.