Skip to content

Commit 52ae398

Browse files
committed
J246: remove unnecessary computation
1 parent 5a26f32 commit 52ae398

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

aircraft/J246/Systems/J246GuidanceExecutive.xml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -162,60 +162,6 @@
162162

163163
<channel name="Orbital Parameters">
164164

165-
<fcs_function name="guidance/executive/semimajor-axis-length-ft">
166-
<description>
167-
This equation calculates the semimajor-axis length in feet. a = mu/(2*mu/r - v^2)
168-
</description>
169-
<function>
170-
<quotient>
171-
<p> guidance/executive/gm </p>
172-
<difference>
173-
<quotient>
174-
<product>
175-
<v> 2.0 </v>
176-
<p> guidance/executive/gm </p>
177-
</product>
178-
<p> position/radius-to-vehicle-ft </p>
179-
</quotient>
180-
<pow>
181-
<p> velocities/eci-velocity-mag-fps </p>
182-
<v> 2.0 </v>
183-
</pow>
184-
</difference>
185-
</quotient>
186-
</function>
187-
</fcs_function>
188-
189-
<fcs_function name="guidance/executive/eccentricity">
190-
<description>
191-
This equation calculates eccentricity. e = sqrt (1 - [ r v cos(gamma) ]^2 / {a * mu})
192-
</description>
193-
<function>
194-
<pow>
195-
<difference>
196-
<v> 1.0 </v>
197-
<quotient>
198-
<pow>
199-
<product>
200-
<property> position/radius-to-vehicle-ft </property>
201-
<property> velocities/eci-velocity-mag-fps </property>
202-
<cos>
203-
<property> flight-path/gamma-rad </property>
204-
</cos>
205-
</product>
206-
<v> 2.0 </v>
207-
</pow>
208-
<product>
209-
<p> guidance/executive/semimajor-axis-length-ft </p>
210-
<p> guidance/executive/gm </p>
211-
</product>
212-
</quotient>
213-
</difference>
214-
<v> 0.5 </v>
215-
</pow>
216-
</function>
217-
</fcs_function>
218-
219165
<fcs_function name="guidance/executive/apoapsis">
220166
<function>
221167
<quotient>

0 commit comments

Comments
 (0)