Commit ff1bf56c authored by Михаил Данилов's avatar Михаил Данилов 💬

Typo.

parent 8162e375
......@@ -135,10 +135,10 @@ CanardPower = func (on) {
}
# @brief Canard command.
# @param cmd 0: Retract (default), 1: Takeoff, 2: Landing.
# @param cmd 0: Retract (default), 1: Stop, 2: Extend.
CanardCmd = func (cmd) {
CanardPower(1);
setprop("/controls/flight/wing-sweep", 0.5 * cmd);
setprop("/controls/flight/flaps", 0.5 * cmd);
}
......@@ -149,11 +149,11 @@ ConePower = func (on) {
}
# @brief Cone command.
# @param cmd 0: Retract (default), 1: Stop, 2: Extend.
# @param cmd 0: Retract (default), 1: Takeoff, 2: Landing.
ConeCmd = func (cmd) {
ConePower(1);
# XXX Non-JSBSim.
setprop("/controls/flight/flaps", 0.5 * cmd);
setprop("/controls/flight/wing-sweep", 0.5 * cmd);
}
# @brief Gear command.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment