Skip to content

Commit 50b650a

Browse files
committed
Merge pull request #172 from hamishwillee/tmp_roi_doc_fix
Add information about clearing ROI
2 parents bee4495 + e84ece3 commit 50b650a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/guide/copter/guided_mode.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,13 @@ Send the `MAV_CMD_DO_SET_ROI <http://copter.ardupilot.com/common-mavlink-mission
303303
vehicle.send_mavlink(msg)
304304
vehicle.flush()
305305
306-
The ROI is "reset" when the mode or the method used to control movement is changed. If you've set a yaw or region-of-interest value then this will be set to the default (vehicle faces the direction of travel).
307306
308-
307+
.. versionadded:: Copter 3.2.1. You can explicitly reset the ROI by sending the
308+
`MAV_CMD_DO_SET_ROI <http://copter.ardupilot.com/common-mavlink-mission-command-messages-mav_cmd/#mav_cmd_do_set_roi>`_
309+
command with zero in all parameters. The front of the vehicle will then follow the direction of travel.
310+
311+
The ROI (and yaw) is also reset when the mode, or the command used to control movement, is changed.
312+
309313

310314
.. _guided_mode_copter_set_home:
311315

0 commit comments

Comments
 (0)