Discussion:
Seeking example Nasal script
Chris Nogradi
2007-02-28 13:03:08 UTC
Permalink
Hello, I am looking for some simple Nasal script example to automate a takeoff and flyaround. I have seen the concord (posted by Ampere) example but it seems more complex than what I need (note I know very little about planes). Does anyone have an example using the autopilot similar to a JSBSim example script?

Thanks,

Chris



____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Jon S. Berndt
2007-02-28 13:12:30 UTC
Permalink
Post by Chris Nogradi
Hello, I am looking for some simple Nasal script example to
automate a takeoff and flyaround. I have seen the concord
(posted by Ampere) example but it seems more complex than what I
need (note I know very little about planes). Does anyone have an
example using the autopilot similar to a JSBSim example script?
Chris
As an example of what Chris is referring to when he writes "similar to a
JSBSim example script", here's an example of that (since many of you
probably aren't familiar with the JSBSim scripting feature:

<event name="engine start">
<description>Start the engine, and print a notification
message.</description>
<condition>
sim-time-sec >= 0.25
</condition>
<set name="fcs/throttle-cmd-norm" value="1.0" action="FG_RAMP" tc
="0.5"/>
<set name="fcs/mixture-cmd-norm" value="0.87" action="FG_RAMP" tc
="0.5"/>
<set name="propulsion/magneto_cmd" value="3"/>
<set name="propulsion/starter_cmd" value="1"/>
<notify/>
</event>

<event name="Set heading hold">
<description>Set Heading when 5 ft AGL is reached</description>
<condition>
position/h-agl-ft >= 5
</condition>
<set name="ap/heading_setpoint" value="200"/>
<set name="ap/attitude_hold" value="0"/>
<set name="ap/heading_hold" value="1"/>
<notify/>
</event>

Jon


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Markus Zojer
2007-02-28 15:42:46 UTC
Permalink
Post by Jon S. Berndt
Post by Chris Nogradi
Hello, I am looking for some simple Nasal script example to
automate a takeoff and flyaround. I have seen the concord
(posted by Ampere) example but it seems more complex than what I
need (note I know very little about planes). Does anyone have an
example using the autopilot similar to a JSBSim example script?
Chris
As an example of what Chris is referring to when he writes "similar to a
JSBSim example script", here's an example of that (since many of you
<event name="engine start">
<description>Start the engine, and print a notification
message.</description>
<condition>
sim-time-sec >= 0.25
</condition>
<set name="fcs/throttle-cmd-norm" value="1.0" action="FG_RAMP" tc
="0.5"/>
<set name="fcs/mixture-cmd-norm" value="0.87" action="FG_RAMP" tc
="0.5"/>
<set name="propulsion/magneto_cmd" value="3"/>
<set name="propulsion/starter_cmd" value="1"/>
<notify/>
</event>
<event name="Set heading hold">
<description>Set Heading when 5 ft AGL is reached</description>
<condition>
position/h-agl-ft >= 5
</condition>
<set name="ap/heading_setpoint" value="200"/>
<set name="ap/attitude_hold" value="0"/>
<set name="ap/heading_hold" value="1"/>
<notify/>
</event>
Jon
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-flightmodel mailing list
https://lists.sourceforge.net/lists/listinfo/flightgear-flightmodel
The B-52 uses a nasal script for autotakeoff and landing, take a look at it.
g,
markus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
leee
2007-03-01 13:56:47 UTC
Permalink
Post by Markus Zojer
Post by Jon S. Berndt
Post by Chris Nogradi
Hello, I am looking for some simple Nasal script example to
automate a takeoff and flyaround. I have seen the concord
(posted by Ampere) example but it seems more complex than what I
need (note I know very little about planes). Does anyone have an
example using the autopilot similar to a JSBSim example script?
Chris
As an example of what Chris is referring to when he writes "similar to a
JSBSim example script", here's an example of that (since many of you
<event name="engine start">
<description>Start the engine, and print a notification
message.</description>
<condition>
sim-time-sec >= 0.25
</condition>
<set name="fcs/throttle-cmd-norm" value="1.0" action="FG_RAMP" tc
="0.5"/>
<set name="fcs/mixture-cmd-norm" value="0.87" action="FG_RAMP" tc
="0.5"/>
<set name="propulsion/magneto_cmd" value="3"/>
<set name="propulsion/starter_cmd" value="1"/>
<notify/>
</event>
<event name="Set heading hold">
<description>Set Heading when 5 ft AGL is reached</description>
<condition>
position/h-agl-ft >= 5
</condition>
<set name="ap/heading_setpoint" value="200"/>
<set name="ap/attitude_hold" value="0"/>
<set name="ap/heading_hold" value="1"/>
<notify/>
</event>
Jon
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-flightmodel mailing list
https://lists.sourceforge.net/lists/listinfo/flightgear-flightmodel
The B-52 uses a nasal script for autotakeoff and landing, take a look at
it. g,
markus
The B-52F probably isn't the best example as it doesn't go through a 'rotate'
phase. The A-10 might be a better example but I think it still needs
references to altitude-agl-ft changed to gear-agl-ft for it to work. I think
that the 2d panel that contains the A/P instrument may also still need to be
fixed following the 'clipping' patch but the script should make more sense.

LeeE


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Loading...