80 setDim(4, 1, 2, 2, 2);
114 A(1,2) = Period - Period*Period*Bfriction/Mass*x(2);
119 A(2,2) = 1 - 2*Period*Bfriction/Mass*x(2);
124 A(3,2) = Period*Period*Portance/Mass*x(2);
129 A(4,2) = 2*Period*Portance/Mass*x(2);
149 Q(1,2) = 0.01*0.01/10.0;
150 Q(2,1) = 0.01*0.01/10.0;
169 H(1,1) = -x(3)/(x(1)*x(1)+x(3)*x(3));
171 H(1,3) = x(1)/(x(1)*x(1)+x(3)*x(3));
174 H(2,1) = x(1)/sqrt(x(1)*x(1)+x(3)*x(3));
176 H(2,3) = x(3)/sqrt(x(1)*x(1)+x(3)*x(3));
195 x_(1) = x(1) + x(2)*Period + (Period*Period)/2*(u(1)/Mass - Bfriction/Mass*x(2)*x(2));
196 x_(2) = x(2) + (u(1)/Mass - Bfriction/Mass*x(2)*x(2))*Period;
197 x_(3) = x(3) + x(4)*Period + (Period*Period)/2*(Portance/Mass*x(2)*x(2)-Gravity);
198 x_(4) = x(4) + (Portance/Mass*x(2)*x(2)-Gravity)*Period;
204 z(1)=atan2(x(3), x(1));
205 z(2)=sqrt(x(1)*x(1)+x(3)*x(3));
void makeBaseQ()
Virtual pre-creator of Q.
void makeBaseW()
Virtual pre-creator of W.
void makeBaseV()
Virtual pre-creator of V.
void makeBaseA()
Virtual pre-creator of A.
void makeA()
Virtual creator of A.
void makeH()
Virtual creator of H.
void makeBaseH()
Virtual pre-creator of H.
void swap(KVector &v)
Constant-time swap function between two vectors.
void makeProcess()
Actual process . Fills in new x by using old x.
void makeBaseR()
Virtual pre-creator of R.
void makeMeasure()
Actual measurement function . Fills in z.