Board index FlightGear Support Interfacing

Flightgear Multiplayer jitter using Matlab/Simulink

Connecting two computers, using generic protocol, connecting with Matlab?

Flightgear Multiplayer jitter using Matlab/Simulink

Postby vcmman » Thu Jan 17, 2013 6:25 am

Hi all,
I am a starter here.I'm doing a university project. I need to control two aircrafts with two Simulink at the same time.
I do as vbnhu's post in viewtopic.php?f=4&t=3165&p=174710#p174710, and met the same jitter problem.
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.
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.
vcmman
 
Posts: 4
Joined: Thu Jan 17, 2013 3:44 am

Re: Flightgear Multiplayer jitter using Matlab/Simulink

Postby vcmman » Sat Jan 19, 2013 12:22 pm

Is there anyone can help?
vcmman
 
Posts: 4
Joined: Thu Jan 17, 2013 3:44 am

Re: Flightgear Multiplayer jitter using Matlab/Simulink

Postby 172 » Sat Jan 19, 2013 6:19 pm

Don't know, you might try on the flightgear dev list instead of the forum...
172
 
Posts: 9
Joined: Tue Nov 01, 2011 4:55 pm

Re: Flightgear Multiplayer jitter using Matlab/Simulink

Postby vcmman » Mon Jan 21, 2013 4:51 am

Thanks! Hope this problem will be solved asap.
172 wrote in Sat Jan 19, 2013 6:19 pm:Don't know, you might try on the flightgear dev list instead of the forum...
vcmman
 
Posts: 4
Joined: Thu Jan 17, 2013 3:44 am

Re: Flightgear Multiplayer jitter using Matlab/Simulink

Postby Allan » Tue Oct 15, 2013 11:14 am

Has this problem ever been solved?

cheers
Allan
 
Posts: 8
Joined: Thu Oct 10, 2013 1:26 pm

Re: Flightgear Multiplayer jitter using Matlab/Simulink

Postby ma15rysi » Sat Dec 12, 2020 5:02 pm

Hello to everyone who is still following this post :D has this problem ever been solved?
ma15rysi
 
Posts: 10
Joined: Fri Dec 11, 2020 6:22 pm

Re: Flightgear Multiplayer jitter using Matlab/Simulink

Postby wkitty42 » Sun Dec 13, 2020 2:53 pm

if it was, no one updated the topic in the intervening seven years...

if it were me, i'd look at the timing of the data being sent to FG... perhaps FG is updating faster than the data is sent? or perhaps there's multiple updates in a row with the same data instead of only the changed data being sent... but this is just an eWAG looking on from the outside...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04


Return to Interfacing

Who is online

Users browsing this forum: No registered users and 4 guests