Coder Social home page Coder Social logo

Determine Simulink Architecture about xplaneconnect HOT 7 OPEN

nasa avatar nasa commented on July 29, 2024
Determine Simulink Architecture

from xplaneconnect.

Comments (7)

nlsn avatar nlsn commented on July 29, 2024

Any thoughts about a Simulink architecture?

I saw that there are a couple different implementations available on Mathworks File Exchange, but I haven't tried using them.

from xplaneconnect.

jason-watkins avatar jason-watkins commented on July 29, 2024

Hey Nelson,

To be honest, I rather doubt a Simulink interface for XPC is going to happen in the near future. I worked on the project as a summer intern, so I'm not officially on the project anymore at all, although I do try to keep contributing when I can. And last I heard, Chris (@teubert) didn't have any time allocated for XPC development either, so there's not really anyone to do the work.

That said, it was my hope that it would be relatively easy to use XPC within Simulink by simply embedding MATLAB functions, but I never learned enough Simulink to know if that was realistic. If you have a particular use case in mind, I would be interested to hear your thoughts on what we should do to better support simulink.

Best,
Jason

P.S., Based on the F-15 avatar, are you the same Nelson Brown that works at Armstrong?

from xplaneconnect.

nlsn avatar nlsn commented on July 29, 2024

I have a vague notion of finding a student for the fall who wants to put together a wake-surfing simulation of two airplanes that can be published, replicated, and modified.

We have a working sim at Armstrong, and we are planning research flights this summer. So we will hopefully have some validation datasets soon.

I don't think X-plane makes any attempt to model wakes, and I'm not at all sure that a wake model could be grafted on with XPC.

from xplaneconnect.

jason-watkins avatar jason-watkins commented on July 29, 2024

Unfortunately, the internals of X-Plane would make that scenario pretty tough to implement using XPC. We can get and set just about any variable in the X-Plane sim, but we there isn't an easy way to add in new simulation parameters. You could probably figure out how to get something working, but I can think of a few issues that are likely to crop up, and in the end it might be more frustrating than helpful.

It sounds like an interesting problem to tackle though. I wouldn't mind taking a more through look at what it would take to add your model into X-Plane, but I would need to see the details of the wake simulation to really get an idea of what's involved. I'm guessing the existing sim isn't cleared for public release, in which case there's not much I can do. If it happens that you can send me some more details about the wake sim, I'd be happy to discuss supporting your use case further.

In any case, I think that grafting a wake model into X-Plane is likely to be a harder problem than interacting with XPC in Simulink.

from xplaneconnect.

nlsn avatar nlsn commented on July 29, 2024

Thanks for the insight. The wake model is a Simulink implementation of a
published wake model. The hard part is Armstrong software release policy.
We have a modified TCM sim version. Maybe TCM could be connected to X-Plane
for cockpit interface and vis, but keep the EOM in Simulink.
TCM: https://software.nasa.gov/software/LAR-18322-1

On Tue, Mar 1, 2016, 10:17 PM Jason Watkins [email protected]
wrote:

Unfortunately, the internals of X-Plane would make that scenario pretty
tough to implement using XPC. We can get and set just about any variable in
the X-Plane sim, but we there isn't an easy way to add in new simulation
parameters. You could probably figure out how to get something working, but
I can think of a few issues that are likely to crop up, and in the end it
might be more frustrating than helpful.

It sounds like an interesting problem to tackle though. I wouldn't mind
taking a more through look at what it would take to add your model into
X-Plane, but I would need to see the details of the wake simulation to
really get an idea of what's involved. I'm guessing the existing sim isn't
cleared for public release, in which case there's not much I can do. If it
happens that you can send me some more details about the wake sim, I'd be
happy to discuss supporting your use case further.

In any case, I think that grafting a wake model into X-Plane is likely to
be a harder problem than interacting with XPC in Simulink.


Reply to this email directly or view it on GitHub
#51 (comment).

from xplaneconnect.

teubert avatar teubert commented on July 29, 2024

It sounds like Jason's already answered most of your questions. I would just add a few things:

  • Using X-Plane for your visuals (Out-the window display, multiple aircraft scenario visualization, control panel) is a definite possibility. That would not be very difficult to implement.
  • I believe there is already a wake turbulence model implemented in X-Plane. I'm not sure what model they use, but I could look into that if you would like me too. Here's a video of X-Plane Wake turbulence in action: https://www.youtube.com/watch?v=pgaAQAWwthA
  • I agree with Jason's assessment that it might be difficult to implement your wake turbulence model with the X-Plane flight simulator.
  • Jason is right- Unfortunately, right now there is no funding for XPC support. That said Jason will be likely returning this summer as an intern again. At that point he might be able to provide some additional support.

Hope this helps,
Chris


From: Nelson Brown [[email protected]]
Sent: Wednesday, March 02, 2016 5:35 AM
To: nasa/XPlaneConnect
Cc: Teubert, Christopher (ARC-TI)[SGT, INC]
Subject: Re: [XPlaneConnect] Determine Simulink Architecture (#51)

Thanks for the insight. The wake model is a Simulink implementation of a
published wake model. The hard part is Armstrong software release policy.
We have a modified TCM sim version. Maybe TCM could be connected to X-Plane
for cockpit interface and vis, but keep the EOM in Simulink.
TCM: https://software.nasa.gov/software/LAR-18322-1

On Tue, Mar 1, 2016, 10:17 PM Jason Watkins [email protected]
wrote:

Unfortunately, the internals of X-Plane would make that scenario pretty
tough to implement using XPC. We can get and set just about any variable in
the X-Plane sim, but we there isn't an easy way to add in new simulation
parameters. You could probably figure out how to get something working, but
I can think of a few issues that are likely to crop up, and in the end it
might be more frustrating than helpful.

It sounds like an interesting problem to tackle though. I wouldn't mind
taking a more through look at what it would take to add your model into
X-Plane, but I would need to see the details of the wake simulation to
really get an idea of what's involved. I'm guessing the existing sim isn't
cleared for public release, in which case there's not much I can do. If it
happens that you can send me some more details about the wake sim, I'd be
happy to discuss supporting your use case further.

In any case, I think that grafting a wake model into X-Plane is likely to
be a harder problem than interacting with XPC in Simulink.


Reply to this email directly or view it on GitHub
#51 (comment).


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-191239920.

from xplaneconnect.

nlsn avatar nlsn commented on July 29, 2024

Well now I'm curious what wake vortex models are implemented in X-Plane. But please don't trouble yourself with investigating just to answer my curiosity. Since the X-Plane code is closed, I think it would be an uphill battle to convince people the model is good enough to rely on for research.

from xplaneconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.