Wait for home position before requesting current mission waypoint.
Any mission waypoint received before home_position has been initialized, may
be invalid.
Abort rotation if mission waypoint is outdated.
On the previous implementation, if the mission waypoint changed during a
rotation, the vehicle would complete the rotation before noticing that its
lookat direction might be outdated.
Do not allow an auto-rotation to start if the current waypoint is outdated.
Lower the request_mission_item interval time to allow mission waypoints
updates to happen more frequently. Previously the interval time was set as
1000 ms, what was causing delays and consequently a strange behavior in
auto-rotate.
fixes #8.
Signed-off-by: Guilherme Campos Camargo guilherme.campos.camargo@intel.com