Changeset 123 in flair-src for trunk/demos/OpticalFlow/uav
- Timestamp:
- Jan 10, 2017, 3:56:53 PM (8 years ago)
- Location:
- trunk/demos/OpticalFlow/uav
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/OpticalFlow/uav/CMakeLists.txt
r122 r123 4 4 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) 5 5 SET(FLAIR_USE_FILTER TRUE) 6 #SET(FLAIR_USE_VISION_FILTER TRUE)7 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 8 8 SET(FLAIR_USE_META TRUE) 9 9 -
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.