Beispiel #1
0
    def __init__(self, platform, positionOffset=vector(0,0,0),
            rotationOffset=Quaternion(1,0,0,0)):
        """
        Initialise sensor.

        @param platform: L{Platform} this sensor will be attached to.
        @param positionOffset: Position offset vector of this sensor
            in the local co-ordinate frame of its host platform.
        @param rotationOffset: Rotation offset quaternion of this sensor
            in the local co-ordinate frame of its host platform.
        """
        self._positionOffset = positionOffset
        self._rotationOffset = rotationOffset
        Component.__init__(self, platform)
Beispiel #2
0
    def __init__(self, platform, positionOffset=vector(0,0,0),
            rotationOffset=Quaternion(1,0,0,0)):
        """
        Initialise sensor.

        @param platform: L{Platform} this sensor will be attached to.
        @param positionOffset: Position offset vector of this sensor
            in the local co-ordinate frame of its host platform.
        @param rotationOffset: Rotation offset quaternion of this sensor
            in the local co-ordinate frame of its host platform.
        """
        self._positionOffset = positionOffset
        self._rotationOffset = rotationOffset
        Component.__init__(self, platform)
Beispiel #3
0
 def __init__(self, platform):
     self._process = None
     Component.__init__(self, platform)
Beispiel #4
0
 def __init__(self, platform):
     Component.__init__(self, platform)
     self._receiveHandler = None
Beispiel #5
0
 def __init__(self, platform):
     Component.__init__(self, platform)
     self._receiveHandler = None