From: andy Date: Mon, 22 Dec 2003 19:02:20 +0000 (+0000) Subject: Yank more debug code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a59a27270243b4821e24d7572765b555c7eaeb49;p=flightgear.git Yank more debug code. --- diff --git a/src/FDM/YASim/YASim.cxx b/src/FDM/YASim/YASim.cxx index 88937ed2d..024d6c4a3 100644 --- a/src/FDM/YASim/YASim.cxx +++ b/src/FDM/YASim/YASim.cxx @@ -143,17 +143,6 @@ void YASim::init() node->setDoubleValue("yoffset-in", pos[1]); node->setDoubleValue("zoffset-in", pos[2]); } -// for(i=0; inumThrusters(); i++) { -// // Sanify the initial input conditions -// char buf[64]; -// sprintf(buf, "/controls/engines/engine[%d]/throttle", i); fgSetFloat(buf, 0); -// sprintf(buf, "/controls/engines/engine[%d]/mixture", i); fgSetFloat(buf, 1); -// sprintf(buf, "/controls/engines/engine[%d]/propeller-pitch", i); fgSetFloat(buf, 1); -// sprintf(buf, "/controls/engines/engine[%d]/augmentation", i); fgSetFloat(buf, 0); -// } - -// fgSetFloat("/controls/flight/slats", 0); -// fgSetFloat("/controls/flight/spoilers", 0); // Are we at ground level? If so, lift the plane up so the gear // clear the ground. @@ -172,13 +161,6 @@ void YASim::init() fgSetBool("/controls/gear/gear-down", true); } - // The pilot's eyepoint - float pilot[3]; - a->getPilotPos(pilot); -// fgSetFloat("/sim/view/pilot/x-offset-m", -pilot[0]); -// fgSetFloat("/sim/view/pilot/y-offset-m", -pilot[1]); -// fgSetFloat("/sim/view/pilot/z-offset-m", pilot[2]); - // Blank the state, and copy in ours State s; m->setState(&s);