AP_Mount: Fix Alexmos gimbal Mavlink targeting mode

This commit is contained in:
Nacho Carnicero 2016-07-04 09:55:31 +02:00 committed by Francisco Ferreira
parent b9e83755f3
commit bc9facf608

View File

@ -36,6 +36,7 @@ void AP_Mount_Alexmos::update()
// point to the angles given by a mavlink message
case MAV_MOUNT_MODE_MAVLINK_TARGETING:
// do nothing because earth-frame angle targets (i.e. _angle_ef_target_rad) should have already been set by a MOUNT_CONTROL message from GCS
control_axis(_angle_ef_target_rad, false);
break;
// RC radio manual angle control, but with stabilization from the AHRS