Home
General Information
Documentation
Developers

Quick Start

Make sure you have installed the correct libraries before you perform the following steps. To get things up and running as soon as possible, try out each of the tests in spasm-base and spasm-filters.

  1. Build spasm-base tests.
    • configure cmake (using the "graphical" frontend ccmake) so that it compiles the tests
    • compile the tests
    • run the tests
    # cd spasm-base-.x.x.x
    # ccmake .
    press "enter" to change the BUILD_TESTS flag so that it is ON
    press "c" to configure
    press "g" to generate the makefiles
    # make
    # cd tests
    # ./parzentest
    

  2. A number of tests have been performed in Matlab with the output written to file. This output can then be compared to C++ tests.
    • Start Matlab
    • Run the Matlab tests which generate an ouput file
    • Copy the output file to the C++ tests directory
    • Run the C++ tests and compare to the output file from Matlab
    In Matlab type
    >> cd spasm-base-x.x.x/tests/matlab_testgen
    >> generate_gaussian_ops('gauss.txt');
    At a shell prompt type
    # cp gauss.txt ../
    # ./autogausstest 
    

  3. Build spasm-filters tests.
    • configure cmake (using the "graphical" frontend ccmake) so that it compiles the tests
    • compile the tests
    • run the tests
    # cd spasm-filters-.x.x.x
    # ccmake .
    press "enter" to change the BUILD_TESTS flag so that it is ON
    press "c" to configure
    press "g" to generate the makefiles
    # make
    # cd tests
    # ./processtest
    

  4. Run the Matlab tests and compare to the C++ tests. For the following example we will be running a Kalman Filter.
    In Matlab type
    >> cd spasm-filters-x.x.x/tests/matlabtests
    >> test_KF_linear_GPS;
    At a shell prompt type
    # cp kf_lin_gps.txt ../
    # ./pointGPS
    

Manual

To do...


SourceForge.net Logo