|
| | DtExponentialSmoother () |
| | constructor More...
|
| |
| virtual | ~DtExponentialSmoother () |
| | destructor More...
|
| |
| | DtExponentialSmoother (const DtExponentialSmoother &orig) |
| | copy constructor More...
|
| |
| DtExponentialSmoother & | operator= (const DtExponentialSmoother &orig) |
| | assignment operator More...
|
| |
| virtual DtApproximator * | clone () const |
| | Create a copy of this object. More...
|
| |
| virtual void | setAll (const DtVector &loc, const DtVector32 &vel, const DtTaitBryan &ori, const DtVector32 &acc, const DtVector32 &rotVel, DtTime t) |
| | Coherently set all DR parameters, thus avoiding DR computations associated with a partial set. More...
|
| |
| virtual void | setLocation (const DtVector &loc, DtTime t) |
| | Set absolute location. More...
|
| |
| virtual const DtVector & | approxLocation (DtTime t) const |
| | Get the approximated location at the specified time. More...
|
| |
| virtual void | setVelocity (const DtVector32 &vel, DtTime t) |
| | Set absolute velocity. More...
|
| |
| virtual const DtVector32 & | approxVelocity (DtTime t) const |
| | Get the approximated velocity at the specified time. More...
|
| |
| virtual void | setOrientation (const DtTaitBryan &ori, DtTime t) |
| | Set absolute orientation. More...
|
| |
| virtual const DtTaitBryan & | approxEuler (DtTime t) const |
| | Get approximated orientation (Euler angles) at the specified time. More...
|
| |
| virtual void | setAcceleration (const DtVector32 &acc, DtTime t) |
| | Set/Get absolute acceleration. More...
|
| |
| virtual const DtVector32 & | acceleration (DtTime t) const |
| |
| virtual void | setRotationalVelocity (const DtVector32 &vel, DtTime t) |
| | Set/Get absolute rotational velocity. More...
|
| |
| virtual const DtVector32 & | rotationalVelocity (DtTime t) const |
| |
| virtual const DtDcm & | approxBodyToGeoc (DtTime t) const |
| | Get the approximated data body to geocentric coordinate matrix. More...
|
| |
| virtual void | setSmoothEnable (bool on) |
| | Set/Get the individual smoothing switch. More...
|
| |
| virtual bool | smoothEnable () const |
| |
| virtual void | setSmoothPeriod (DtTime smoothPeriod) |
| | Set/Get smoothing period - the amount of time over which smoothing takes place. More...
|
| |
| virtual DtTime | smoothPeriod () const |
| |
| virtual void | reset () |
| | resets the smoothers. More...
|
| |
| virtual void | setFrozen (bool frozen) |
| | Set/Get whether the dead-reckoner is frozen. More...
|
| |
| | DtTrigonometricSmoother () |
| | Default constructor. More...
|
| |
| virtual | ~DtTrigonometricSmoother () |
| | Destructor. More...
|
| |
| | DtTrigonometricSmoother (const DtTrigonometricSmoother &src) |
| | Copy constructor. More...
|
| |
| DtTrigonometricSmoother & | operator= (const DtTrigonometricSmoother &src) |
| | Assignment operator. More...
|
| |
| bool | operator== (const DtTrigonometricSmoother &orig) const |
| | equality Operator. More...
|
| |
| const DtVector32 & | approxUnsmoothedVelocity (DtTime curTime) const |
| | Get the approximated velocity at the specified time without taking into account smoothing. More...
|
| |
| virtual void | setOriSmoothPeriod (DtTime t) |
| | Set/Get orientation smoothing period - the amount of time, in seconds, over which orientation smoothing takes place. More...
|
| |
| virtual DtTime | oriSmoothPeriod () const |
| |
| | DtDeadReckoner () |
| | Default CTOR. More...
|
| |
| | DtDeadReckoner (const DtDeadReckoner &orig) |
| | Copy CTOR. More...
|
| |
| virtual | ~DtDeadReckoner () |
| | Virtual DTOR. More...
|
| |
| DtDeadReckoner & | operator= (const DtDeadReckoner &orig) |
| | Assignment Operator. More...
|
| |
| bool | operator== (const DtDeadReckoner &orig) const |
| | equality Operator. More...
|
| |
| virtual const DtVector & | deadReckonedLocation (DtTime curTime) const |
| | Get the dead-reckoned location at the specified time. More...
|
| |
| virtual const DtVector32 & | deadReckonedVelocity (DtTime curTime) const |
| | Get the dead-reckoned velocity at the specified time. More...
|
| |
| virtual const DtTaitBryan & | deadReckonedEuler (DtTime curTime) const |
| | Get dead-reckoned orientation (Euler angles) at the specified time. More...
|
| |
| virtual const DtTime & | locationUpdateTime () const |
| | Get the last update time of the absolute location. More...
|
| |
| virtual const DtTime & | velocityUpdateTime () const |
| | Get the last update time of the absolute velocity. More...
|
| |
| virtual const DtTime & | orientationUpdateTime () const |
| | Get the last update time of the absolute orientation. More...
|
| |
| virtual const DtDcm & | deadReckonedBodyToGeoc (DtTime curTime) const |
| | Get the dead-reckoned body to geocentric coordinate matrix. More...
|
| |
| virtual void | setAlgorithm (DtDeadReckonTypes alg) |
| | Set/Get the dead reckoning algorithm used for generating the approximated values from the absolute values. More...
|
| |
| virtual DtDeadReckonTypes | algorithm () const |
| |
| virtual int | isRotational () const |
| | Returns 1 if the dead reckoning algorithm is a rotational one, 0 otherwise. More...
|
| |
| virtual void | deadReckonPosition (DtTime dt, const DtVector &oldPos, const DtVector32 &oldVel, const DtVector32 &oldAccel, DtVector32 &newVel, DtVector &newPos) const |
| | Calculate the dead reckon position information based on the algorithm type. More...
|
| |
| virtual void | deadReckonOrientation (DtTime dt, const DtDcm &old_b2w, const DtDirectedRotRate &drr, DtDcm &new_b2w) const |
| | Calculate the orientation matrix based on the algorithm type. More...
|
| |
| virtual | ~DtApproximator () |
| | Virtual DTOR. More...
|
| |
| DtApproximator & | operator= (const DtApproximator &orig) |
| | Assignment operator. More...
|
| |
| virtual bool | isFrozen () const |
| |
|
| static void | setDfltSmoothPeriod (DtTime smoothPeriod) |
| | Set/Get the default smoothing period. More...
|
| |
| static DtTime | dfltSmoothPeriod () |
| |
| static void | setMasterSmoothEnable (bool onOff) |
| | Set/Get the value of the "master" smoothing-enabled switch. More...
|
| |
| static bool | masterSmoothEnable () |
| |
| static void | setDfltSmoothPeriod (DtTime smoothPeriod) |
| | Set/Get the default smoothing period. More...
|
| |
| static DtTime | dfltSmoothPeriod () |
| |
| static void | setMasterSmoothEnable (bool onOff) |
| | Set/Get the value of the "master" smoothing-enabled switch. More...
|
| |
| static bool | masterSmoothEnable () |
| |
| static void | rotAngleAndAxisFromRotMatrix (DtVector &n, double &phi, const DtDcm &m) |
| |
| static void | rotMatrixFromRotRatesAndTime (DtDcm &m, DtDcm &o, DtVector &n, double &w, const DtVector32 &r, double t) |
| |
| static int | isRotational (DtDeadReckonTypes algorithm) |
| | Returns 1 if the dead reckoning algorithm is a rotational one, 0 otherwise. More...
|
| |
| static void | deadReckonPosition (DtTime dt, DtDeadReckonTypes algorithm, const DtVector &oldPos, const DtVector32 &oldVel, const DtVector32 &oldAccel, DtVector32 &newVel, DtVector &newPos) |
| | Calculate the dead reckon position information. More...
|
| |
| static void | deadReckonOrientation (DtTime dt, DtDeadReckonTypes algorithm, const DtDcm &old_b2w, const DtDirectedRotRate &drr, DtDcm &new_b2w) |
| | Calculate the orientation matrix. More...
|
| |
Instances of DtExponentialSmoother are used to provide approximated position and orientation information for entities.
Position and orientation information is approximated over time from the last set absolute (non-approximated) information. When a new position is set, the current position moves smoothly to reflect the new information, rather than jumping to the new absolute position.
This smoother uses an exponential line to approach the new absolute position. Under most circumstances, this is the best smoother currently provided. For a different approach of smoothing, one could try the DtTrigonometricSmoother.