vehicle_roi.msg: remove unsupported fields

This commit is contained in:
Beat Küng 2018-03-15 11:23:05 +01:00
parent aaa67632ca
commit cc777a80ff
2 changed files with 3 additions and 9 deletions

View File

@ -2,16 +2,12 @@
uint8 ROI_NONE = 0 # No region of interest
uint8 ROI_WPNEXT = 1 # Point toward next MISSION with optional offset
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 ROI_LOCATION = 2 # Point toward fixed location
uint8 ROI_TARGET = 3 # Point toward target
uint8 ROI_ENUM_END = 4
uint8 mode # ROI mode (see above)
uint32 mission_seq # mission sequence to point to
uint32 target_seq # target sequence to point to
float64 lat # Latitude to point to
float64 lon # Longitude to point to
float32 alt # Altitude to point to

View File

@ -122,8 +122,6 @@ int InputMavlinkROI::update_impl(unsigned int timeout_ms, ControlData **control_
*control_data = &_control_data;
} else if (vehicle_roi.mode == vehicle_roi_s::ROI_WPINDEX) {
//TODO how to do this?
} else if (vehicle_roi.mode == vehicle_roi_s::ROI_LOCATION) {
control_data_set_lon_lat(vehicle_roi.lon, vehicle_roi.lat, vehicle_roi.alt);