39 using namespace NEWMAT;
80 LinkStewart (
const ColumnVector & InitLink,
const Matrix
wRp,
const ColumnVector
q);
87 void set_ap (
const ColumnVector NewAp);
88 void set_b (
const ColumnVector Newb);
89 void set_I1aa(
const Real NewI1aa);
90 void set_I1nn (
const Real NewI1nn);
91 void set_I2aa (
const Real NewI2aa);
92 void set_I2nn (
const Real NewI2nn);
93 void set_m1 (
const Real Newm1);
94 void set_m2 (
const Real Newm2);
95 void set_Lenght1 (
const Real NewLenght1);
96 void set_Lenght2 (
const Real NewLenght2);
98 ReturnMatrix get_ap()
const;
99 ReturnMatrix get_b()
const;
100 Real get_I1aa ()
const;
101 Real get_I1nn ()
const;
102 Real get_I2aa ()
const;
103 Real get_I2nn ()
const;
104 Real get_m1 ()
const;
105 Real get_m2 ()
const;
106 Real get_Lenght1()
const;
107 Real get_Lenght2 ()
const;
109 void LTransform(
const Matrix
wRp,
const ColumnVector
q);
110 void d_LTransform(
const ColumnVector
dq,
const ColumnVector
Omega,
const Real
dl,
112 void dd_LTransform(
const ColumnVector
ddq,
const ColumnVector
Omega,
113 const ColumnVector
Alpha,
const Real
dl,
const Real
ddl);
114 void tau_LTransform(
const Real
dl,
const Real
ddl,
const Real Gravity);
115 ReturnMatrix Find_UnitV ();
116 ReturnMatrix Find_a (
const Matrix _wRp,
const ColumnVector _q);
117 ReturnMatrix Find_da (
const ColumnVector
dq,
const ColumnVector
Omega);
118 ReturnMatrix Find_dda (
const ColumnVector
ddq,
const ColumnVector
Omega,
119 const ColumnVector
Alpha);
122 ReturnMatrix Find_VctU ();
123 ReturnMatrix Find_VctV ();
124 ReturnMatrix Find_VctC ();
125 ReturnMatrix Find_AngularKin (
const Real
dl,
const Real
ddl);
126 ReturnMatrix NormalForce();
127 ReturnMatrix AxialForce (
const Matrix J1,
const ColumnVector C,
const int Index);
128 ReturnMatrix Find_N(
const Real Gravity = GRAVITY);
129 ReturnMatrix Moment();
130 Real ActuationForce (
const Matrix J1,
const ColumnVector C,
const int Index,
131 const Real Gravity = GRAVITY);
132 ReturnMatrix Find_ACM1 (
const Real
dl,
const Real
ddl);
174 Stewart (
const Matrix InitPlat,
bool Joint =
true);
176 Stewart (
const std::string & filename,
const std::string & PlatformName);
180 void set_Joint(
const bool _Joint);
181 void set_q (
const ColumnVector _q);
182 void set_dq (
const ColumnVector _dq);
183 void set_ddq (
const ColumnVector _ddq);
184 void set_pR (
const ColumnVector _pR);
185 void set_pIp (
const Matrix _pIp);
186 void set_mp (
const Real _mp);
187 bool get_Joint ()
const;
188 ReturnMatrix get_q()
const;
189 ReturnMatrix get_dq()
const;
190 ReturnMatrix get_ddq()
const;
191 ReturnMatrix get_pR()
const;
192 ReturnMatrix get_pIp()
const;
193 Real get_mp ()
const;
196 ReturnMatrix Find_wRp ();
197 ReturnMatrix Find_Omega ();
198 ReturnMatrix Find_Alpha ();
199 ReturnMatrix jacobian ();
200 ReturnMatrix Find_InvJacob1 ();
201 ReturnMatrix Find_InvJacob2 ();
202 ReturnMatrix jacobian_dot();
203 ReturnMatrix Find_dl ();
204 ReturnMatrix Find_ddl ();
205 ReturnMatrix Find_C(
const Real Gravity = GRAVITY);
206 ReturnMatrix Torque(
const Real Gravity = GRAVITY);
207 ReturnMatrix JointSpaceForceVct(
const Real Gravity = GRAVITY);
208 ReturnMatrix InvPosKine();
209 ReturnMatrix ForwardKine(
const ColumnVector guess_q,
const ColumnVector l_given,
210 const Real tolerance = 0.001);
211 ReturnMatrix Find_h(
const Real Gravity = GRAVITY);
212 ReturnMatrix Find_M();
213 ReturnMatrix ForwardDyn(
const ColumnVector Torque,
const Real Gravity=GRAVITY);
214 void Find_Mc_Nc_Gc(Matrix & Mc, Matrix & Nc, Matrix & Gc);
215 ReturnMatrix ForwardDyn_AD(
const ColumnVector Command,
const Real t);
222 #endif //Class Stewart