FlightGear TQPanel: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Stub}}


<!--
<!--
Line 11: Line 10:
-->
-->
|name =FlightGear TQPanel
|name =FlightGear TQPanel
|started= 02/2014  
|started= 01/2014  
|description =  
|description =  
|status = Under active development as of 02/2013
|status = Under active development as of 02/2013
|maintainers  = [https://gitorious.org/flightgear-tq-panel-made-with-kivy repository]
|maintainers  = [https://gitorious.org/flightgear-tq-panel-made-with-kivy repository]
|developers = d-laser  
|developers = d-laser,Michat
}}
}}


d-laser(pommesschranke) started a python/kivy app that can be used to control FlightGear aircraft.
d-laser(aka pommesschranke) started a python/kivy app that can be used to control various FlightGear aircraft.


It is a multi-touch App, so you can move each throttle alone or both together using 2 fingers. Use 2 fingers for the toe-brakes, or only one for differential braking.  
It is a multi-touch App, so you can move each throttle alone or both together using 2 fingers. Use 2 fingers for the toe-brakes, or only one for differential braking.  
Line 24: Line 23:
Kivy apps run on Linux, Windows, Mac, android, iOS
Kivy apps run on Linux, Windows, Mac, android, iOS


For details, see the gitorious repository at: https://gitorious.org/flightgear-tq-panel-made-with-kivy
About "FGPanel without FG" I just had another Idea:
Use the Blender game engine and blenderplayer - then I could use the original 3D models which are also used inside FlightGear.
Just like the kivy app, this would run on Platforms that can't run FlightGear like Raspberry Pi and Android for example.


With my kivy TQ I can now control..  
With my kivy TQ I can now control..  
Line 41: Line 35:
* gear up/down
* gear up/down
* change view
* change view
(12 nodes in the protocol xml file)


I developed and tested on Linux(800x600) and it runs without changes on an
I developed and tested on Linux(800x600) and it runs without changes on an
Line 46: Line 42:


== Installation & Setup ==
== Installation & Setup ==
copy the 2 xml files to the Protocol folder of your FlightGear data directory.


start the panel:
requirements:
python and kivy or kivy launcher
 
* download/git repo:
 
https://gitorious.org/flightgear-tq-panel-made-with-kivy
 
* copy the 2 xml files to the Protocol folder of your FlightGear data directory.
 
* start the panel:
<pre>
<pre>
python main.py
python main.py
</pre>
</pre>


start flightgear:
* start FlightGear:
<pre>
<pre>
fgfs  --generic=socket,in,10,HOSTNAME,9009,udp,from_kivy  
fgfs  --generic=socket,in,10,HOSTNAME,9009,udp,from_kivy  
Line 60: Line 64:


== Todo ==
== Todo ==
<strike>* some python code that talks UDP and/or Telnet with FlightGear</strike> DONE
* <strike>some python code that talks UDP and/or Telnet with FlightGear</strike> DONE
<strike>* add more buttons and switches</strike> One screen is full :-)
* <strike>add more buttons and switches</strike> One screen is full :-)
* make everything look more real - Michat works on additional graphics
* make everything look more real - Michat works on additional graphics


although it is not a hardware TQ I it is more fun to use than the PC-keyboard. And it is nice to have visual indicators for the position of speed brakes, throttle, flaps, gear  
 
== Conclusion ==
 
Although it is not a hardware TQ, I think it is more fun to use than the PC-keyboard. And it is nice to have visual indicators for the position of speed brakes, throttle, flaps, gear  


{{#ev:youtube|UxyHnvBo07s|400}}
{{#ev:youtube|UxyHnvBo07s|400}}


[[Category:Software]]
[[Category:Software]]

Revision as of 21:06, 5 February 2014

FlightGear TQPanel
Started in 01/2014
Maintainer(s) repository
Contributor(s) d-laser,Michat
Status Under active development as of 02/2013

d-laser(aka pommesschranke) started a python/kivy app that can be used to control various FlightGear aircraft.

It is a multi-touch App, so you can move each throttle alone or both together using 2 fingers. Use 2 fingers for the toe-brakes, or only one for differential braking.

Kivy apps run on Linux, Windows, Mac, android, iOS


With my kivy TQ I can now control..

  • speed brake
  • 2 x throttle
  • elv. trim
  • flaps
  • field of view (zoom)
  • parking brake
  • thrust reverser
  • 2 x toe brake
  • gear up/down
  • change view

(12 nodes in the protocol xml file)

I developed and tested on Linux(800x600) and it runs without changes on an Android tablet (1024x600)

Installation & Setup

requirements: python and kivy or kivy launcher

  • download/git repo:

https://gitorious.org/flightgear-tq-panel-made-with-kivy

  • copy the 2 xml files to the Protocol folder of your FlightGear data directory.
  • start the panel:
python main.py
  • start FlightGear:
fgfs   --generic=socket,in,10,HOSTNAME,9009,udp,from_kivy 

(replace HOSTNAME with your IP-Address or hostname)

Todo

  • some python code that talks UDP and/or Telnet with FlightGear DONE
  • add more buttons and switches One screen is full :-)
  • make everything look more real - Michat works on additional graphics


Conclusion

Although it is not a hardware TQ, I think it is more fun to use than the PC-keyboard. And it is nice to have visual indicators for the position of speed brakes, throttle, flaps, gear