|
WSF
|
#include <WsfRigidBodySixDOF_FlightControlSystem.hpp>


Classes | |
| struct | ControlInputValue |
| struct | ControlSignalModifier |
| struct | ControlInputGainStream |
| struct | ControlSurfaceElement |
| struct | ControlValueElement |
| struct | ControlBooleanElement |
Public Types | |
| enum | ControlSignalModifierType { Undefined , ScalarGain , ClampGain , SASChannel , MachGainTable , KTASGainTable , AlphaGainTable , BetaGainTable , GxLoadGainTable , GyLoadGainTable , GzLoadGainTable , AltGainTable , QGainTable , MachMappingTable , KTASMappingTable , AlphaMappingTable , BetaMappingTable , GxLoadMappingTable , GyLoadMappingTable , GzLoadMappingTable , AltMappingTable , QMappingTable , SignalMappingTable } |
Public Member Functions | |
| RigidBodyFlightControlSystem ()=default | |
| ~RigidBodyFlightControlSystem ()=default | |
| RigidBodyFlightControlSystem & | operator= (const RigidBodyFlightControlSystem &other)=delete |
| RigidBodyFlightControlSystem * | Clone () const |
| void | ConnectInputsWithOutputs () |
| bool | ProcessInput (UtInput &aInput) |
| bool | Initialize (int64_t aSimTime_nanosec) |
| void | Update (int64_t aSimTime_nanosec) |
| void | SetLastUpdateSimTime (int64_t aLastUpdateSimTime_nanosec) |
| void | SetPilotManager (RigidBodyPilotManager *aRigidBodySixDOF_PilotManager) |
| void | SetPilotObject (RigidBodyPilotObject *aRigidBodySixDOF_PilotObject) |
| size_t | GetControlSurfaceHandle (const std::string &aControlSurfaceName) const |
| size_t | GetControlSurfaceHandleContainingString (const std::string &aString) const |
| size_t | GetControlSurfaceHandleContainingTwoStrings (const std::string &aString1, const std::string &aString2) const |
| std::string | GetControlSurfaceName (size_t aControlSurfaceHandle) const |
| double | GetControlSurfaceAngle_deg (size_t aControlSurfaceHandle) const |
| double | GetControlSurfaceMinAngle_deg (size_t aControlSurfaceHandle) const |
| double | GetControlSurfaceMaxAngle_deg (size_t aControlSurfaceHandle) const |
| double | GetControlSurfaceValueNormalized (size_t aControlSurfaceHandle) const |
| void | SetControlSurfaceAngle_deg (size_t aControlSurfaceHandle, double aAngle_deg) |
| size_t | GetControlValueHandle (const std::string &aControlValueName) const |
| std::string | GetControlValueName (size_t aControlValueHandle) const |
| double | GetControlValue (size_t aControlValueHandle) const |
| size_t | GetBooleanControlHandle (const std::string &aControlBooleanName) const |
| std::string | GetBooleanControlName (size_t aControlBooleanHandle) const |
| bool | GetControlBoolean (size_t aControlBooleanHandle) const |
| bool | GetControlBooleanLastValue (size_t aControlBooleanHandle) const |
| void | ClearAllControlData () |
| size_t | NumFlightControlInputs () const |
| void | LoadFlightControlInputData (size_t aIndex, FlightControlInputValue *aData) const |
| size_t | NumFlightControlSurfaces () const |
| void | LoadFlightControlSurfaceData (size_t aIndex, ControlSurfaceValue *aData) const |
| bool | GetControlSurfacesUsingInput (std::vector< ControlSurfaceElement * > &list, unsigned int aInputHandle) |
| void | GetControlSurfaceNames (std::vector< std::string > &list) |
| void | GetAllControlSurfaceAndActuatorsAngles (std::vector< double > &aControlSurfaceAngles_deg, std::vector< double > &aActuatorAngles_deg) const |
| void | SetAllControlSurfaceAndActuatorsAngles (const std::vector< double > &aControlSurfaceAngles_deg, const std::vector< double > &aActuatorAngles_deg) |
| void | SetControlSurfacesBasedOnControlInputs (int64_t aSimTime_nanosec) |
| void | SetControlValuesBasedOnControlInputs () |
| void | SetControlBooleansBasedOnControlInputs () |
| Public Member Functions inherited from wsf::six_dof::Object | |
| Object ()=default | |
| virtual | ~Object ()=default |
| virtual std::string | GetName () const |
| virtual void | SetName (const std::string &aName) |
| virtual Mover * | GetParentVehicle () const |
| virtual void | SetParentVehicle (Mover *aParentVehicle) |
Protected Member Functions | |
| RigidBodyFlightControlSystem (const RigidBodyFlightControlSystem &aSrc) | |
| bool | ProcessSignalModifierTable (UtInput &aInput) |
| bool | ProcessControlSurfaceInput (UtInput &aInput) |
| bool | ProcessControlValueInput (UtInput &aInput) |
| bool | ProcessControlBooleanInput (UtInput &aInput) |
| bool | ProcessInputSet (UtInput &aInput, ControlSurfaceElement *aActiveControlSurfaceElement) |
| bool | ProcessInputSet (UtInput &aInput, ControlValueElement *aActiveControlValueElement) |
| bool | ProcessInputSet (UtInput &aInput, ControlBooleanElement *aActiveControlBooleanElement) |
| bool | ProcessControlInputs (UtInput &aInput, ControlSurfaceElement *aActiveControlSurfaceElement) |
| bool | ProcessControlInputs (UtInput &aInput, ControlValueElement *aActiveControlValueElement) |
| bool | ProcessControlInputs (UtInput &aInput, ControlBooleanElement *aActiveControlBooleanElement) |
| bool | AddControlSurfaceToList (std::unique_ptr< ControlSurfaceElement > aControlSurface) |
| bool | AddControlValueToList (std::unique_ptr< ControlValueElement > aControlValue) |
| bool | AddControlBooleanToList (std::unique_ptr< ControlBooleanElement > aControlBoolean) |
| ControlInputValue * | GetControlInputByName (const std::string &aControlInputName) const |
| ControlSignalModifier * | GetControlSignalModifierByName (const std::string &aSignalModifierName) const |
| Protected Member Functions inherited from wsf::six_dof::Object | |
| Object (const Object &)=default | |
Protected Attributes | |
| int64_t | mLastUpdateSimTime_nanosec = 0 |
| RigidBodyPilotObject * | mRigidBodySixDOF_PilotObjectPtr = nullptr |
| RigidBodyPilotManager * | mRigidBodySixDOF_PilotManager = nullptr |
| std::vector< std::unique_ptr< ControlInputValue > > | mControlInputList |
| std::vector< std::unique_ptr< ControlSignalModifier > > | mControlSignalModifiersList |
| std::vector< std::unique_ptr< ControlSurfaceElement > > | mControlSurfaceList |
| std::vector< std::unique_ptr< ControlValueElement > > | mControlValueList |
| std::vector< std::unique_ptr< ControlBooleanElement > > | mControlBooleanList |
| Protected Attributes inherited from wsf::six_dof::Object | |
| std::string | mObjName = "" |
| Mover * | mParentVehicle = nullptr |
|
default |
Referenced by Clone(), operator=(), and RigidBodyFlightControlSystem().
|
default |
|
protected |
|
protected |
References mControlBooleanList.
Referenced by ProcessControlBooleanInput().
|
protected |
References mControlSurfaceList.
Referenced by ProcessControlSurfaceInput().
|
protected |
References mControlValueList.
Referenced by ProcessControlValueInput().
| void wsf::six_dof::RigidBodyFlightControlSystem::ClearAllControlData | ( | ) |
References mControlBooleanList, mControlSurfaceList, and mControlValueList.
| wsf::six_dof::RigidBodyFlightControlSystem * wsf::six_dof::RigidBodyFlightControlSystem::Clone | ( | ) | const |
References RigidBodyFlightControlSystem().
Referenced by operator=().
| void wsf::six_dof::RigidBodyFlightControlSystem::ConnectInputsWithOutputs | ( | ) |
| void wsf::six_dof::RigidBodyFlightControlSystem::GetAllControlSurfaceAndActuatorsAngles | ( | std::vector< double > & | aControlSurfaceAngles_deg, |
| std::vector< double > & | aActuatorAngles_deg ) const |
References mControlSurfaceList, and NumFlightControlSurfaces().
Referenced by wsf::six_dof::RigidBodyMover::ZeroKinematicsDuringTesting().
| size_t wsf::six_dof::RigidBodyFlightControlSystem::GetBooleanControlHandle | ( | const std::string & | aControlBooleanName | ) | const |
References mControlBooleanList.
Referenced by wsf::six_dof::RigidBodyLandingGear::Initialize().
| std::string wsf::six_dof::RigidBodyFlightControlSystem::GetBooleanControlName | ( | size_t | aControlBooleanHandle | ) | const |
References mControlBooleanList.
| bool wsf::six_dof::RigidBodyFlightControlSystem::GetControlBoolean | ( | size_t | aControlBooleanHandle | ) | const |
References mControlBooleanList.
| bool wsf::six_dof::RigidBodyFlightControlSystem::GetControlBooleanLastValue | ( | size_t | aControlBooleanHandle | ) | const |
References mControlBooleanList.
|
protected |
References mControlInputList.
Referenced by ConnectInputsWithOutputs().
|
protected |
References mControlSignalModifiersList.
Referenced by ConnectInputsWithOutputs(), ProcessControlInputs(), ProcessControlInputs(), and ProcessControlInputs().
| double wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceAngle_deg | ( | size_t | aControlSurfaceHandle | ) | const |
| size_t wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceHandle | ( | const std::string & | aControlSurfaceName | ) | const |
| size_t wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceHandleContainingString | ( | const std::string & | aString | ) | const |
References mControlSurfaceList.
Referenced by wsf::six_dof::RigidBodyMover::GetControlSurfaceHandleContainingString().
| size_t wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceHandleContainingTwoStrings | ( | const std::string & | aString1, |
| const std::string & | aString2 ) const |
References mControlSurfaceList.
Referenced by wsf::six_dof::RigidBodyMover::GetControlSurfaceHandleContainingTwoStrings().
| double wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceMaxAngle_deg | ( | size_t | aControlSurfaceHandle | ) | const |
References mControlSurfaceList.
Referenced by wsf::six_dof::RigidBodyGroundReactionPoint::GetSteeringData().
| double wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceMinAngle_deg | ( | size_t | aControlSurfaceHandle | ) | const |
References mControlSurfaceList.
Referenced by wsf::six_dof::RigidBodyGroundReactionPoint::GetSteeringData().
| std::string wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceName | ( | size_t | aControlSurfaceHandle | ) | const |
References mControlSurfaceList.
| void wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceNames | ( | std::vector< std::string > & | list | ) |
References mControlSurfaceList.
Referenced by wsf::six_dof::RigidBodyMover::GetListOfControlSurfaceNames().
| bool wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfacesUsingInput | ( | std::vector< ControlSurfaceElement * > & | list, |
| unsigned int | aInputHandle ) |
References mControlSurfaceList.
| double wsf::six_dof::RigidBodyFlightControlSystem::GetControlSurfaceValueNormalized | ( | size_t | aControlSurfaceHandle | ) | const |
References wsf::six_dof::RigidBodyFlightControlSystem::ControlSurfaceElement::currentAngle_deg, wsf::six_dof::RigidBodyFlightControlSystem::ControlSurfaceElement::maxAngle_deg, mControlSurfaceList, and wsf::six_dof::RigidBodyFlightControlSystem::ControlSurfaceElement::minAngle_deg.
Referenced by wsf::six_dof::RigidBodyGroundReactionPoint::CalcGroundReactionForceMoment(), wsf::six_dof::RigidBodyGroundReactionPoint::CalcNormalForceMoment(), and wsf::six_dof::RigidBodyMover::GetNormalizedAngleOfControlSurface().
| double wsf::six_dof::RigidBodyFlightControlSystem::GetControlValue | ( | size_t | aControlValueHandle | ) | const |
| size_t wsf::six_dof::RigidBodyFlightControlSystem::GetControlValueHandle | ( | const std::string & | aControlValueName | ) | const |
| std::string wsf::six_dof::RigidBodyFlightControlSystem::GetControlValueName | ( | size_t | aControlValueHandle | ) | const |
References mControlValueList.
| bool wsf::six_dof::RigidBodyFlightControlSystem::Initialize | ( | int64_t | aSimTime_nanosec | ) |
References ConnectInputsWithOutputs(), mControlSurfaceList, and mLastUpdateSimTime_nanosec.
Referenced by operator=().
| void wsf::six_dof::RigidBodyFlightControlSystem::LoadFlightControlInputData | ( | size_t | aIndex, |
| FlightControlInputValue * | aData ) const |
| void wsf::six_dof::RigidBodyFlightControlSystem::LoadFlightControlSurfaceData | ( | size_t | aIndex, |
| ControlSurfaceValue * | aData ) const |
| size_t wsf::six_dof::RigidBodyFlightControlSystem::NumFlightControlInputs | ( | ) | const |
References mControlInputList.
| size_t wsf::six_dof::RigidBodyFlightControlSystem::NumFlightControlSurfaces | ( | ) | const |
References mControlSurfaceList.
Referenced by GetAllControlSurfaceAndActuatorsAngles().
|
delete |
References Clone(), ConnectInputsWithOutputs(), Initialize(), ProcessInput(), and RigidBodyFlightControlSystem().
|
protected |
References AddControlBooleanToList(), and ProcessInputSet().
Referenced by ProcessInput().
|
protected |
|
protected |
References wsf::six_dof::RigidBodyFlightControlSystem::ControlSurfaceElement::controlInputList, and GetControlSignalModifierByName().
Referenced by ProcessInputSet(), ProcessInputSet(), and ProcessInputSet().
|
protected |
|
protected |
References AddControlSurfaceToList(), and ProcessInputSet().
Referenced by ProcessInput().
|
protected |
References AddControlValueToList(), and ProcessInputSet().
Referenced by ProcessInput().
| bool wsf::six_dof::RigidBodyFlightControlSystem::ProcessInput | ( | UtInput & | aInput | ) |
References ProcessControlBooleanInput(), ProcessControlSurfaceInput(), ProcessControlValueInput(), and ProcessSignalModifierTable().
Referenced by operator=().
|
protected |
References ProcessControlInputs().
|
protected |
References ProcessControlInputs().
Referenced by ProcessControlBooleanInput(), ProcessControlSurfaceInput(), and ProcessControlValueInput().
|
protected |
References ProcessControlInputs().
|
protected |
References AlphaGainTable, AlphaMappingTable, AltGainTable, AltMappingTable, BetaGainTable, BetaMappingTable, ClampGain, GxLoadGainTable, GxLoadMappingTable, GyLoadGainTable, GyLoadMappingTable, GzLoadGainTable, GzLoadMappingTable, KTASGainTable, KTASMappingTable, MachGainTable, MachMappingTable, mControlSignalModifiersList, QGainTable, QMappingTable, SASChannel, ScalarGain, SignalMappingTable, and Undefined.
Referenced by ProcessInput().
| void wsf::six_dof::RigidBodyFlightControlSystem::SetAllControlSurfaceAndActuatorsAngles | ( | const std::vector< double > & | aControlSurfaceAngles_deg, |
| const std::vector< double > & | aActuatorAngles_deg ) |
References mControlSurfaceList.
Referenced by wsf::six_dof::RigidBodyMover::ZeroKinematicsDuringTesting().
| void wsf::six_dof::RigidBodyFlightControlSystem::SetControlBooleansBasedOnControlInputs | ( | ) |
References AlphaGainTable, AlphaMappingTable, AltGainTable, AltMappingTable, BetaGainTable, BetaMappingTable, ClampGain, GxLoadGainTable, GxLoadMappingTable, GyLoadGainTable, GyLoadMappingTable, GzLoadGainTable, GzLoadMappingTable, KTASGainTable, KTASMappingTable, MachGainTable, MachMappingTable, mControlBooleanList, wsf::six_dof::Object::mParentVehicle, QGainTable, QMappingTable, SASChannel, ScalarGain, and SignalMappingTable.
Referenced by Update().
| void wsf::six_dof::RigidBodyFlightControlSystem::SetControlSurfaceAngle_deg | ( | size_t | aControlSurfaceHandle, |
| double | aAngle_deg ) |
| void wsf::six_dof::RigidBodyFlightControlSystem::SetControlSurfacesBasedOnControlInputs | ( | int64_t | aSimTime_nanosec | ) |
References AlphaGainTable, AlphaMappingTable, AltGainTable, AltMappingTable, BetaGainTable, BetaMappingTable, ClampGain, GxLoadGainTable, GxLoadMappingTable, GyLoadGainTable, GyLoadMappingTable, GzLoadGainTable, GzLoadMappingTable, KTASGainTable, KTASMappingTable, MachGainTable, MachMappingTable, mControlSurfaceList, wsf::six_dof::Object::mParentVehicle, mRigidBodySixDOF_PilotManager, mRigidBodySixDOF_PilotObjectPtr, QGainTable, QMappingTable, SASChannel, ScalarGain, and SignalMappingTable.
Referenced by Update().
| void wsf::six_dof::RigidBodyFlightControlSystem::SetControlValuesBasedOnControlInputs | ( | ) |
References AlphaGainTable, AlphaMappingTable, AltGainTable, AltMappingTable, BetaGainTable, BetaMappingTable, ClampGain, GxLoadGainTable, GxLoadMappingTable, GyLoadGainTable, GyLoadMappingTable, GzLoadGainTable, GzLoadMappingTable, KTASGainTable, KTASMappingTable, MachGainTable, MachMappingTable, mControlValueList, wsf::six_dof::Object::mParentVehicle, QGainTable, QMappingTable, SASChannel, ScalarGain, and SignalMappingTable.
Referenced by Update().
|
inline |
References mLastUpdateSimTime_nanosec.
| void wsf::six_dof::RigidBodyFlightControlSystem::SetPilotManager | ( | RigidBodyPilotManager * | aRigidBodySixDOF_PilotManager | ) |
References mRigidBodySixDOF_PilotManager.
| void wsf::six_dof::RigidBodyFlightControlSystem::SetPilotObject | ( | RigidBodyPilotObject * | aRigidBodySixDOF_PilotObject | ) |
References mRigidBodySixDOF_PilotObjectPtr.
| void wsf::six_dof::RigidBodyFlightControlSystem::Update | ( | int64_t | aSimTime_nanosec | ) |
|
protected |
|
protected |
|
protected |
Referenced by GetControlSignalModifierByName(), ProcessSignalModifierTable(), and RigidBodyFlightControlSystem().
|
protected |
Referenced by AddControlSurfaceToList(), ClearAllControlData(), ConnectInputsWithOutputs(), GetAllControlSurfaceAndActuatorsAngles(), GetControlSurfaceAngle_deg(), GetControlSurfaceHandle(), GetControlSurfaceHandleContainingString(), GetControlSurfaceHandleContainingTwoStrings(), GetControlSurfaceMaxAngle_deg(), GetControlSurfaceMinAngle_deg(), GetControlSurfaceName(), GetControlSurfaceNames(), GetControlSurfacesUsingInput(), GetControlSurfaceValueNormalized(), Initialize(), LoadFlightControlSurfaceData(), NumFlightControlSurfaces(), RigidBodyFlightControlSystem(), SetAllControlSurfaceAndActuatorsAngles(), SetControlSurfaceAngle_deg(), and SetControlSurfacesBasedOnControlInputs().
|
protected |
|
protected |
Referenced by Initialize(), RigidBodyFlightControlSystem(), SetLastUpdateSimTime(), and Update().
|
protected |
Referenced by SetControlSurfacesBasedOnControlInputs(), SetPilotManager(), and Update().
|
protected |
Referenced by ConnectInputsWithOutputs(), SetControlSurfacesBasedOnControlInputs(), SetPilotObject(), and Update().