Hello,
I want to use one of the built in FDMs to run Flightgear, but I also want to record the trajectory data to MATLAB as it runs. Since the Aerospace Blockset only has blocks for reading in net_ctrls packets I'm using the MATLAB function udp() to open a connection with the native-fdm protocol. I can successfully connect and stream data through the connection; however, my issue is interpreting the data. I've been searching the Wikis for a list that gives the order that properties are sent as well as their data type (float or double), so that I can convert the individual bytes into the data I need. Does a comprehensive list with this information exist and can someone point me to a link? Alternatively is there an existing MATLAB function for reading native-fdm packets that I don't know about? If neither exist, would the next best thing be to just write my own generic protocol XML file to send the data I need in an order and format that I know? Thanks!