FlightGear TQPanel: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Infobox Software
<!--
| title              = FlightGear TQPanel
 
| logo                =
FIXME: use infobox software here
| image               = Kivy_TQ_Panel_v2.png
 
| alt                =
-->
| developedby        = [[User:Laserman|d-laser]], Michat
{{infobox subsystem
| initialrelease      = 01/2014
<!--
| latestrelease      =
|image =Canvas GUI Demo.png
| writtenin          =
-->
| os                  = Linux, Windows, Mac, Android, iOS
|name =FlightGear TQPanel
| platform            =  
|started= 01/2014  
| developmentstatus  = Under active development as of 02/2014
|description =  
| developmentprogress =
|status = Under active development as of 02/2013
| type                =
|maintainers  = [https://gitorious.org/flightgear-tq-panel-made-with-kivy repository]
| license            =
|developers = d-laser,Michat
| website            = https://gitlab.com/flightgear-tq-panel-made-with-kivy/flightgear-tq-panel-made-with-kivy
}}
}}


d-laser(aka pommesschranke) started a python/kivy app that can be used to control various FlightGear aircraft.
'''FlightGear TQPanel''' is a python/kivy app by d-laser(aka pommesschranke) and Michat 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.  


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


With my kivy TQ I can now control..  
With my kivy TQ I can now control..  
Line 40: Line 39:
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
Android tablet (1024x600)
Android tablet (1024x600)
== Gallery ==
<gallery mode=packed widths=180px heights=180px>
Kivy TQ Panel v2.png|multitouch app to control FlightGear aircraft
Kivy TQ Panel V1.0.png|alternative style
Panel-blue.png|alternative style
</gallery>


== Installation & Setup ==
== Installation & Setup ==
requirements:
requirements:
python and kivy or kivy launcher
python and kivy or kivy launcher
Line 48: Line 53:
* download/git repo:
* download/git repo:


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


* copy the 2 xml files to the Protocol folder of your FlightGear data directory.
* copy the 2 xml files to the Protocol folder of your FlightGear data directory.
Line 59: Line 64:
* start FlightGear:
* start FlightGear:
<pre>
<pre>
fgfs  --generic=socket,in,10,HOSTNAME,9009,udp,from_kivy  
fgfs  --generic=socket,in,10,,9009,udp,from_kivy  
</pre>
</pre>
(replace HOSTNAME with your IP-Address or hostname)


== Todo ==
== Todo ==
* <strike>some python code that talks UDP and/or Telnet with FlightGear</strike> DONE
* config dialog and config file for the IP address of the computer running FlightGear.  - DONE, works on Linux but not yet on android :-(
* <strike>add more buttons and switches</strike> One screen is full :-)
* add all the light switches to the protocol
* make everything look more real - Michat works on additional graphics
* on startup of the panel read the state of the aircraft, like park brake postions and the number of views
* I started some code to make it bi-directional but run into "race-conditions" so I disabled that for now. atm the panel only writes values to FlightGear but does not read anything.
* I started some code to make it bi-directional but run into "race-conditions" when using with FlightGear. Between 2 panels it does work (one master and one slave panel)
I disabled that for now. atm the panel only writes values to FlightGear but does not read anything.
* speed brake does not work on F-16c ?


== Conclusion ==
== Conclusion ==
Although it is not a hardware TQ (throttle quadrant), 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


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}}
== Related content ==
* [[Yoke for FlightGear]]


[[Category:Software]]
[[Category:Android apps]]
[[Category:IOS apps]]
[[Category:GPL software]]

Revision as of 23:51, 16 January 2017

FlightGear TQPanel
Kivy TQ Panel v2.png
Developed by d-laser, Michat
Initial release 01/2014
OS Linux, Windows, Mac, Android, iOS
Development status Under active development as of 02/2014
Website

FlightGear TQPanel is a python/kivy app by d-laser(aka pommesschranke) and Michat 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)

Gallery

Installation & Setup

requirements: python and kivy or kivy launcher

  • download/git repo:

https://gitlab.com/flightgear-tq-panel-made-with-kivy/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,,9009,udp,from_kivy 

Todo

  • config dialog and config file for the IP address of the computer running FlightGear. - DONE, works on Linux but not yet on android :-(
  • add all the light switches to the protocol
  • on startup of the panel read the state of the aircraft, like park brake postions and the number of views
  • I started some code to make it bi-directional but run into "race-conditions" when using with FlightGear. Between 2 panels it does work (one master and one slave panel)

I disabled that for now. atm the panel only writes values to FlightGear but does not read anything.

  • speed brake does not work on F-16c ?

Conclusion

Although it is not a hardware TQ (throttle quadrant), 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

Related content