Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Program name="hover-v1 0 1">
- <Variables>
- <Variable name="ReqThrottle" number="0" />
- <Variable name="ReqThrust" number="0" />
- <Variable name="MaxThrust" number="0" />
- <Variable name="prevMass" number="0" />
- <Variable name="PredictedMass" number="0" />
- <Variable name="MassOffset" number="0" />
- <Variable name="velOffset" number="0" />
- <Variable name="initVal" number="0" />
- <Variable name="debugVal" number="0" />
- <Variable name="tickRate" number="0" />
- <Variable name="localG" number="0" />
- <Variable name="curMass" number="0" />
- <Variable name="curVerVel" number="0" />
- <Variable name="boolStopHover" number="0" />
- <Variable name="minSecondsToStop" number="0" />
- <Variable name="decelNewtons" number="0" />
- <Variable name="dropTimeToImpact" number="0" />
- <Variable name="timetosplat" number="0" />
- <Variable name="velocityFinal" number="0" />
- <Variable name="tmpsomething" number="0" />
- <Variable name="p1" number="0" />
- <Variable name="p2" number="0" />
- <Variable name="p3" number="0" />
- <Variable name="k" number="0" />
- <Variable name="acoshVal" number="0" />
- <Variable name="firstVal" number="0" />
- <Variable name="thirdVal" number="0" />
- <Variable name="xVal" number="0" />
- <Variable name="localMass" number="0" />
- <Variable name="localAGL" number="0" />
- <Variable name="localVertVel" number="0" />
- <Variable name="CONSTe" number="0" />
- <Variable name="hkm" number="0" />
- </Variables>
- <Instructions>
- <Event event="FlightStart" id="0" style="flight-start" pos="-1453.235,718.8042" />
- <SetVariable id="1" style="set-variable">
- <Variable local="false" variableName="tickRate" style="variable" pos="402,285" />
- <Constant text=".01" />
- </SetVariable>
- <SetVariable id="2" style="set-variable">
- <Variable local="false" variableName="boolStopHover" style="variable" pos="-824.0365,-194.3109" />
- <Constant style="false" pos="-550.129,-261.181" bool="false" />
- </SetVariable>
- <ActivateStage id="3" style="activate-stage" />
- <SetInput input="throttle" id="4" style="set-input">
- <Constant text="100" />
- </SetInput>
- <WaitSeconds id="5" style="wait-seconds">
- <Constant text="7.5" />
- </WaitSeconds>
- <SetInput input="throttle" id="6" style="set-input">
- <Constant text="0" />
- </SetInput>
- <WaitSeconds id="7" style="wait-seconds">
- <Constant text="2" />
- </WaitSeconds>
- <SetTargetHeading property="pitch" id="8" style="set-heading">
- <Constant text="89" />
- </SetTargetHeading>
- <SetVariable id="9" style="set-variable">
- <Variable local="false" variableName="prevMass" style="variable" pos="-859,-388" />
- <CraftProperty property="Performance.Mass" style="prop-performance" pos="-750.46,-384" />
- </SetVariable>
- <BroadcastMessage local="true" id="10" style="broadcast-msg">
- <Constant text="startHover" />
- <Variable local="false" variableName="tickRate" style="variable" pos="574.37,-49.24344" />
- </BroadcastMessage>
- <WaitUntil id="11" style="wait-until">
- <BoolOp op="and" style="op-and" pos="-785.9351,-497.8571">
- <Comparison op="l" style="op-lt" pos="90.12377,-762.7484">
- <CraftProperty property="Performance.TWR" style="prop-performance" pos="-526.746,-876.273" />
- <Constant text="1.0001" />
- </Comparison>
- <Comparison op="g" style="op-gt" pos="507.4182,-760.9337">
- <CraftProperty property="Performance.TWR" style="prop-performance" pos="-299.0274,-926.037" />
- <Constant text="0.9999" />
- </Comparison>
- </BoolOp>
- </WaitUntil>
- <WaitSeconds id="12" style="wait-seconds">
- <Constant text="6" />
- </WaitSeconds>
- <SetVariable id="13" style="set-variable">
- <Variable local="false" variableName="boolStopHover" style="variable" pos="-821.3268,-109.6585" />
- <Constant style="true" pos="-592.9748,-613.7408" bool="true" />
- </SetVariable>
- <BroadcastMessage local="true" id="14" style="broadcast-msg">
- <Constant text="startDrop" />
- <Variable local="false" variableName="tickRate" style="variable" pos="574.37,-49.24344" />
- </BroadcastMessage>
- <WaitSeconds id="15" style="wait-seconds">
- <Variable local="false" variableName="tickRate" style="variable" pos="-830.0827,-351.6547" />
- </WaitSeconds>
- </Instructions>
- <Instructions>
- <Event event="ReceiveMessage" id="16" style="receive-msg" pos="-2121.832,373.3333">
- <Constant canReplace="false" text="displayThread" />
- </Event>
- <SetVariable id="17" style="set-variable">
- <Variable local="false" variableName="debugVal" style="variable" pos="991.7384,-231.0844" />
- <MathFunction function="ceiling" style="op-math" pos="1124.052,-224.1206">
- <BinaryOp op="*" style="op-mul" pos="1104,-236">
- <BinaryOp op="+" style="op-add" pos="1274.653,-236.3776">
- <Variable local="true" variableName="data" pos="1476.847,-391.0487" />
- <Constant text="1" />
- </BinaryOp>
- <Constant text="5" />
- </BinaryOp>
- </MathFunction>
- </SetVariable>
- <If id="18" style="if">
- <Comparison op="=" style="op-eq" pos="898.3748,-752.8038">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="0" />
- </Comparison>
- <Instructions>
- <DisplayMessage id="19" style="display">
- <Constant text="1:Thrust 2:AGL 3:mSTS 4:Mass 5:Acc 6:VelVer" />
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <If id="20" style="if">
- <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="1" />
- </Comparison>
- <Instructions>
- <DisplayMessage id="21" style="display">
- <CraftProperty property="Performance.CurrentEngineThrust" style="prop-performance" pos="965.2052,-415.9696" />
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <If id="22" style="if">
- <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="2" />
- </Comparison>
- <Instructions>
- <DisplayMessage id="23" style="display">
- <CraftProperty property="Altitude.AGL" style="prop-altitude" pos="972.1798,-509.7097" />
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <If id="24" style="if">
- <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="3" />
- </Comparison>
- <Instructions>
- <SetVariable id="25" style="set-variable">
- <Variable local="false" variableName="decelNewtons" style="variable" pos="-1547.332,-607.8616" />
- <BinaryOp op="-" style="op-sub" pos="-1342.709,-616.4855">
- <CraftProperty property="Performance.MaxActiveEngineThrust" style="prop-performance" pos="-1256.162,-690.2082" />
- <CraftProperty property="Performance.Mass" style="prop-performance" pos="-919.7457,-694.5567" />
- </BinaryOp>
- </SetVariable>
- <SetVariable id="26" style="set-variable">
- <Variable local="false" variableName="minSecondsToStop" style="variable" pos="-1323.61,-873.8715" />
- <BinaryOp op="/" style="op-div" pos="-1083.52,-873.735">
- <BinaryOp op="*" style="op-mul" pos="-449.1889,-590.8098">
- <CraftProperty property="Performance.Mass" style="prop-performance" pos="-691.9956,-586.071" />
- <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="-701.4778,-544.5488" />
- </BinaryOp>
- <Variable local="false" variableName="decelNewtons" style="variable" pos="45.45762,-591.5277" />
- </BinaryOp>
- </SetVariable>
- <DisplayMessage id="27" style="display">
- <MathFunction function="abs" style="op-math" pos="-1496.348,70.62444">
- <Variable local="false" variableName="minSecondsToStop" style="variable" pos="-1282.443,-479.9179" />
- </MathFunction>
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <If id="28" style="if">
- <Comparison op="=" style="op-eq" pos="-1422.05,71.93518">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="4" />
- </Comparison>
- <Instructions>
- <DisplayMessage id="29" style="display">
- <CraftProperty property="Performance.Mass" style="prop-performance" pos="971.3693,-710.4379" />
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <If id="30" style="if">
- <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="5" />
- </Comparison>
- <Instructions>
- <DisplayMessage id="31" style="display">
- <CraftProperty property="Vel.Acceleration" style="prop-velocity" pos="-1368.112,29.53385" />
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <If id="32" style="if">
- <Comparison op="=" style="op-eq" pos="898.3748,-752.8038">
- <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
- <Constant text="6" />
- </Comparison>
- <Instructions>
- <DisplayMessage id="33" style="display">
- <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="968.9139,-913.0147" />
- <Constant number="7" />
- </DisplayMessage>
- </Instructions>
- </If>
- <WaitSeconds id="34" style="wait-seconds">
- <Variable local="false" variableName="tickRate" style="variable" pos="-1420.891,-127.9267" />
- </WaitSeconds>
- </Instructions>
- <Instructions>
- <Event event="ReceiveMessage" id="35" style="receive-msg" pos="-918.0729,119.7267">
- <Constant canReplace="false" text="startHover" />
- </Event>
- <While id="36" style="while">
- <Comparison op="=" style="op-eq" pos="-208.2243,600.3671">
- <Variable local="false" variableName="boolStopHover" style="variable" pos="-419.1737,598.4014" />
- <Constant style="false" pos="-299.1122,595.8685" bool="false" />
- </Comparison>
- <Instructions>
- <SetVariable id="37" style="set-variable">
- <Variable local="false" variableName="localG" style="variable" pos="-426.1773,-255.0776" />
- <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="-326.9799,-256.7808" />
- </SetVariable>
- <SetVariable id="38" style="set-variable">
- <Variable local="false" variableName="curMass" style="variable" pos="-476.1551,-302.3635" />
- <CraftProperty property="Performance.Mass" style="prop-performance" pos="-305.5593,-300.2222" />
- </SetVariable>
- <SetVariable id="39" style="set-variable">
- <Variable local="false" variableName="curVerVel" style="variable" pos="-458.789,-344.7579" />
- <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="-295.9166,-344.4792" />
- </SetVariable>
- <SetVariable id="40" style="set-variable">
- <Variable local="false" variableName="MassOffset" style="variable" pos="-542,-644.0011" />
- <BinaryOp op="*" style="op-mul" pos="-685,-286">
- <BinaryOp op="-" style="op-sub" pos="-23.67999,-265">
- <Variable local="false" variableName="prevMass" style="variable" pos="-118.86,-565" />
- <Variable local="false" variableName="curMass" style="variable" pos="-100.2897,-349.8675" />
- </BinaryOp>
- <Constant text="2" />
- </BinaryOp>
- </SetVariable>
- <SetVariable id="41" style="set-variable">
- <Variable local="false" variableName="PredictedMass" style="variable" pos="-384,-559.0011" />
- <BinaryOp op="-" style="op-sub" pos="-354,-632.0011">
- <Variable local="false" variableName="curMass" style="variable" pos="-202.1375,-395.8675" />
- <Variable local="false" variableName="MassOffset" style="variable" pos="23.14001,-483" />
- </BinaryOp>
- </SetVariable>
- <SetVariable id="42" style="set-variable">
- <Variable local="false" variableName="velOffset" style="variable" pos="535.8397,-542.8654" />
- <BinaryOp op="*" style="op-mul" pos="-297.2482,-481.4932">
- <Variable local="false" variableName="curVerVel" style="variable" pos="-256.2124,-488.4033" />
- <Variable local="false" variableName="PredictedMass" style="variable" pos="1283.916,-387.9066" />
- </BinaryOp>
- </SetVariable>
- <If id="43" style="if">
- <Comparison op="l" style="op-lt" pos="-262.4802,-454.8654">
- <Constant text="0.000001" />
- <Variable local="false" variableName="curVerVel" style="variable" pos="-366.7087,-536.2852" />
- </Comparison>
- <Instructions>
- <SetVariable id="44" style="set-variable">
- <Variable local="false" variableName="ReqThrust" style="variable" pos="-649,-158" />
- <BinaryOp op="-" style="op-sub" pos="-22,-504">
- <BinaryOp op="*" style="op-mul" pos="769.2397,-779.8654">
- <Variable local="false" variableName="PredictedMass" style="variable" pos="11.14001,-306" />
- <Variable local="false" variableName="localG" style="variable" pos="-114.57,-573.9734" />
- </BinaryOp>
- <BinaryOp op="*" style="op-mul" pos="297,-448">
- <Constant text="2" />
- <Variable local="false" variableName="velOffset" style="variable" pos="790.0497,-469.8653" />
- </BinaryOp>
- </BinaryOp>
- </SetVariable>
- </Instructions>
- </If>
- <ElseIf id="45" style="else-if">
- <Comparison op="g" style="op-gt" pos="-221.0303,-561.8654">
- <Constant text="-0.000001" />
- <Variable local="false" variableName="curVerVel" style="variable" pos="-300.411,-640.6428" />
- </Comparison>
- <Instructions>
- <SetVariable id="46" style="set-variable">
- <Variable local="false" variableName="ReqThrust" style="variable" pos="-649,-158" />
- <BinaryOp op="+" style="op-add" pos="-30.76025,-610.8654">
- <BinaryOp op="*" style="op-mul" pos="705.2397,-175.8653">
- <Variable local="false" variableName="PredictedMass" style="variable" pos="11.14001,-306" />
- <Variable local="false" variableName="localG" style="variable" pos="-110.929,-673.6609" />
- </BinaryOp>
- <BinaryOp op="*" style="op-mul" pos="307.0496,-552.8653">
- <Constant text="2" />
- <Variable local="false" variableName="velOffset" style="variable" pos="790.0497,-469.8653" />
- </BinaryOp>
- </BinaryOp>
- </SetVariable>
- </Instructions>
- </ElseIf>
- <ElseIf id="47" style="else">
- <Constant bool="true" />
- <Instructions>
- <SetVariable id="48" style="set-variable">
- <Variable local="false" variableName="ReqThrust" style="variable" pos="-649,-158" />
- <BinaryOp op="*" style="op-mul" pos="-685.46,-386">
- <Variable local="false" variableName="PredictedMass" style="variable" pos="11.14001,-306" />
- <Variable local="false" variableName="localG" style="variable" pos="-124.5701,-771.7005" />
- </BinaryOp>
- </SetVariable>
- </Instructions>
- </ElseIf>
- <SetVariable id="49" style="set-variable">
- <Variable local="false" variableName="ReqThrottle" style="variable" pos="-620,-204" />
- <BinaryOp op="/" style="op-div" pos="-460.29,-455">
- <BinaryOp op="*" style="op-mul" pos="-328.29,-411">
- <Variable local="false" variableName="ReqThrust" style="variable" pos="-155.29,-341" />
- <Constant text="100" />
- </BinaryOp>
- <CraftProperty property="Performance.MaxActiveEngineThrust" style="prop-performance" pos="-73.44066,-837.1736" />
- </BinaryOp>
- </SetVariable>
- <SetVariable id="50" style="set-variable">
- <Variable local="false" variableName="prevMass" style="variable" pos="-859,-388" />
- <Variable local="false" variableName="curMass" style="variable" pos="-273.4006,-904.8049" />
- </SetVariable>
- <If id="51" style="if">
- <Comparison op="l" style="op-lt" pos="635.4724,-308.5299">
- <Variable local="false" variableName="ReqThrottle" style="variable" pos="1143.013,-248.1843" />
- <Constant number="0" />
- </Comparison>
- <Instructions>
- <SetInput input="throttle" id="52" style="set-input">
- <Constant text="0" />
- </SetInput>
- </Instructions>
- </If>
- <ElseIf id="53" style="else-if">
- <Comparison op="g" style="op-gt" pos="675.7505,-401.3304">
- <Variable local="false" variableName="ReqThrottle" style="variable" pos="1166.24,-150.4557" />
- <Constant text="100" />
- </Comparison>
- <Instructions>
- <SetInput input="throttle" id="54" style="set-input">
- <Constant text="100" />
- </SetInput>
- </Instructions>
- </ElseIf>
- <ElseIf id="55" style="else">
- <Constant bool="true" />
- <Instructions>
- <SetInput input="throttle" id="56" style="set-input">
- <Variable local="false" variableName="ReqThrottle" style="variable" pos="-834.86,-273" />
- </SetInput>
- </Instructions>
- </ElseIf>
- <BroadcastMessage local="true" id="57" style="broadcast-msg">
- <Constant text="displayThread" />
- <CraftProperty property="Input.Slider1" style="prop-input" pos="49.69482,-838.8038" />
- </BroadcastMessage>
- <WaitSeconds id="58" style="wait-seconds">
- <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
- </WaitSeconds>
- </Instructions>
- </While>
- </Instructions>
- <Instructions>
- <Event event="ReceiveMessage" id="59" style="receive-msg" pos="-219.9734,786.0827">
- <Constant canReplace="false" text="startDrop" />
- </Event>
- <DisplayMessage id="60" style="display">
- <Constant text="STARTINGDROP" />
- <Constant number="7" />
- </DisplayMessage>
- <SetInput input="throttle" id="61" style="set-input">
- <Constant number="0" />
- </SetInput>
- <While id="62" style="while">
- <Constant style="true" pos="-1410.818,-309.8009" bool="true" />
- <Instructions>
- <BroadcastMessage local="true" id="63" style="broadcast-msg">
- <Constant text="tts" />
- <Variable local="true" variableName="data" pos="-888.7729,1002.866" />
- </BroadcastMessage>
- <WaitSeconds id="64" style="wait-seconds">
- <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
- </WaitSeconds>
- </Instructions>
- </While>
- <WaitSeconds id="65" style="wait-seconds">
- <Constant text="2" />
- </WaitSeconds>
- </Instructions>
- <Instructions>
- <Event event="ReceiveMessage" id="66" style="receive-msg" pos="195.9205,627.3046">
- <Constant canReplace="false" text="ttstesting" />
- </Event>
- <SetVariable id="67" style="set-variable">
- <Variable local="false" variableName="k" style="variable" pos="-493.2145,1056.195" />
- <Constant text="0.76" />
- </SetVariable>
- <SetVariable id="68" style="set-variable">
- <Variable local="false" variableName="CONSTe" style="variable" pos="-522.2411,1014.251" />
- <Constant text="2.718281828459045" />
- </SetVariable>
- <SetVariable id="69" style="set-variable">
- <Variable local="false" variableName="localMass" style="variable" pos="-501.0224,1012.797" />
- <CraftProperty property="Performance.Mass" style="prop-performance" pos="-367.056,1017.426" />
- </SetVariable>
- <SetVariable id="70" style="set-variable">
- <Variable local="false" variableName="localVertVel" style="variable" pos="-484.0382,957.91" />
- <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="-350.806,935.8204" />
- </SetVariable>
- <SetVariable id="71" style="set-variable">
- <Variable local="false" variableName="localAGL" style="variable" pos="-486.7497,918.5508" />
- <CraftProperty property="Altitude.AGL" style="prop-altitude" pos="-436.8947,930.3121" />
- </SetVariable>
- <SetVariable id="72" style="set-variable">
- <Variable local="false" variableName="hkm" style="variable" pos="-516.9766,840.3088" />
- <BinaryOp op="/" style="op-div" pos="-420.9359,836.3558">
- <BinaryOp op="*" style="op-mul" pos="424.9106,937.1416">
- <Variable local="false" variableName="localAGL" style="variable" pos="-104.3024,878.7045" />
- <Variable local="false" variableName="k" style="variable" pos="182.0296,960.4854" />
- </BinaryOp>
- <Variable local="false" variableName="localMass" style="variable" pos="786.7081,1047" />
- </BinaryOp>
- </SetVariable>
- <SetVariable id="73" style="set-variable">
- <Variable local="false" variableName="xVal" style="variable" pos="-502.1538,1012.02" />
- <BinaryOp op="^" style="op-exp" pos="-404.5838,965.6602">
- <Variable local="false" variableName="CONSTe" style="variable" pos="-399.6445,833.5957" />
- <Variable local="false" variableName="hkm" style="variable" pos="-304.1183,790.7617" />
- </BinaryOp>
- </SetVariable>
- <SetVariable id="74" style="set-variable">
- <Variable local="false" variableName="acoshVal" style="variable" pos="-520.9114,1011.526" />
- <MathFunction function="ln" style="op-math" pos="-346.86,1018.06">
- <BinaryOp op="+" style="op-add" pos="-221.131,951.2972">
- <Variable local="false" variableName="xVal" style="variable" pos="-369.679,617.1437" />
- <MathFunction function="sqrt" style="op-math" pos="1653.176,1762.636">
- <BinaryOp op="-" style="op-sub" pos="-148.4915,617.1436">
- <BinaryOp op="^" style="op-exp" pos="-624.824,623.8941">
- <Variable local="false" variableName="xVal" style="variable" pos="-502.3143,616.0185" />
- <Constant text="2" />
- </BinaryOp>
- <Constant text="1" />
- </BinaryOp>
- </MathFunction>
- </BinaryOp>
- </MathFunction>
- </SetVariable>
- <SetVariable id="75" style="set-variable">
- <Variable local="false" variableName="firstVal" style="variable" pos="-479.5165,758.8895" />
- <MathFunction function="sqrt" style="op-math" pos="-384.6044,762.1221">
- <BinaryOp op="/" style="op-div" pos="-10.58694,968.5217">
- <Variable local="false" variableName="localMass" style="variable" pos="256.8684,851.7845" />
- <BinaryOp op="*" style="op-mul" pos="329.2121,1024.555">
- <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="320.8614,953.5962" />
- <Variable local="false" variableName="k" style="variable" pos="537.0852,957.7113" />
- </BinaryOp>
- </BinaryOp>
- </MathFunction>
- </SetVariable>
- <SetVariable id="76" style="set-variable">
- <Variable local="false" variableName="timetosplat" style="variable" pos="-329.2221,1409.808" />
- <BinaryOp op="*" style="op-mul" pos="-343.0496,706.4349">
- <Variable local="false" variableName="firstVal" style="variable" pos="-334.7648,703.1479" />
- <Variable local="false" variableName="acoshVal" style="variable" pos="-246.6469,712.344" />
- </BinaryOp>
- </SetVariable>
- <DisplayMessage id="77" style="display">
- <Variable local="false" variableName="timetosplat" style="variable" pos="343.5108,-53.64553" />
- <Constant number="7" />
- </DisplayMessage>
- <WaitSeconds id="78" style="wait-seconds">
- <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
- </WaitSeconds>
- </Instructions>
- <Instructions>
- <Event event="ReceiveMessage" id="79" style="receive-msg" pos="190.4572,1025.284">
- <Constant canReplace="false" text="tts" />
- </Event>
- <SetVariable id="80" style="set-variable">
- <Variable local="false" variableName="velocityFinal" style="variable" pos="-344.8086,1193.208" />
- <MathFunction function="sqrt" style="op-math" pos="-158.2608,1200.406">
- <BinaryOp op="+" style="op-add" pos="651.0931,1250.936">
- <BinaryOp op="^" style="op-exp" pos="533.5822,1369.328">
- <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="537.1428,1351.994" />
- <Constant text="2" />
- </BinaryOp>
- <BinaryOp op="*" style="op-mul" pos="376.4121,1373.147">
- <Constant text="2" />
- <BinaryOp op="*" style="op-mul" pos="16.53604,1515.628">
- <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="19.26636,1518.525" />
- <CraftProperty property="Altitude.AGL" style="prop-altitude" pos="244.3165,1524.401" />
- </BinaryOp>
- </BinaryOp>
- </BinaryOp>
- </MathFunction>
- </SetVariable>
- <SetVariable id="81" style="set-variable">
- <Variable local="false" variableName="timetosplat" style="variable" pos="-329.2221,1409.808" />
- <BinaryOp op="/" style="op-div" pos="-192.1417,1376.276">
- <BinaryOp op="-" style="op-sub" pos="-186.4146,1385.053">
- <MathFunction function="abs" style="op-math" pos="-157.7779,1419.553">
- <Variable local="false" variableName="velocityFinal" style="variable" pos="257.2175,1152.459" />
- </MathFunction>
- <MathFunction function="abs" style="op-math" pos="141.6629,1418.496">
- <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="511.3626,1320.186" />
- </MathFunction>
- </BinaryOp>
- <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="180.1683,1413.192" />
- </BinaryOp>
- </SetVariable>
- <DisplayMessage id="82" style="display">
- <Variable local="false" variableName="timetosplat" style="variable" pos="-538.2981,1253.104" />
- <Constant number="7" />
- </DisplayMessage>
- <WaitSeconds id="83" style="wait-seconds">
- <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
- </WaitSeconds>
- </Instructions>
- <Expressions />
- </Program>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement