Copter: rename mount.set_roi_cmd to set_roi_target

This commit is contained in:
Randy Mackay 2015-01-09 05:11:55 +09:00 committed by Andrew Tridgell
parent 2ed4ca409c
commit 31b2534c1d
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ static void set_auto_yaw_roi(const Location &roi_location)
set_auto_yaw_mode(AUTO_YAW_ROI);
}
// send the command to the camera mount
camera_mount.set_roi_cmd(&roi_location);
camera_mount.set_roi_target(roi_location);
// TO-DO: expand handling of the do_nav_roi to support all modes of the MAVLink. Currently we only handle mode 4 (see below)
// 0: do nothing