On Thu, 8 Oct 2009, James Turner wrote: > Related to the new route-manager: I could very easily define a string > property which contains a plain text summary of the filed flight-plan. > What is the magic required to expose that string (which be 200 or 400 > bytes, I guess, depending on how many waypoints are in the route) over > MP, so that the ATC 'aircraft' could see them?
The way the MP protocol is done now you really really do not want to do that by creating a new MP enabled string property and put the flight-plan in it. Not only is the string encoding horribly inefficient (a 32bit word per character) but it would also be sent in each and every packet. > Is there an 'event' channel in MP, to deal with properties which > change infrequently? (Compared to position/velocity/surface positions/ > etc) No, there isn't but this might be time to create one. There is a rather complicated Nasal module for that kind of communication in Nasal/mp_broadcast.nas which utilizes a MP enabled string property (but send the relatively short empty string, "", when nothing is going on. Cheers, Anders -- --------------------------------------------------------------------------- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ ------------------------------------------------------------------------------ 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-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel