Curtis Olson wrote:
> 2009/10/31 Ørjan Pettersen <orj...@stud.cs.uit.no 
> <mailto:orj...@stud.cs.uit.no>>
>
>     Hello!
>
>     I was planning on using FG as a UAV test platform. The idea was to
>     have
>     a demo flight with takeoff and landing on about 10 minutes. And during
>     that flight I would gather flight data with an external program. Data
>     like GPS position, airspeed, height and so on.
>
>     Is there an easy way to access different flight data from an external
>     application during flight? The first way that come in mind is to
>     connect
>     to it in multiplayer mode. But, since I never have tested
>     multiplayer, I
>     don't know what information that is sent out to the other players.
>
>     Or perhaps using the Paparazzi project to control the plane, and
>     gather
>     data from Paparazzi instead?
>
>     Does anyone have any thoughts on how this can be done?
>
>
> I think the easiest way to proceed would be to use the FGNetFDM 
> (--native) protocol or the --generic protocol (which allows you to 
> design custom packets with the specific fields you choose.)  Both of 
> these can send the data out as UDP packets which then can be read by 
> your external program using standard socket communication.
>
> This same basic mechanism also would permit your external program to 
> send control commands so if some day you want to do some sort of 
> hardware or software in the loop testing of your uav controller, that 
> is also a possibility.
>
> Curt.
> -- 
> Curtis Olson: http://baron.flightgear.org/~curt/ 
> <http://baron.flightgear.org/%7Ecurt/>
Thanks for the tip. I'll have a look at it.

Oerjan...

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to