On Thu, Mar 3, 2011 at 8:45 AM, Harry Campigli wrote: > Hello Stuart, > > Have you gone any further with your AIS scripting?
I have. I've got a quite nice proxy and some very simple heuristics to make the ship movements seem realistic. Unfortunately they don't quite work with ships docking from high speed - in particular the ferries to Alcatraz end up quite out of sync. I haven't published the scripts as I've not had any response back from the people running the marinetraffic website. Their usage agreement is quite specific. > I have 2 receivers, one AIS for marine and the other ADS-B for aircraft, I > am planning on driving AI aircraft and ships with both Probably need some > kind of proxy or relay server on them as well. Also there some processing > steps required between the devices to decrypt the strings. > > I was thinking along the lines of a local MP server specially modified, to > do a few special tasks here, but that could also feed both data streams back > out to external public MP servers. > > For now I am still kicking around idea s on how best to tie it all together My thinking on this matches yours :). As you may be aware, AIS Hub (http://www.aishub.net/) allows people running an AIS receiver contribute, and more importantly receive, raw NMEA data. If you have an AIS receiver, you should be able to join the group, and receive worldwide data (well, where there is coverage). AFAICT there is no restriction on usage. With a feed of raw NMEA data, it should be fairly straightforward to modify the MP server to act as a proxy and push shipping information into the MP data network. IIRC we already have some NMEA protocol support in the FG core itself, though I haven't looked at it myself. There might be a bit of work required in the FG core to support MP ships, but that should be fairly easy to add. I have done some fairly trivial animation work taking the ship types and lengths provided by AIS and using them to select an appropriate ship model and scale it to the correct length. It works pretty well. My only concern is whether the MP servers can handle the load. There are around 7000 vessels being tracked on AISHub, which is rather more ships than we have aircraft! -Stuart ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel