This is a description of creating a flight plan in Mission Planner version 1.3.3.
On the ‘Config/Tuning ‘ page, select Planner.
Set the distance units. I have chosen ‘meters.
Set the speed units. I have chosen ‘meters/second/. (1 m/s = 3.6 k/h)
It is convenient to have a copy of the maps of the flight area in your PC instead of downloading them each time you plan a flight. If you have a portable PC, you can create flight plans in the field even without internet access.
On the ‘Flight Plan’ page of Mission Planner, select the type of map you plan to use.
Next, zoom in and display the area you wish to fly in. With the Alt key held down, press and drag the left mouse button to create a rectangle around the area you wish to prefetch.
Then right click anywhere on the map to display a menu. Select ‘Map Tool’, then ‘Prefetch’.. You may be given a selection of zoom levels. The higher the number, the more detail and hence larger the file.
On the ‘Flight Plan’ page of Mission Planner, press the chevron symbol at the right of the green bar beneath the map to display the waypoint list. This is really a list of commands and a waypoint is just one type of command. The list of commands is called the flight plan.
Distance : This is the total length of the flight path.
Prev : This is the distance between the cursor and the last waypoint in the list.
Home : This is the distance between the cursor and the home point.
The types of commands that can be written into the flight plan are described here.
You can create waypoints by left clicking on the map or right clicking anywhere on the map and selecting from the menu. When you do, a command is added to the command list.
Each waypoint command has latitude, longitude and altitude.
The latitude, longitude and altitude of a waypoint command can be edited when it is in the list.
Note that the altitude of the command is always relative to the altitude of the aircraft when it is powered up. When an aircraft is powered up, the APM sets its altitude to zero.
Further information is also displayed for each waypoint in the command line.
Gradient : This is a measure of the steepness of the climb or descent from the previous waypoint. A positive gradient means ascent from the previous waypoint, a negative gradient means descent.
Distance : this is the distance from the last waypoint to this waypoint.
Azimuth : This is the bearing (in degrees) the aircraft will take from the last waypoint to this waypoint. (eg. 0 degrees is due North).
A new command can be inserted in the command list by first selecting the number of the command below which you wish to add the new one. The selected command is highlighted in blue. Click the ‘Add Below’ button and a new command is added. Change the command type by selecting from the command pull down menu. Edit the parameters according to the command type.
A new command can also be added to the end of the command list by right clicking on the map and selecting from the menu.
To move a way point, click on it and drag it.
To delete a command, click the ‘X’ button in the command line.
To swap a command with the command above it, click the up arrow in the command line.
To swap a command with the command below it, click the down arrow in the command line.
An elevation graph is useful to check the aircraft’s height above the ground during the planned flight.
Right click on the map and from the menu select ‘Map Tool’, then ‘elevation Graph’.
Note that the height of the aircraft is shown as well as the height of the ground beneath the aircraft. Both graphs show heights above sea level. The aircraft in this example takes off from the altitude of the home location which is 38m above sea level and flies 100m above the home location altitude through waypoints 2, 3, 4 and 5 which are 138m above sea level.
On the map, right click and select from the menu ‘Geo-Fence’ and then ‘Set Return Location’. A red return location is placed on the map. Cilck and drag it to the required location.
On the map, right click and select from the menu ‘Draw Polygon’ and then ‘Add Polygon Point’.
Left click to add further points. Click and drag each point as required.
When all the points are completed, on the map right click and select ‘Geo-Fence’ then ‘Upload’. Enter the minimum and maximum altitudes and when the geofence has been transferred to the APM, the geofence is displayed like this.
Upload & Download
To transfer a geofence from Mission Planner to the APM, on the map click and select ‘Geo-Fence’ and then ‘Upload’.
Before transfer, you are required to enter the geofence minimum and maximum altitudes.
To transfer a geofence from the APM to Mission Planner, on the map click and select ‘Geo-Fence’ and then ‘Download’.
To transfer a geofence from Mission Planner to a file, on the map right click and select ‘Geo-Fence’ and then ‘Save to File’.
To transfer a geofence from a file to Mission Planner, on the map right click and select ‘Geo-Fence’ and then ‘Load from File’.
The geofence is automatically enabled and disabled if the parameter FENCE_AUTOENABLE is enable.
In ‘Auto’ mode, the geofence is disabled on the ground before takeoff, automatically enabled after an auto takeoff and automatically disabled at the beginning of an auto landing
This parameter FENCE_AUTOENABLE is set = 0.
The ‘AUX2’ switch is the geofence enable / disable switch. The ‘GEAR’ switch is the geofence reset switch.
The geofence is enabled when the ‘AUX2’ switch is in position 1, disabled in position 0. The ‘GEAR’ switch in position1 resets a geofence breach.
After a fence breach, the APM mode is set to ‘Guided’ mode. The mode is returned to the mode it was in previously when the aircraft is inside the geofence and the ‘GEAR’ switch is set to position 1 to reset the geofence breach or the ‘AUX2’ switch turns off the geofence.
The action taken on a geofence breach is determined by the FENCE_ACTION parameter.
This parameter FENCE_ACTION is set = 1.
The return point after a fence breach is determined by the FENCE_RET_RALLY parameter.
This parameter FENCE_RET_RALLY is set = 0.
The altitude after a geofence breach is determined by the parameter FENCE_RET_ALT. Its units are metres.
If FENCE_RET_ALT > 0, then the value of FENCE_RET_ALT is used
If FENCE_RET_ALT <= 0, then the midpoint between FENCE_MIN_ALT and FENCE_MAX_ALT is used.
If FENCE_RET_ALT <= 0 and FENCE_MAX_ALT < FENCE_MIN_ALT, then ALT_HOLD_ALT is used.
This parameter FENCE_RET_ALT is set = 50m.