Browse Source

AP_Mount: Fix Alexmos gimbal Mavlink targeting mode

master
Nacho Carnicero 9 years ago committed by Francisco Ferreira
parent
commit
bc9facf608
  1. 1
      libraries/AP_Mount/AP_Mount_Alexmos.cpp

1
libraries/AP_Mount/AP_Mount_Alexmos.cpp

@ -36,6 +36,7 @@ void AP_Mount_Alexmos::update() @@ -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

Loading…
Cancel
Save