Re: [Flightgear-devel] Multiplay Jitter Problem with dual models flying in formation

2006-05-08 Thread Mathias Fröhlich
On Monday 08 May 2006 21:37, Martin Spott wrote:
 Mathias Fröhlich wrote:
  If I find time, I have this on my ever growing todo list - no promise
  here ...

 We're always busy keeping Mathias' TODO-list serialized  :-)
:)
Many interresting things to do ...

   Greetings

Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiplay Jitter Problem with dual models flying in formation

2006-05-05 Thread Dave Culp
On Thursday 04 May 2006 08:16 pm, Greg  Lisa wrote:
 I am working on a project that requires visualization of two drones flying
 in formation.  Both drones are driven by an external source via native-fdm
 sockets.  Even though both drones are being fed identical kinematics, I
 experience jitter between the drone models. The faster the drones move,
 causes an increase in jitter. 

Sounds like you need a smoothing algorithm.  It seems the drones are being 
drawn at a lesser rate than the user position is updated.

We used to have a similar problem in our AI and multiplayer systems, but these 
have been fixed.   I don't know what the fixes were, but someone here does.


Dave


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiplay Jitter Problem with dual models flying in formation

2006-05-05 Thread John Wojnaroski
Is the jitter between the drones relative position or are both drones 
equally displaced with respect to a common reference point (like the 
ground)?


If you don't need absolute accuracy as to the drones' position then some 
form of a smoothing filter might work.  OTH if precision is a must you 
may have to move to some sort of a deterministic scheduling approach to 
guarantee deliver of data packets via the socket on a frame-by-frame 
basis as well as the scene rendering.  Keep in mind Linux and flightgear 
run in a pre-emptive task scheduling model, all timing, threads, and 
actions are subject to processing delays and other non-deterministic events.


Regards
John W.


On Friday 05 May 2006 03:16, Greg  Lisa wrote:
 


I am working on a project that requires visualization of two drones flying
in formation.  Both drones are driven by an external source via native-fdm
sockets.  Even though both drones are being fed identical kinematics, I
experience jitter between the drone models. The faster the drones move,
causes an increase in jitter. The drones are displayed together via
multiplayer mode using two pc platforms.  I sure would appreciate any
idea/suggestions on how I may eliminate the jitter problem.  The following
is the startup sequence that I use for both drones.
   



 





---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiplay Jitter Problem with dual models flying in formation

2006-05-05 Thread Ampere K. Hardraade
On Friday 05 May 2006 14:13, Paul Surgeon wrote:
 I guess what you're seeing is some sort of time sync issue between the two
 simulators or just a refresh rate that is too low due to no interpolation
 or extrapolation.
 Maybe the multiplayer code in 0.9.10 could be used for your application -
 IIRC it uses extrapolation to smooth out the updates and 10Hz seems to work
 fine.

 Paul

This is more likely the 3-Hz-issue associated with AI models that Vivian has 
talked about.

Ampere


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Multiplay Jitter Problem with dual models flying in formation

2006-05-04 Thread Greg Lisa








I am working on a project that requires visualization of two
drones flying in formation. Both drones are driven by an external source
via native-fdm sockets. Even though both drones are being fed identical
kinematics, I experience jitter between the drone models. The faster the drones
move, causes an increase in jitter. The drones are displayed together via
multiplayer mode using two pc platforms. I sure would appreciate any
idea/suggestions on how I may eliminate the jitter problem. The following
is the startup sequence that I use for both drones. 



PC1: fgfs --airport-id=KVPS --aircraft=drone1 --fdm=external
--callsign=Drone1

 --native-fdm=socket,in,50,,5600,udp


  --multiplay=out,25,194.27.165.230,5503

  --multiplay=in,25,194.27.165.220,5502



PC2: fgfs airport-id=KVPS aircraft=drone2 fdm=external
callsign=Drone2

 --native-fdm=socket,in,50,,5601,udp


  --multiplay=in,25,194.27.165.230,5503

  --multiplay=out,25,194.27.165.220,5502





Thanks Gregory