|
| | __init__ (self, ColVector X0, ColVector vel, float vel_std) |
| ColVector | update (self, float dt) |
Class to simulate a flying aircraft.
Definition at line 223 of file ukf-nonlinear-example.py.
◆ __init__()
| ukf-nonlinear-example.vpACSimulator.__init__ |
( |
| self, |
|
|
ColVector | X0, |
|
|
ColVector | vel, |
|
|
float | vel_std ) |
Construct a new vpACSimulator object.
:param X0: Initial position of the aircraft.
:param vel: Velocity of the aircraft.
:param vel_std: Standard deviation of the variation of the velocity.
Definition at line 228 of file ukf-nonlinear-example.py.
◆ update()
| ColVector ukf-nonlinear-example.vpACSimulator.update |
( |
| self, |
|
|
float | dt ) |
Compute the new position of the aircraft after dt seconds have passed
since the last update.
:param dt: Period since the last update.
:return ColVector: The new position of the aircraft.
Definition at line 242 of file ukf-nonlinear-example.py.
References _pos, _stdevVel, and _vel.
◆ _pos
| ukf-nonlinear-example.vpACSimulator._pos = X0 |
|
protected |
◆ _stdevVel
| ukf-nonlinear-example.vpACSimulator._stdevVel = vel_std |
|
protected |
◆ _vel
| ukf-nonlinear-example.vpACSimulator._vel = vel |
|
protected |