PLANNEDROUTE AIRCRAFT

The PlannedRoute aircraft is a preset of the WASM modular aircraft, which shows a simple example of the WebAssembly Planned Route API. Once the WASM Aircraft package has been built, this module will be available for flying from the aircraft selection screen:

Selecting The Charts Aircraft In The Simulation

 

The WasmModules.sln file (found in the Sources folder of the project) will allow you to compile the source-code with Microsoft Visual Studio (2019 or 2022) in order to create the PlannedRouteModule.wasm WebAssembly module which will then be loaded by the game. Once compiled, the module will automatically be copied into the following folder:

[ROOT]\PackageSources\SimObjects\Airplanes\MyCompany_Wasm_Aircraft\presets\mycompany\PlannedRouteAircraft\panel

 

Note that if you make changes to the C++ code and recompile the planned route WASM module, you will have to build your package again. This can be done while the plane is used within the simulation.

 

 

Testing

Once you have built the aircraft and selected it, you must first create a flight plan in the EFB before starting a flight, and we recommend that this is an IFR flight with normal waypoints and IFR procedures (the sample is not designed for custom waypoints or non-IFR flights). For example:

Example Route For The Planned Route Aircraft

 

Once you have planned the route, you can start the flight and in the cockpit you will have three panels visible:

The Cockpit Interior Of The Planned Route Aircraft

 

In this sample only the right-most screen is relevant. It should have some text that says "Click To Get EFB Route", and if you open the EFB and go to the route planner you should see the route you created before the flight. If you click the right-most screen, the data about this route will be displayed.