From 09dba29b6c43092f19117274fb61c254d59ccfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 15 Mar 2018 15:41:35 +0100 Subject: [PATCH] fix vehicle_roi.msg: re-add ROI_WPINDEX The indexes are directly mapped from MAVLink, thus the actual value is important. --- msg/vehicle_roi.msg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/msg/vehicle_roi.msg b/msg/vehicle_roi.msg index fb61b1a6fe..ebb3f5b4f9 100644 --- a/msg/vehicle_roi.msg +++ b/msg/vehicle_roi.msg @@ -2,9 +2,10 @@ uint8 ROI_NONE = 0 # No region of interest uint8 ROI_WPNEXT = 1 # Point toward next MISSION with optional offset -uint8 ROI_LOCATION = 2 # Point toward fixed location -uint8 ROI_TARGET = 3 # Point toward target -uint8 ROI_ENUM_END = 4 +uint8 ROI_WPINDEX = 2 # Point toward given MISSION +uint8 ROI_LOCATION = 3 # Point toward fixed location +uint8 ROI_TARGET = 4 # Point toward target +uint8 ROI_ENUM_END = 5 uint8 mode # ROI mode (see above)