makerplane / FIX-Gateway

Flight Information eXchange Gateway
GNU General Public License v2.0
9 stars 21 forks source link

FlightGear <input> functions #57

Closed birkelbach closed 5 years ago

birkelbach commented 5 years ago

Right now the FlightGear plugin is only one-way. FlightGear --> FIX-Gateway. We need to add the ability to move data from FIX-Gateway to FlightGear as well.

neil-d95 commented 5 years ago

So Phil the output is fairly simple instead of --socket out it is --socket in with an XML file named I'll need to be a separate file since not everything is needing to be sent to FlightGear. unless you want to do a review but not heading down that path yet.NeilOn March 4, 2019 at 11:27 PM Phil Birkelbach notifications@github.com wrote: Right now the FlightGear plugin is only one-way. FlightGear --> FIX-Gateway. We need to add the ability to move data from FIX-Gateway to FlightGear as well.—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

birkelbach commented 5 years ago

I've done some experimenting with it and according to the documentation it can be in the same XML file it's just that the chunks are between tags instead of tags. It seems like it might not have worked quite the way that it's documented, but it's been a while so I don't remember what issues I had.

neil-d95 commented 5 years ago

Yeah, you are supposed to be able to use bi instead of in or out but there is a bunch of folks that are having issues using it.

On March 5, 2019 at 12:15 PM Phil Birkelbach notifications@github.com wrote:

I've done some experimenting with it and according to the documentation it can be in the same XML file it's just that the chunks are between tags instead of tags. It seems like it might not have worked quite the way that it's documented, but it's been a while so I don't remember what issues I had. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

 

birkelbach commented 5 years ago

That was probably it. I think it works if you use separate --socket arguments right?

neil-d95 commented 5 years ago

Give it a try I'm out of the area for the next few days.

On March 5, 2019 at 12:48 PM Phil Birkelbach notifications@github.com wrote:

That was probably it. I think it works if you use separate --socket arguments right? —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

 

birkelbach commented 5 years ago

I wrote some cheesy test code into the fgfs plugin and it does work with a separate --generic argument. I called fgfs like this...

fgfs --generic=socket,out,10,localhost,5500,udp,fix_fgfs --generic=socket,in,1,,5501,udp,fix_fgfs

...and it worked. I was able to send BARO to FG from FIXGW and receiving the data from FG was still working too. Now I just need to make it read the configuration, the XML and then act appropriately.