[Flightgear-devel] MP Chat text length in FG

2013-04-24 Thread Wolfram Wagner
Dear List,

I noticed a mismatch and want to suggest a fix, or ask for an
explanation:

In source code I found a max. text length of 256 (bytes) chars in MP
server and FG itself.

I made some tests and saw that this text length does not work. The text
is not being transferred if it gets too long. UDP can transmit 65KB so
its out of the game, I think.

I have tested with OpenRadar and a FG instance. The max. count of
transfered chars is 

in OR: 128 chars
in FG from chat dialog less between 110 and 120.

As OR does not care about the chat message length, there seem to be
restriction in reception (128 bytes) and sending(~110-120) in FG

I know 128 is already a lot if you fly beside typing and reading. But
for ATIS messages etc. it is nice, if you don't have to care for some
less bytes, which might cause the message is not received. 

Guess the issue is somewhere in FGs chat message handling...

W.
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Slave flightgear as external view to monitor traffic

2013-01-12 Thread Wolfram Wagner
Dear List,

We have the idea to use flightgear to display the external view onto the
airport for OpenRadar. (OpenRadar Version 2)

This is something that would add a necessary grade of realism and would
make ATCing more attractive.

As it is possible to use flightgear as view slave for another fg
instance, this seems to be possible. 

I think I need an invisible airplane, position it a the tower position
and tell it, where to look to. Is there a documentation that helps me? 
I guess there is a protocol that I have to use, once I have started the
flightgear instance.

Thank you!

Wolfram




signature.asc
Description: This is a digitally signed message part
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Add/Set properties to/in MP Protocol

2012-12-28 Thread Wolfram Wagner
Am Donnerstag, den 27.12.2012, 22:37 + schrieb Stuart Buchanan:

 Hi Wolfram,
 
  Active tuned in frequency:
  There is a property for that in MP protocol, but as much as I have seen, it
  contains always the same frequency and does not change with the radio.
 
 Correct.  When I originally implemented the MP chat function, I
 intended to enhance
 it so that chat would be filtered by the tuned frequencies.  However,
 before I managed
 to do that, FGCom was developed and it quickly became obvious that it was a 
 much
 better solution, as well as being more realistic.

True, FGCOM is much better. But many ATCs use the MP chat to help the user to 
understand and 'read back' the values. Additional many users don't use it, at 
least for now. 
The ATCs I know, accept MP Chat. Several ATC 'aircraft' and OpenRadar have 
features to support MPChat ATCing.



 It is trivial to add, and I'll take a look after the release is
 complete.  I'll also check
 with Matthias to see if there's any HLA issue I should be considering.


Thank you Stuart!


signature.asc
Description: This is a digitally signed message part
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Add/Set properties to/in MP Protocol

2012-12-27 Thread Wolfram Wagner
Hi List,

I am working on OpenRadar and miss some features that would really be
nice to have:

Active tuned in frequency:
There is a property for that in MP protocol, but as much as I have seen,
it contains always the same frequency and does not change with the
radio.

Potential Usage:
In a region with many ATCs, like in the triangle around EDDF, there is
much noise to ignore in MP chat, because all speak over one channel. If
we would have the set aircraft frequency transmitted, the ATC could
filter those messages that match his frequencies. We would have a much
better realism and ATCs had a better overview.
On my side I have implemented this feature already, but it is hidden, as
it waits for the FG Change.

Squawk codes
The big difference between FG und the reality in terms of ATC is that if
there should be a Squawk transponder build into the model its data do
not reach other clients.

Potential Usage:
Most of you will know how it is used. I can imagine that these codes
influence the coloring (e.g. emergencies) and give extra information to
the ATC (flight state).


I do not know exactly, but I think adding these values is a rewarding
small extra job. 

Volunteers!!!

Wolfram


signature.asc
Description: This is a digitally signed message part
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Questions to MP Protocol

2012-12-24 Thread Wolfram Wagner
Hi Stuart,

Thanks for your reply. This was the issue:

Am Montag, den 24.12.2012, 22:45 + schrieb Stuart Buchanan:

 - There's a bug in our XDR implementation that we pad each character
 to a 4-byte
 word.  See src/Multiplayer/multiplayermgr.cxx line 316, 728, 739.
 (I think I introduced the bug when I wrote the original string XDR
 parsing).  I'd recommend
 comparing your XDR encoding to check that it matches. 


(Chat messages are not in use for multiplayer messages I think...)

This was a difficult thing: When I added the 4 bytes padding, Other
OpenRadar instances got the chat message back, but all the other FG
users got nothing.
So I omitted the pad again and changed the reception, to recognize
partner side padding. Now, all my tests in this matter have been
successful...

Thank you and a Merry Christmas!
Wolfram


signature.asc
Description: This is a digitally signed message part
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Questions to MP Protocol

2012-12-22 Thread Wolfram Wagner
Dear  List,

I am looking for someone with whom I can discuss some detail questions
about FGs MP protocol.

I have written an application that communicates with running FG
instances. I can receive all messages, but sometimes my messages seem to
be lost. 

My understanding is this: Chat messages are sent inside the position
update packages. At first I have sent them only once, but now I send
them at least 10 times for at least 3 seconds. This code is there to
prevent UDP drops. But it did not help.

Is there a hidden bug in my sending logic or do I something completely
wrong?

Wolfram


signature.asc
Description: This is a digitally signed message part
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel