Changeset 565 for library/bdm/design/ctrlbase.h
- Timestamp:
- 08/19/09 16:54:24 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/design/ctrlbase.h
r508 r565 19 19 public: 20 20 //! Redesign control strategy 21 virtual void redesign(){it_error("Not implemented"); }; 21 virtual void redesign() { 22 bdm_error("Not implemented"); 23 } 24 22 25 //! apply control strategy to obtain control input 23 virtual vec apply(const vec &cond){it_error("Not implemented"); return vec(0);} 26 virtual vec apply(const vec &cond) { 27 bdm_error("Not implemented"); 28 return vec(); 29 } 24 30 }; 25 31 … … 89 95 pre_qr.set_submatrix(0,0,s*pr); 90 96 pre_qr.set_submatrix(dimx+dimu+dimy, dimu+dimx, -Qy*y_req); 91 if (!qr(pre_qr,post_qr)) it_warning("QR in LQG unstable");97 if (!qr(pre_qr,post_qr)) bdm_warning("QR in LQG unstable"); 92 98 triu(post_qr); 93 99 // hn(m+1:2*m+n+r,m+1:2*m+n+r);