Visual Servoing Platform  version 3.6.1 under development (2024-11-21)
vpACSimulator Class Reference

Public Member Functions

 vpACSimulator (const vpColVector &X0, const vpColVector &vel, const double &vel_std)
 
vpColVector update (const double &dt)
 
 vpACSimulator (const vpColVector &X0, const vpColVector &vel, const double &vel_std)
 
vpColVector update (const double &dt)
 

Detailed Description

Class to simulate a flying aircraft.

Examples
pf-nonlinear-example.cpp, and ukf-nonlinear-example.cpp.

Definition at line 265 of file ukf-nonlinear-example.cpp.

Constructor & Destructor Documentation

◆ vpACSimulator() [1/2]

vpACSimulator::vpACSimulator ( const vpColVector X0,
const vpColVector vel,
const double &  vel_std 
)
inline

Construct a new vpACSimulator object.

Parameters
[in]X0Initial position of the aircraft.
[in]velVelocity of the aircraft.
[in]vel_stdStandard deviation of the variation of the velocity.

Definition at line 275 of file ukf-nonlinear-example.cpp.

◆ vpACSimulator() [2/2]

vpACSimulator::vpACSimulator ( const vpColVector X0,
const vpColVector vel,
const double &  vel_std 
)
inline

Construct a new vpACSimulator object.

Parameters
[in]X0Initial position of the aircraft.
[in]velVelocity of the aircraft.
[in]vel_stdStandard deviation of the variation of the velocity.

Definition at line 295 of file pf-nonlinear-example.cpp.

Member Function Documentation

◆ update() [1/2]

vpColVector vpACSimulator::update ( const double &  dt)
inline

Compute the new position of the aircraft after dt seconds have passed since the last update.

Parameters
[in]dtPeriod since the last update.
Returns
vpColVector The new position of the aircraft.

Definition at line 290 of file ukf-nonlinear-example.cpp.

◆ update() [2/2]

vpColVector vpACSimulator::update ( const double &  dt)
inline

Compute the new position of the aircraft after dt seconds have passed since the last update.

Parameters
[in]dtPeriod since the last update.
Returns
vpColVector The new position of the aircraft.

Definition at line 310 of file pf-nonlinear-example.cpp.