(self)
return (self.named.data.sensordata['target'][[0, 2]] -
            self.named.data.sensordata['spinner'][[0, 2]])
Returns the (x,z) position of the target relative to the hinge.
Returns the (x,z) position of the target relative to the hinge.
Returns the ( x z ) position of the target relative to the hinge .
def target_position(self):
    """Returns the (x,z) position of the target relative to the hinge."""
    return (self.named.data.sensordata['target'][[0, 2]] -
            self.named.data.sensordata['spinner'][[0, 2]])
def target_position ( self ) : return ( self . named . data . sensordata [ 'target' ] [ [ 0 , 2 ] ] - self . named . data . sensordata [ 'spinner' ] [ [ 0 , 2 ] ] )