Browse Source

Implement set ROI

master
Amilcar Lucas 13 years ago
parent
commit
95f2af6d2d
  1. 7
      ArduPlane/commands_logic.pde

7
ArduPlane/commands_logic.pde

@ -121,11 +121,10 @@ static void handle_process_do_command()
// |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple cameras etc.)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| // |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple cameras etc.)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z|
case MAV_CMD_DO_SET_ROI: case MAV_CMD_DO_SET_ROI:
#if 0 #if 0
// we need to extract the location from the mission to // send the command to the camera mount
// support this camera_mount.set_roi_cmd(&command_nav_queue);
camera_mount.set_roi_cmd();
#else #else
gcs_send_text_P(SEVERITY_LOW, PSTR("DO_SET_ROI not supported")); gcs_send_text_P(SEVERITY_LOW, PSTR("DO_SET_ROI not supported"));
#endif #endif
break; break;

Loading…
Cancel
Save