Comments (7)
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.
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.
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.
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.
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.
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.
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)
- XPlaneConnect is not working with XPlane 11 HOT 3
- X-Plane 12 gives warnings of Datarefs Deprecated especially 'yolk' HOT 1
- X-Plane 12.00b11 with XPlaneConnect r1 - r3 not loading in ubuntu. HOT 1
- failed compilation for c example client HOT 1
- Connection reset error HOT 2
- XPLANE 12, 5-7FPS LOOSE HOT 1
- how to read text from Xplane11? HOT 1
- getPOSI is not giving sensible LLA HOT 1
- Uncontrollable aircraft. SendPOS changing heading
- getCTRL when physics engine disabled?
- getposi changed?
- Initialize Engine When Teleporting Plane HOT 1
- Using angles as control input HOT 1
- C code to Xplane dataref
- Plugin does not load in X-Plane 12 HOT 1
- Command horizontal and vertical throttles HOT 3
- Please adjust for SDK release 4 so that we can use with X-Plane 12 HOT 1
- Reading arrays larger than 255 elements HOT 5
- xpcPlugin under W11/XP12 HOT 1
- Frequent UDP connection issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xplaneconnect.