JSBSim Flight Dynamics Model 1.2.2 (22 Mar 2025)
An Open Source Flight Dynamics and Control Software Library in C++
Loading...
Searching...
No Matches
FGStateSpace::Psi Class Reference

Detailed Description

Definition at line 531 of file FGStateSpace.h.

+ Inheritance diagram for FGStateSpace::Psi:
+ Collaboration diagram for FGStateSpace::Psi:

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

◆ Psi()

Psi ( )
inline

Definition at line 534 of file FGStateSpace.h.

534: Component("Psi","rad") {};

Member Function Documentation

◆ get()

double get ( ) const
inlinevirtual

Implements FGStateSpace::Component.

Definition at line 535 of file FGStateSpace.h.

536 {
537 return m_fdm->GetPropagate()->GetEuler(3);
538 }
std::shared_ptr< FGPropagate > GetPropagate(void) const
Returns the FGPropagate pointer.

◆ getDeriv()

double getDeriv ( ) const
inlinevirtual

Reimplemented from FGStateSpace::Component.

Definition at line 543 of file FGStateSpace.h.

544 {
545 return m_fdm->GetAuxiliary()->GetEulerRates(3);
546 }
std::shared_ptr< FGAuxiliary > GetAuxiliary(void) const
Returns the FGAuxiliary pointer.

◆ set()

void set ( double  val)
inlinevirtual

Implements FGStateSpace::Component.

Definition at line 539 of file FGStateSpace.h.

540 {
541 m_fdm->GetIC()->SetPsiRadIC(val);
542 }
std::shared_ptr< FGInitialCondition > GetIC(void) const
Returns a pointer to the FGInitialCondition object.
Definition FGFDMExec.h:389

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