FlightGear doesn't have any built in smoothing of external data.  I played
around with this once, and decided that FlightGear isn't the best place for
this.  I ended up implementing a small amount of smoothing/interpolation in
my software layer that received data from the UAV and then passed it along
to FlightGear.  If you do the smoothing yourself you have control over the
update rate, smoothing parameters, the smoothing algorithm, etc.  Also you
have the opportunity to fill in additional data slots with estimates (i.e. I
had fun estimating control surface deflections based on my gyro data and it
really spiffed up the 3d rendering.)

Regards,

Curt.


On Wed, Oct 28, 2009 at 3:19 AM, Soren Hansen wrote:

> Hello
>
> I am using Flightgear to visualize live telemetry from an UAV. I am
> feeding flightgear through a socket connection opened by:
>
> fgfs --native-fdm=socket,in,30,,5500,udp --fdm=external
>
> The problem is that when I am using helicopter view I get a very
> flickery picture of the airplane. The problem arises when the viewpoint
> is moved. Apparently the plane is drawn seen from one viewpoint in one
> frame and then from another viewpoint in another frame.
>
> Is there any way to get a smooth moving airplane, for example some sort
> of feedback from flightgear that says it is ready to receive new data.
>
> Kind regards
> Soren Hansen
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Flightgear-users mailing list
> Flightgear-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-users
>



-- 
Curtis Olson: http://baron.flightgear.org/~curt/
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to