AC_WPNav: fix divide by zero when origin and dest are same location
autotest: update fg_plane_view.sh for FlightGear 3.0
Plane: moved takeoff code to a new file
Plane: fixed sign of target and nav bearing in logs
autotest: set full logging for plane
AP_L1_Control: wrap the target_bearing
Plane: added 4 new parameters to control takeoff

this gives flexible control for taildragger takeoff
Plane: prevent stalled takeoff with bad TKOFF_TDRAG_SPD1

go to level pitch if pitch rises by 10 degrees
Plane: improve takeoff docs for tricycle undercarriage
Plane: aim for 5 degrees pitch during accel phase of takeoff

this makes it less likely we will get prop strike
Plane: added TKOFF_THR_MAX parameter
AP_NavEKF: Increase divergence test margin based on analysis of more user flight logs

Analysis of copter logs has shown cases with a healthy EKF where spikes in EKF4.DS of up to 25% of the threshold have occurred.
A value of closer to 10% for normal operation is preferred.
AP_Compass: added COMPASS_PRIMARY parameter

this allows selection of which compass is the primary. Useful if the
first compass starts giving spurious data (as happened in our plane)
HAL_PX4: fixed use of FMU servo pins as digital inputs

these pins can be PWM output or digital input or digital output
Copter: remove command_description.txt

Description in this file were out of date or incomplete and it is better
for people to refer to the MAVLink documentation or the
/libraries/GCS_MAVLink/message_definitions/common.xml and
ardupilotmega.xml files
AutoTest: add AVC_copter to location

The existing AVC location is for Rovers.  Planes and copters take-off
from a position slighly further north.
Copter: enable PARACHUTE and RALLY for all but APM
Copter: AC3.2-rc2 release notes and version
Copter: remove unused pos vector functions

removed pv_latlon_to_vector, pv_get_lat, pv_get_lon.
it would probably be best if these were moved into the Math library
Merge branch 'master' into disablesafetyswitch