PDA

View Full Version : Autopilot with Devicelink......?



FA_Whisky
02-20-2006, 12:46 AM
Is it possible? It would be great for testing the planes. Let your computer fly it with deficelink to keep constand climb speed or to test level speed. And all tests can be done the same without human error....

Anyone here who can make something like this?

FA_Whisky
02-20-2006, 12:46 AM
Is it possible? It would be great for testing the planes. Let your computer fly it with deficelink to keep constand climb speed or to test level speed. And all tests can be done the same without human error....

Anyone here who can make something like this?

BBB_Hyperion
02-20-2006, 06:52 AM
Possible yes , effective no cause of the way the devicelink interface sends data you lag behind putting control input in 1 command for each correction while the next for example 5 control changes are in queue as well plane attitude did change already so you have a non precise autopilot not good enough for flight testing. The only workaround i can think of for creating a autopilot that actualy works is to implement a dummy joystick driver that can send the control inputs relativ simultanisly to the sim while devicelink delivers in flight data on which base the data can be calculated.

FA_Whisky
02-20-2006, 07:14 AM
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by BBB_Hyperion:
Possible yes , effective no cause of the way the devicelink interface sends data you lag behind putting control input in 1 command for each correction while the next for example 5 control changes are in queue as well plane attitude did change already so you have a non precise autopilot not good enough for flight testing. The only workaround i can think of for creating a autopilot that actualy works is to implement a dummy joystick driver that can send the control inputs relativ simultanisly to the sim while devicelink delivers in flight data on which base the data can be calculated. </div></BLOCKQUOTE>

so it might work with some DirectInput programming.(making a virtual joystick)

WWSensei
02-20-2006, 07:38 AM
DirectInput for a joystick is possible, always has been otherwise joysticks wouldn't work. The problem is getting output on the state of control surfaces. As an autopilot devicelink simply doesn't communicate efficiently enough to do much more than a rudimentary autopilot that might keep you somewhat level and somewhat on course but even that is iffy.

It's easier to just trim your aircraft. Devicelink's inefficiency in communication is one reason why I haven't bothered to work with it anymore. It's useful for an app like UDPSpeed or UDPgraph that are working at a more macro level of analysis but if someone is interested in building a home cockpit for use with devicelink there needs to be a much better interface.

I've done some work on FSUPIC for the Microsoft flight sim series and it is orders of magnitude easier to work with and efficient. If Oleg ever wants to appeal to the hardcore flight sim fan (and not just the combat sim gamer fan) he will need to make some significant improvements to devicelink or ditch it and come up with something better (like loadable DLLs for reading/writing instrument/control data similar to the trackIR implementation).

BaldieJr
02-20-2006, 05:11 PM
http://forums.ubi.com/images/smilies/25.gif what sensei said