26 : aircraft_name(fdm->GetAircraft()->GetAircraftName())
36 FGThruster * thruster0 = engine0->GetThruster();
38 if (thruster0->GetType()==FGThruster::ttPropeller)
48 std::cerr <<
"more than 4 engines not currently handled" << std::endl;
73 ss.linearize(x0, u0, y0, A, B, C, D);
76 x_names = ss.x.getName();
77 u_names = ss.u.getName();
78 y_names = ss.y.getName();
79 x_units = ss.x.getUnit();
80 u_units = ss.u.getUnit();
81 y_units = ss.y.getUnit();
92 std::ofstream scicos(path.c_str());
93 scicos.precision(precision);
95 scicos << std::scientific
96 << aircraft_name <<
".x0=..\n" << std::setw(width) << x0 <<
";\n"
97 << aircraft_name <<
".u0=..\n" << std::setw(width) << u0 <<
";\n"
98 << aircraft_name <<
".sys = syslin('c',..\n"
99 << std::setw(width) << A <<
",..\n"
100 << std::setw(width) << B <<
",..\n"
101 << std::setw(width) << C <<
",..\n"
102 << std::setw(width) << D <<
");\n"
103 << aircraft_name <<
".tfm = ss2tf(" << aircraft_name <<
".sys);\n"