Presentation Recipe: Difference between revisions

Jump to navigation Jump to search
m
Line 119: Line 119:


=== Scripted Flights ===
=== Scripted Flights ===
Given that there is currently no easy way (available in the UI) to create/save flights in a native FlightGear format (to exchange/share such flight data for replaying), it might be interesting to investigate the possibilities of using the Nasal programming language to create scripted flights, so that scripts could be run in order to fly an aircraft (using the autopilot), in the beginning this could be a simple standard pattern in a no-wind situation, later on the script could be modified to also allow for more involved scenarios (flying holding patterns, instrument approaches etc). This would be an interesting option as it would require no changes to the fgfs core and could be implemented using purely Nasal and XML, but also because "exchanging flights" would not require exchanging actual pre-recoded flight data, but only tiny scripts or XML files to really fly the aircraft (most of this could be based on the already existing Nasal/XML tutorial system).
Given that there is currently no easy way (available in the UI) to create/save flights in a native FlightGear format (to exchange/share such flight data for replaying), it might be interesting to investigate the possibilities of using the Nasal programming language to create scripted flights, so that scripts could be run in order to fly an aircraft (using the autopilot), in the beginning this could be a simple standard pattern in a no-wind situation, later on the script could be modified to also allow for more involved scenarios (flying holding patterns, instrument approaches etc). This would be an interesting option as it would require no changes to the fgfs core and could be implemented using purely Nasal and XML, but also because "exchanging flights" would not require exchanging actual pre-recoded flight data, but only tiny scripts or XML files to really fly the aircraft (most of this could be based on the already existing Nasal/XML tutorial system).
In fact, having support for this would facilitate using FlightGear as its own [[FlightGear Headless|regression testing framework, too]].


=== More Traffic ===
=== More Traffic ===
2,561

edits

Navigation menu