Howto:Build and run FlightGear on Raspberry Pi 4: Difference between revisions

Jump to navigation Jump to search
Line 200: Line 200:


[[File:Phi-PFD and official Raspberry touch screen.jpg|thumb|The Phi PFD displayed on the official Raspberry Pi touch screen.]]
[[File:Phi-PFD and official Raspberry touch screen.jpg|thumb|The Phi PFD displayed on the official Raspberry Pi touch screen.]]
There is the Official 7” Touch Screen for the Raspberry Pi. This screen will work with a number of different models of the Raspberry Pi’s. There is a case for it and the Pi, however the new Pi4 doesn’t fit this case, seen in the photo at the right.  This combination does resemble a modern aircraft instrument. There is a new case that will fit the Pi4 and other models, SmartPi Touch 2.
[https://smarticase.com/ SmartPi Touch 2]
Phi will work with almost any device with a browser. In this example the Touch Screen is used with a Raspberry Pi3 B+. There is a screen touch keyboard, however only the numeric keyboard is needed to operate the Radio Stack and the full keyboard doesn’t make efficient use of the screen area. To the right, an external numeric keypad is being used. It makes an interesting combination to touch on screen hot spots and use the external keyboard to input the radio frequencies. A numeric touch screen keypad is being looked into.
Pass the below command to FlightGear, during startup, using your favorite method:
<syntaxhighlight lang="bash">
--httpd=8080
</syntaxhighlight>
In the browser address bar, the one with the 7” Touch Screen, type the below address. Replace the '??' with your numbers. This address needs to be the address of the Raspberry Pi4 that is running FlightGear. Some home networks randomly assign addresses, so when launching FlightGear it is good practice to check the address. To easily find this address, place the mouse cursor on the WiFi/Network icon that is on the top menu bar. It is to the far right.
<syntaxhighlight lang="bash">
192.168.??.??:8080
</syntaxhighlight>
Other, less expensive, models of Raspberry Pi’s should also work. As long as it has the port for the Official Touch Screen and can run a browser. There are also third party touch screens on the market. However, purchasing official Raspberry products help to support the Raspberry Foundation promote computer education. Hopefully some of the young budding computer scientists will find value in FlightGear!


==Cooling==
==Cooling==
320

edits

Navigation menu