VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions

Instances of DtSmoothPosWithDr are used to provide the mechanism to smooth position and dead-reckon position. More...

+ Inheritance diagram for DtSmoothPosWithDr:
+ Collaboration diagram for DtSmoothPosWithDr:

Public Member Functions

 DtSmoothPosWithDr (DtDeadReckoner *dr, DtTime smoothT)
 Constructor. More...
 
virtual ~DtSmoothPosWithDr ()
 Destructor. More...
 
- Public Member Functions inherited from DtSmoothPos
 DtSmoothPos (void *usr, DtTime smoothT, const DtVector &pos, const DtVector32 &vel, const DtVector32 &acc)
 Constructors. More...
 
 DtSmoothPos (void *usr, DtTime smoothT)
 WARNING: not fully constructed until input() & tick() are called. More...
 
virtual ~DtSmoothPos ()
 
 DtSmoothPos (const DtSmoothPos &)
 Copy Constructor. More...
 
DtSmoothPosoperator= (const DtSmoothPos &)
 Assignment Operator. More...
 
void input (const DtVector &pos, const DtVector32 &vel, const DtVector32 &acc, DtTime simTime, int freeze=0)
 
void tick (DtTime simTime)
 
const DtVectorposition () const
 
const DtVector32velocity () const
 
virtual void setSmoothEnable (int on)
 Set/Get the individual smoothing switch. More...
 
virtual int smoothEnable () const
 
virtual void setSmoothPeriod (DtTime t)
 Set/Get smoothPeriod. More...
 
virtual DtTime smoothPeriod () const
 
virtual void reset ()
 This resets the smoother parameters. More...
 

Protected Member Functions

virtual void dfltAction (DtTime simTime, void *usr, DtVector32 &vs, DtVector &ps)
 The default action is to dead-reckon. More...
 
- Protected Member Functions inherited from DtSmoothPos
void init (void *u, DtTime t)
 
void setT1data ()
 

Additional Inherited Members

- Static Public Member Functions inherited from DtSmoothPos
static void setDfltSmoothPeriod (DtTime t)
 Set/Get default smooth period. More...
 
static DtTime dfltSmoothPeriod ()
 
static void setMasterSmoothEnable (bool onOff)
 Set/Get the value of the "master" smoothing-enabled switch. More...
 
static bool masterSmoothEnable ()
 
- Protected Attributes inherited from DtSmoothPos
int myFrozen
 
DtTime myT0
 
DtTime myT1
 
DtTime myT2
 
DtTime myLastT
 
DtTime myLocalTau
 
DtTime myLocalHtau
 
DtTime myLocalTauInv
 
DtTimemyTau
 
DtTimemyHtau
 
DtTimemyTauInv
 
DtVector ps
 
DtVector p0
 
DtVector dp
 
DtVector p1
 
DtVector32 vs
 
DtVector32 v0
 
DtVector32 v1
 
DtVector32 dv
 
DtVector32 a1
 
DtVector32 a2
 
DtVector32 ap
 
int myEnable
 
int myNeedT1Data
 
int myNeedT2Data
 
void * myUsr
 
- Static Protected Attributes inherited from DtSmoothPos
static DtTime theDfltTau
 
static DtTime theDfltHtau
 
static DtTime theDfltTauInv
 
static bool theMasterSmoothEnable
 

Detailed Description

Instances of DtSmoothPosWithDr are used to provide the mechanism to smooth position and dead-reckon position.

It derives from DtSmoothPos and provides the method dfltAction, which is called once the smooth period has elapsed. It is used by DtOldSmoother.

Constructor & Destructor Documentation

DtSmoothPosWithDr::DtSmoothPosWithDr ( DtDeadReckoner dr,
DtTime  smoothT 
)

Constructor.

Parameters
smoothTSpecifies the smooth period
virtual DtSmoothPosWithDr::~DtSmoothPosWithDr ( )
virtual

Destructor.

Member Function Documentation

virtual void DtSmoothPosWithDr::dfltAction ( DtTime  simTime,
void *  usr,
DtVector32 vs,
DtVector ps 
)
protectedvirtual

The default action is to dead-reckon.

Implements DtSmoothPos.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)