コード例 #1
0
ファイル: __init__.py プロジェクト: foretheWind/PyPX4Flow
    def getFlowComp(self):
        '''
        Returns computed X,Y in meters.
        '''

        self._check_refreshed()

        return MAVLinkParser.unpack(self, 'ff', 8, 16, 2)
コード例 #2
0
    def getFlowComp(self):
        '''
        Returns computed X,Y in meters.
        '''

        self._check_refreshed()

        return MAVLinkParser.unpack(self, 'ff', 8, 16, 2)
コード例 #3
0
ファイル: __init__.py プロジェクト: foretheWind/PyPX4Flow
    def getFlow(self):
        '''
        Returns raw sensor X,Y.
        '''

        self._check_refreshed()

        return MAVLinkParser.unpack(self, 'hh', 20, 24, 2)
コード例 #4
0
    def getFlow(self):
        '''
        Returns raw sensor X,Y.
        '''

        self._check_refreshed()

        return MAVLinkParser.unpack(self, 'hh', 20, 24, 2)