def decodeMotorInput(self, motorInputPattern):
    """
    Decode motor command from bit vector.

    @param motorInputPattern (1D numpy.array)
        Encoded motor command.

    @return                  (1D numpy.array)
        Decoded motor command.

    """
    key = self.motorEncoder.decode(motorInputPattern)[0].keys()[0]
    motorCommand = self.motorEncoder.decode(motorInputPattern)[0][key][1][0]
    return motorCommand
Decode motor command from bit vector.

    @param motorInputPattern (1D numpy.array)
        Encoded motor command.

    @return                  (1D numpy.array)
        Decoded motor command.