Hi all;

I am studying on aircraft modelling and control and I have built a few aircraft 
models as Matlab/Simulink model. I want to visualize the aircraft in the 
Flightgear in order to examine the performance of the controller better. 
Currently, my matlab model sends the following motion data by udp and I need to 
write a C++ application that converts this packet into fdm packet. 

struct motionData
{
        char callsign[11];
        char aircraftId;
        

        // position wrt the earth centered frame
        double position[3];
        // orientation wrt the earth centered frame
        float orientation[3];
  
        // linear velocity wrt the earth centered frame measured in
        // the earth centered frame
        float linearVel[3];
        // angular velocity wrt the earth centered frame measured in
        // the earth centered frame
        float angularVel[3];
  
        // linear acceleration wrt the earth centered frame measured in
        // the earth centered frame
        float linearAccel[3];
        // angular acceleration wrt the earth centered frame measured in
        // the earth centered frame
        float angularAccel[3];
};

I don't know source codes of the Flightgear in detail and I want to know how 
Flightgear creates and sends fdm packets, or at least which parts of the source 
codes should I read first? 

Thanks for your help.

Yatko

--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/messages/flightgear-users@lists.sourceforge.net/topic.html

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to