|
|
@ -595,7 +595,7 @@ static void set_auto_yaw_roi(const Location &roi_location) |
|
|
|
set_auto_yaw_mode(AUTO_YAW_ROI); |
|
|
|
set_auto_yaw_mode(AUTO_YAW_ROI); |
|
|
|
} |
|
|
|
} |
|
|
|
// send the command to the camera mount |
|
|
|
// 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) |
|
|
|
// 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 |
|
|
|
// 0: do nothing |
|
|
|