# PlannedRouteAircraft The `PlannedRoute` aircraft is a preset of the [WASM modular aircraft](../wasmaircraft/), which shows a simple example of the WebAssembly [Planned Route API](../../../../programming-apis/wasm/planned-route-api/planned-route-api/). Once the [WASM](chartsaircraft/#) Aircraft package has been built, this module will be available for flying from the aircraft selection screen: {{< image-center src="images/7_Samples_Tutorials/Samples/WASMAircraft/PlannedAircraft/planned_1_aircraft.png" alt="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 simulation. 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 {{< glossterm >}}efb{{< /glossterm >}} before starting a flight, and we recommend that this is an {{< glossterm >}}ifr{{< /glossterm >}} flight with normal waypoints and {{< glossterm >}}ifr{{< /glossterm >}} procedures (the sample is not designed for custom waypoints or non-IFR flights). For example: {{< image-center src="images/7_Samples_Tutorials/Samples/WASMAircraft/PlannedAircraft/planned_2_route.png" alt="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: {{< image-center src="images/7_Samples_Tutorials/Samples/WASMAircraft/PlannedAircraft/planned_3_screens.png" alt="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.