[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-devel
Subject:    [Flightgear-devel] Flightgear Multiplayer jitter using Matlab/Simulink
From:       Yingcai Bi <vcmman () gmail ! com>
Date:       2013-01-21 4:01:54
Message-ID: CACFi=PvGGTi=0U53UQguve5BR+eQOr1YUnMzLcd5mxqsvEHH8g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all,
I am a starter here.I'm doing a university project. I need to control two
aircrafts for close formation with two Simulink at the same time.
I do as vbnhu's post in
viewtopic.php?f=4&t=3165&p=174710#p174710<http://www.flightgear.org/forums/viewtopic.php?f=4&t=3165&p=174710#p174710>,
 and met the same jitter problem. One plane flies well and another jitters.

fgfs --aircraft=c172p --fdm=network,localhost,5501,5502,5503
--multiplay=in,25,localhost,5701 --multiplay=out,25,localhost,5702
fgfs --aircraft=c172p --fdm=network,localhost,5507,5508,5509
--multiplay=in,25,localhost,5702 --multiplay=out,25,localhost,5701


Then, I tried the LAN fgms, There are two computers for two simulink
controlled fgfs, one computer as the fgms. There is still the jitter
problem.
Now, I find the implementation of network control with simulink in
viewtopic.php?f=36&t=16200<http://www.flightgear.org/forums/viewtopic.php?f=36&t=16200>
                
.

I wonder if I must implement the multiplayer protocol in simulink and if
the jitter problem can be avoided. Any suggestion from anybody? Thank
you,all.


[Attachment #5 (text/html)]

<div dir="ltr"><span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Hi \
all,</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
 <span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">I \
am a starter here.I&#39;m doing a university project. I need to control two aircrafts \
for close formation with two Simulink at the same time.</span><br \
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
 <span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">I \
do as vbnhu&#39;s post in </span><a class="" \
href="http://www.flightgear.org/forums/viewtopic.php?f=4&amp;t=3165&amp;p=174710#p174710" \
style="margin:0px;padding:0px;color:rgb(16,82,137);text-decoration:initial;font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.2000007629394 \
53px;background-color:rgb(225,235,242)">viewtopic.php?f=4&amp;t=3165&amp;p=174710#p174710</a><span \
style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">, \
and met the same jitter problem. One plane flies well and another \
jitters.</span><blockquote class="" style="margin:0.5em 1px 0px 25px;padding:25px 5px \
5px;background-image:url(http://www.flightgear.org/forums/styles/flightgear/theme/images/quote.gif);background-color:rgb(235,234,221);border:1px \
solid rgb(219,219,206);font-size:0.95em;overflow:hidden;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;line-height:18.200000762939453px;background-repeat:no-repeat \
no-repeat"> <div style="margin:0px;padding:0px">fgfs --aircraft=c172p \
--fdm=network,localhost,5501,5502,5503 --multiplay=in,25,localhost,5701 \
--multiplay=out,25,localhost,5702<br style="margin:0px;padding:0px">fgfs \
--aircraft=c172p --fdm=network,localhost,5507,5508,5509 \
--multiplay=in,25,localhost,5702 --multiplay=out,25,localhost,5701</div> \
</blockquote><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
 <span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Then, \
I tried the LAN fgms, There are two computers for two simulink controlled fgfs, one \
computer as the fgms. There is still the jitter problem.</span><br \
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
 <span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Now, \
I find the implementation of network control with simulink in </span><a class="" \
href="http://www.flightgear.org/forums/viewtopic.php?f=36&amp;t=16200" \
style="margin:0px;padding:0px;color:rgb(16,82,137);text-decoration:initial;font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">viewtopic.php?f=36&amp;t=16200</a><span \
style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">.</span><br \
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
 <span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)"><br></span><div>
 <span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">I \
wonder if I must implement the multiplayer protocol in simulink and if the jitter \
problem can be avoided. Any suggestion from anybody? Thank you,all.</span><br>

</div></div>



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic