Hi,
may i know the paramter to set altitude of each waypoint in c3104.xml in scripts for C310 flight.
i felt "hydro/alt-agl-ft" parameter is correct for altitude set @ each waypoint.
eg:
<event name="Head to first waypoint">
<condition>position/h-agl-ft ge 800</condition>
</event>
<event name="Second waypoint">
<condition>position/h-agl-ft ge 1200</condition>
</event>
Kindly correct me if am wrong & thanks in advance.
Regards,
KrishnaRao Veeramachaneni.
We are eagerly waiting for answer of this question.. i appreciate helping hand to answer this issue.
There is no property names, "hydro/alt-agl-ft". In the script c3104.xml (as it is currently written in our JSBSim CVS repository) there is this line in the first event:
This sets the altitude setpoint. You would need to reset this property when the new waypoint is set. I don't know what the "hydro" prefix is on some of the properties. I don't have that in my version of the script.
I hope this helps. Let me know if you need more help, or ask further questions on the mailing list.
I appreciate Berndt firstly for the quick response.
Here am working on waypoint navigation.
Departure airport : denvar
Arrival airport : eagles
Am using the c3104.xml (Script) file with below configuration
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSimScript.xsl"?>
<runscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd" name="C172-01A takeoff run">
<event name="Start engine">
<description>
Start engine and set initial heading and waypoints, turn on heading-hold mode.
</description>
<condition>simulation/sim-time-sec ge 0.25</condition>
<notify/>
</event>
<event name="Terminate">
<description>
When the aircraft arrives back at Ellington Field (fifth waypoint)
then terminate the simulation.
</description>
<condition>
guidance/wp-distance lt 100
ap/active-waypoint eq 10
</condition>
<notify/>
</event>
</run>
</runscript>
Here issue is after second way-point, am unable to reach the third way point (using altitude of 9249 ft).
Reason: Tail Skid is happening & flight is crashing.
Can you help me out, to solve this problem.
Thanks in advance.
Regards,
KrishnaRao Veeramachaneni.
Ticket moved from /p/jsbsim/bugs/104/