Changeset 123 in flair-src for trunk/demos/OpticalFlow/uav/src/main.cpp


Ignore:
Timestamp:
Jan 10, 2017, 3:56:53 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

vision filter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/OpticalFlow/uav/src/main.cpp

    r122 r123  
    1818#include <tclap/CmdLine.h>
    1919#include <TargetEthController.h>
    20 #include <init.h>
     20#include <VisionFilter.h>
    2121
    2222using namespace TCLAP;
     
    4141    parseOptions(argc,argv);
    4242
     43                if(!InitVisionFilter("file="+dsp_file)) {
     44                        exit(1);
     45                }
     46               
    4347    FrameworkManager *manager;
    4448    manager= new FrameworkManager(name);
     
    4650    manager->SetupUserInterface(xml_file);
    4751    manager->SetupLogger(log_path);
    48     SetupDSP(dsp_file);
    4952
    5053    Uav* drone=CreateUav(name,uav_type);
     
    5760    delete manager;
    5861
    59     CloseDSP();
     62    CloseVisionFilter();
    6063}
    6164
Note: See TracChangeset for help on using the changeset viewer.