How to fire a missile

51 views
Skip to first unread message

Steve Jones

unread,
May 12, 2016, 12:44:58 PM5/12/16
to OpenEaagles
Its been some time since I've picked up Openeaagles, I think version 13.01 was the current one then.  I want to simply fire a missile or drop a GBU.  Is there a sample on doing this even if its a manual keypress to fire?

-Steve

Elias Tarasov

unread,
May 15, 2016, 1:45:22 PM5/15/16
to OpenEaagles
Hey Steve!
Look at the mainCockpit example into OpenEaaglesExamples. It has an example of the manual missile launch by keypress.

Steve Jones

unread,
May 16, 2016, 11:08:16 AM5/16/16
to OpenEaagles
Awesome!  How did I miss that?  I tried every example and even looked at a lot of source code but I did not look into TestIoHandler.  I also need to pay more attention to the readme.md files since the one for this example shows the input keys.  This is exactly what I needed.  Thank you!

Steve Jones

unread,
May 16, 2016, 11:55:04 AM5/16/16
to OpenEaagles
I have another question.  I've successfully worked with the AAM missiles but now I want to drop a few GBUs.  Stepping the code in Debug shows that the stores manager returns null for available bomb. (getNextBombImp())  Further investigation led me to the script files which I have only a basic understanding.  But in the player01.epp file I see the F16 loadout is only AAM missiles.  So now it makes sense why the SMS returned null for bombs.  So here's the question.  

1) How do I configure player01.epp for a couple GBUs?  Is there an example script?
2) Once that is done what do I need to set up in order to launch one?  target setup?  
2.1) I am interested in launch and weapon dynamics.  
3) As a more advanced test Id like to set up a laser designator to point to a specific lat/lon/alt while a laser guide GBU navigates to it.

Documentation is a bit thin (sorry Doug) but the code base is great.

Elias Tarasov

unread,
May 18, 2016, 4:55:55 PM5/18/16
to OpenEaagles
Steve, AFAIK there is no direct GBU's support within OE.
Basically, GBU has its own aerodynamics and FCS, so you have to implement FDM for it just like for any other aircraft's FDM in OE (using JSBSim).
Sorry i can't help you much (at least for now) since i'm involved into the two separate projects (UAV development) on my day-time job.

Steve Jones

unread,
May 19, 2016, 2:40:01 PM5/19/16
to OpenEaagles
Elias,
No problem.  I am getting to understand OEs scripting so maybe I can replace an AAM with a Bomb type.  The standard issue Bomb in OE does use the RACModel (robot aircraft model) for the dynamics which appears to be simple point-mass which is good enough for now. 

If I may ask what is your day job?

-Steve

Elias Tarasov

unread,
May 21, 2016, 4:50:43 AM5/21/16
to OpenEaagles
Yes, it could be a good starting point (RACModel).
I have two jobs. One is UAV which is consisted of 2 helium baloons with a rotor engine in a middle, and the second UAV is a tiltrotor aircraft.
My main area is math modeling and implementation of FCS.

Steve Jones

unread,
May 23, 2016, 12:25:06 PM5/23/16
to OpenEaagles
Elias,
Sounds like interesting work.  I asked because I work for a UAV aircraft company myself. My particular job is flight simulator graphics and low fidelity munitions simulator for MQ-9 UAVs.

Doug

unread,
May 27, 2016, 10:49:00 AM5/27/16
to opene...@googlegroups.com
Steve,

A minor note... I wouldn't call the oe 'input' or configuration language a script, per se.  It's more of a description file that creates a specific object tree configuration.

Sorry if I'm slicing and dicing terminology a bit, but since it's a configuration language, it does't support any 'behavior' definition.  The "EDL" stands for eaagles description language.

I hope to bring in more 'script' capabilities at some point, but for now, all behavior is coded in c++ -- parameters or 'slots' properties can be used to adjust that behavior, but the behavior itself is 'hard coded'.

One thing you might notice (with current code on GitHub) is the very explicit naming of the parser to a 'edl_parser' - meaning, it's parses "EDL" description files.  Having messed around with JSON, it's amazingly close to EDL in terms of object syntax.  So, do doubt, in the back of my mind I'm thinking a JSON 'compatible' format could be added (i.e., 'json_parser').  Doing that would potentially open the door to all sorts of cool editors.

Doug

Reply all
Reply to author
Forward
0 new messages