def getFlowComp(self): ''' Returns computed X,Y in meters. ''' self._check_refreshed() return MAVLinkParser.unpack(self, 'ff', 8, 16, 2)
def getFlow(self): ''' Returns raw sensor X,Y. ''' self._check_refreshed() return MAVLinkParser.unpack(self, 'hh', 20, 24, 2)