FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
CycloidalActuator.h
1#ifndef CycloidalActuator_h__
2#define CycloidalActuator_h__
3
37#include <string>
38
39#include "PropulsorActuator.h"
40
41namespace Ship
42{
44 public:
45 CycloidalActuator(const std::string& simObjectName,ISimObjectCreator* const creator);
46 virtual void OdeFcn(const double T, const double* const X, double* const XDot) const;
47
48 virtual const double * Angle(const double T, const double * const X);
49
50 const double * ThrustVector(const double T, const double *const X);
51 protected:
52 double AngleFeedbackValue(const double* X) const override;
53
54 private:
55 double m_thrustVector[3];
56
57 ISignalPort *m_inThrustAngle;
58 int m_lateralStateIndex;
59 int m_transverseStateIndex;
60 };
61}
62#endif // CycloidalActuator_h__
Definition CycloidalActuator.h:43
double AngleFeedbackValue(const double *X) const override
The angle that Angle_FB reports (the azimuth state; the cycloidal actuator has its own)
Definition PropulsorActuator.h:75
Simple waypoint object.
Definition CableAttach.h:58