Board index FlightGear Support Interfacing

Generic Protocol Variable Size

Connecting two computers, using generic protocol, connecting with Matlab?

Generic Protocol Variable Size

Postby tsalkt » Thu Mar 16, 2017 7:28 am


I am connecting FlightGear with C++ using UDP and the generic protocol. I know how to send and receive variables using the xml descriptor. In example, I can send the latitude as a float adding the following <chunk> to the xml file.

Code: Select all

The problem is that I also would like to send data that has not a fixed length, i.e. /variable[n] where n can take any value in a certain range. So my questions are:
    Does FlightGear accept any kind of syntax like variable[1-4] or something like that?
    How can I send variable size data?
Posts: 3
Joined: Thu Mar 16, 2017 7:18 am

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 3 guests