WSF
WsfInstantAttitudeController.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2017 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFINSTANTATTITUDECONTROLLER_HPP
13#define WSFINSTANTATTITUDECONTROLLER_HPP
14
16
17class UtInput;
19
22{
23public:
26 ~WsfInstantAttitudeController() override = default;
27
28 void SetTargetOrientationECI(double aPsiECI, double aThetaECI, double aPhiECI) override;
29 void GetTargetOrientationECI(double& aPsiECI, double& aThetaECI, double& aPhiECI) const override;
30 void UpdateOrientation(double aDeltaT) override;
31 bool AtTargetOrientation() const override;
32
33 WsfAttitudeController* Clone() const override { return new WsfInstantAttitudeController(*this); }
34
35private:
36 double mTargetPsiECI;
37 double mTargetThetaECI;
38 double mTargetPhiECI;
39};
40
41#endif // WSFINSTANTATTITUDECONTROLLER_HPP
WsfAttitudeController()
Definition WsfAttitudeController.cpp:24
bool AtTargetOrientation() const override
Has the mover reached the target orientation.
Definition WsfInstantAttitudeController.cpp:44
~WsfInstantAttitudeController() override=default
WsfInstantAttitudeController()
Definition WsfInstantAttitudeController.cpp:17
void SetTargetOrientationECI(double aPsiECI, double aThetaECI, double aPhiECI) override
Set the orientation target for this attitude controller.
Definition WsfInstantAttitudeController.cpp:25
void UpdateOrientation(double aDeltaT) override
Definition WsfInstantAttitudeController.cpp:39
WsfInstantAttitudeController(const WsfInstantAttitudeController &aOther)=default
WsfAttitudeController * Clone() const override
Clone this object.
Definition WsfInstantAttitudeController.hpp:33
void GetTargetOrientationECI(double &aPsiECI, double &aThetaECI, double &aPhiECI) const override
Get the current orientation target for this attitude controller.
Definition WsfInstantAttitudeController.cpp:32
Definition WsfSpaceMoverBase.hpp:70
Copyrights Multiple, All Rights Reserved