Changeset 123 in flair-src for trunk/demos/OpticalFlow/uav/src/main.cpp
- Timestamp:
- Jan 10, 2017, 3:56:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/OpticalFlow/uav/src/main.cpp
r122 r123 18 18 #include <tclap/CmdLine.h> 19 19 #include <TargetEthController.h> 20 #include < init.h>20 #include <VisionFilter.h> 21 21 22 22 using namespace TCLAP; … … 41 41 parseOptions(argc,argv); 42 42 43 if(!InitVisionFilter("file="+dsp_file)) { 44 exit(1); 45 } 46 43 47 FrameworkManager *manager; 44 48 manager= new FrameworkManager(name); … … 46 50 manager->SetupUserInterface(xml_file); 47 51 manager->SetupLogger(log_path); 48 SetupDSP(dsp_file);49 52 50 53 Uav* drone=CreateUav(name,uav_type); … … 57 60 delete manager; 58 61 59 Close DSP();62 CloseVisionFilter(); 60 63 } 61 64
Note:
See TracChangeset
for help on using the changeset viewer.