Fly By Wire incorrect api entry. Version 1.4.27.0
lepsa opened this issue ยท 0 comments
The api entry for "Set Fly by Wire On or Off [bool state] v.setFbW" in version 1.4.27.0 says that the server accepts bools, however when I attempt to send a true or false value I get the following error saying that the server was expecting an int.
http://localhost:8085/telemachus/datalink?q=v.setFbW[false]&w=f.setThrottle[0.5]
Internal Server Error 500
Input string was not in the correct format at System.Int32.Parse (System.String s) [0x00000] in :0
at Telemachus.FlyByWireDataLinkHandler.<.ctor>b__3 (Telemachus.DataSources dataSources) [0x00000] in :0
at Telemachus.DataLinkResponsibility.argumentsParse (System.String args, Telemachus.DataSources dataSources) [0x00000] in :0
at Telemachus.DataLinkResponsibility.process (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0
at Servers.MinimalHTTPServer.Server.processRequest (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0
at Servers.MinimalHTTPServer.ClientConnection.StatefulConnectionRead (System.Object sender, Servers.ConnectionEventArgs e) [0x00000] in :0
The following request does not return errors.
http://localhost:8085/telemachus/datalink?q=v.setFbW[1]&w=f.setThrottle[0.5]
{"q":0,"w":0}