Changeset 5287

Show
Ignore:
Timestamp:
10/09/07 14:53:06 (6 years ago)
Author:
jgaeddert
Message:

setting svn props, debug statements

Location:
components/Interpolator/branches/Interpolator-metadata
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • components/Interpolator/branches/Interpolator-metadata

    • Property svn:ignore
      •  

        old new  
        33autotest.cpp 
        44aclocal.m4 
        5 docs 
         5documentation 
        66latex 
        77html 
  • components/Interpolator/branches/Interpolator-metadata/.ignore

    r4416 r5287  
    33autotest.cpp 
    44aclocal.m4 
    5 docs 
     5documentation 
    66latex 
    77html 
  • components/Interpolator/branches/Interpolator-metadata/Interpolator.cpp

    r5057 r5287  
    153153                for (unsigned int i = 0; i < len_h; i++) { 
    154154                    h[i] = (*coeff_ptr)[i]; 
    155                     DEBUG(4, Interpolator, "Coeff[" << i << "] = " << h[i]) 
     155                    //DEBUG(4, Interpolator, "Coeff[" << i << "] = " << h[i]) 
     156                    printf("g(%d) = %f;\n", i+1, h[i]); 
    156157                } 
    157158                i_filter = new SigProc::fir_filter(h, len_h); 
     
    220221        h = new float[len_h]; 
    221222        SigProc::DesignRRCFilter(M, m, beta, h); 
     223        for (unsigned int j=0; j<len_h; j++) 
     224            printf("h(%d) = %f;\n", j+1, h[j]); 
    222225 
    223226        i_filter = new SigProc::fir_filter(h, len_h); 
     
    289292        } 
    290293        dataIn->bufferEmptied(); 
    291         DEBUG(5, Interpolator, "Interpolator about to send data."); 
    292294        dataOut->pushPacket(I_out, Q_out, *metadata); 
    293         DEBUG(5, Interpolator, "Interpolator data sent."); 
    294295    } 
    295296} 
  • components/Interpolator/branches/Interpolator-metadata/main.cpp

    r4935 r5287  
    2323#include <iostream> 
    2424#include "ossie/ossieSupport.h" 
     25#include "ossie/debug.h" 
    2526 
    2627#include "Interpolator.h" 
     
    3132 
    3233int main(int argc, char* argv[]) 
    33  
    3434{ 
     35    ossieDebugLevel = 5; 
    3536    ossieSupport::ORB *orb = new ossieSupport::ORB; 
    3637    omni_mutex component_running_mutex;