Comments (7)
Hi magedmikhail.
This is usually caused by calling openUDP
more than once, and not specifying which socket you want to use in subsequent calls.
Could you post an SSCCE?
from xplaneconnect.
Dear all
please Can you tell me the steps to set the connection between matalb and
x plane.
- I have - x Plane 10 ready
- I Copied the X-Plane Plugin folder (xpcPlugin/XPlaneConnect) to the
plugin directory ([X-Plane Directory]/Resources/plugins/) - matlab ready for Example1
what I should to do for x plane setting option for input output and net
connection(IP for data output and UDP) how you set them up to match with
matlab
Socket = openUDP( 49005); is this correct or Socket = openUDP(
'127.0.0.1',49005);
getDREFs('sim/test/test_float') (My problem here)
On Tue, Jun 16, 2015 at 2:12 PM, Jason Watkins [email protected]
wrote:
Hi magedmikhail.
This is usually caused by calling openUDP more than once, and not
specifying which socket you want to use in subsequent calls.Could you post an SSCCE http://sscce.org/?
—
Reply to this email directly or view it on GitHub
#76 (comment).
Thanks,
Dr. Maged mikhail
Maged B. Mikhail Ph.D.
Tennessee State University
Dept. of Electrical and Computer Engr.
Intelligent Control Systems Lab Rm. 201
Work: (615) 963-5328
Cell: (615) 710-6745
E_mail: [email protected] [email protected]
from xplaneconnect.
Socket = openUDP( 49005);
does appear to be a bug in the sample script. I have corrected it for the next release. Socket = openUDP( '127.0.0.1',49005);
is indeed correct.
Could you verify that you get the same error with a freshly opened copy of MATLAB? Because the example script does not include robust error handling, it's possible for sockets to be abandoned but left open if some other error causes the example script to exit early.
from xplaneconnect.
Hello Maged Mikhail,
Were you able to get this working? I wanted to check in and make sure you got all your questions answered.
~Chris
from xplaneconnect.
Got the same problem here, and can not solve....
I also have:
- x Plane 10 ready
- I Copied the X-Plane Plugin folder (xpcPlugin/XPlaneConnect) to the
plugin directory ([X-Plane Directory]/Resources/plugins/) - matlab ready for Example1
And when I run this example again, I got
Example
xplaneconnect Example Script-
Setting up Simulation
错误使用 XPlaneConnect.getDREFs (line 27)
[getDREFs] ERROR: Multiple clients open. You must specify which client to use.
出错 XPlaneConnect.Example (line 16)
getDREFs('sim/test/test_float')
Thank you.
Moran
from xplaneconnect.
Hi Moran.
I've just pushed an update to the repository that fixes several issues with the MATLAB example script. Could you update to the latest version of master and let me know if it works for you?
Thanks,
Jason
from xplaneconnect.
@ magedmikhail @dangmoran1991
Since I haven't heard anything more, I'm going to hope that no news is good news and you've both gotten things up and running. Feel free to comment here or open a new issue if we can provide any additional help.
Thanks,
Jason
from xplaneconnect.
Related Issues (20)
- Deprecated Data Refs for X-Plane 12
- 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
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.