12#ifndef TWOINERTIASIMULATOR
13#define TWOINERTIASIMULATOR
31 void GetResponses(
double& LoadSpeed,
double& TorsionAngle,
double& MotorSpeed);
38 const double Current,
const double LoadTorque,
double& LoadSpeed,
double& TorsionAngle,
double& MotorSpeed
40 std::tuple<double,double,double>
GetResponses(
double Current,
double LoadTorque);
64 void SetStateSpaceModel(
void);
積分器
Definition Integrator.hh:40
状態空間表現によるシステムクラス
Definition StateSpaceSystem.hh:40
2慣性共振系のパラメータ構造体(Ds無し版)
Definition TwoInertiaParamDef.hh:18
2慣性共振系のパラメータ構造体(Ds有り版)
Definition TwoInertiaParamDef.hh:29
2慣性共振系シミュレータV4
Definition TwoInertiaSimulator.hh:21
double GetLoadPosition(void)
現在の負荷側位置を取得する関数
Definition TwoInertiaSimulator.cc:145
std::tuple< double, double, double > GetResponses(void)
現在の負荷側速度&ねじれ角&モータ側速度を取得する関数(タプルで返す版)
Definition TwoInertiaSimulator.cc:135
double GetTorsionTorque(void)
現在のねじれトルクを取得する関数
Definition TwoInertiaSimulator.cc:163
void SetParameters(const struct TwoInertiaParamDef &Params, const double SmplTime)
2慣性共振系のパラメータを設定する関数
Definition TwoInertiaSimulator.cc:83
void SetLoadInertia(double Inertia)
負荷側慣性を設定する関数
Definition TwoInertiaSimulator.cc:198
void Reset(void)
シミュレータをリセットする関数
Definition TwoInertiaSimulator.cc:234
TwoInertiaSimulator(void)
空コンストラクタ
Definition TwoInertiaSimulator.cc:33
void SetSpring(double Stiffness)
ばね定数を設定する関数
Definition TwoInertiaSimulator.cc:205
~TwoInertiaSimulator()
デストラクタ
Definition TwoInertiaSimulator.cc:76
void SetCurrentAndLoadTorque(const double Current, const double LoadTorque)
モータ電流と負荷トルクを設定し状態を更新する関数
Definition TwoInertiaSimulator.cc:115
double GetMotorSpeed(void)
現在のモータ側速度を取得する関数
Definition TwoInertiaSimulator.cc:157
double GetMotorPosition(void)
現在のモータ側位置を取得する関数
Definition TwoInertiaSimulator.cc:151