JSBSim Flight Dynamics Model 1.3.0 (09 Apr 2026)
An Open Source Flight Dynamics and Control Software Library in C++
Loading...
Searching...
No Matches
FGStateSpace::Vt Class Reference

Detailed Description

Definition at line 302 of file FGStateSpace.h.

+ Inheritance diagram for FGStateSpace::Vt:
+ Collaboration diagram for FGStateSpace::Vt:

Public Member Functions

double get () const
 
double getDeriv () const
 
void set (double val)
 
- Public Member Functions inherited from FGStateSpace::Component
 Component (const std::string &name, const std::string &unit)
 
const std::string & getName () const
 
const std::string & getUnit () const
 
void setFdm (FGFDMExec *fdm)
 
void setStateSpace (FGStateSpace *stateSpace)
 

Additional Inherited Members

- Protected Attributes inherited from FGStateSpace::Component
FGFDMExecm_fdm
 
std::string m_name
 
FGStateSpacem_stateSpace
 
std::string m_unit
 

Constructor & Destructor Documentation

◆ Vt()

Vt ( )
inline

Definition at line 305 of file FGStateSpace.h.

305: Component("Vt","ft/s") {};

Member Function Documentation

◆ get()

double get ( ) const
inlinevirtual

Implements FGStateSpace::Component.

Definition at line 306 of file FGStateSpace.h.

307 {
308 return m_fdm->GetAuxiliary()->GetVt();
309 }
std::shared_ptr< FGAuxiliary > GetAuxiliary(void) const
Returns the FGAuxiliary pointer.

◆ getDeriv()

double getDeriv ( ) const
inlinevirtual

Reimplemented from FGStateSpace::Component.

Definition at line 314 of file FGStateSpace.h.

315 {
316
317 return (m_fdm->GetPropagate()->GetUVW(1)*m_fdm->GetAccelerations()->GetUVWdot(1) +
318 m_fdm->GetPropagate()->GetUVW(2)*m_fdm->GetAccelerations()->GetUVWdot(2) +
319 m_fdm->GetPropagate()->GetUVW(3)*m_fdm->GetAccelerations()->GetUVWdot(3))/
320 m_fdm->GetAuxiliary()->GetVt(); // from lewis, vtrue dot
321 }
std::shared_ptr< FGPropagate > GetPropagate(void) const
Returns the FGPropagate pointer.
std::shared_ptr< FGAccelerations > GetAccelerations(void) const
Returns the FGAccelerations pointer.

◆ set()

void set ( double  val)
inlinevirtual

Implements FGStateSpace::Component.

Definition at line 310 of file FGStateSpace.h.

311 {
312 m_fdm->GetIC()->SetVtrueFpsIC(val);
313 }
std::shared_ptr< FGInitialCondition > GetIC(void) const
Returns a pointer to the FGInitialCondition object.
Definition FGFDMExec.h:390

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