AP_Mount: enable pan pointing in MAVLink backend

This commit is contained in:
Andrew Tridgell 2015-02-01 21:05:41 +11:00
parent 81f60bde06
commit f77f919588

View File

@ -55,7 +55,7 @@ void AP_Mount_MAVLink::update()
// point mount to a GPS point given by the mission planner
case MAV_MOUNT_MODE_GPS_POINT:
if(_frontend._ahrs.get_gps().status() >= AP_GPS::GPS_OK_FIX_2D) {
calc_angle_to_location(_state._roi_target, _angle_ef_target_rad, true, false);
calc_angle_to_location(_state._roi_target, _angle_ef_target_rad, true, true);
}
break;