Changeset 123 in flair-src for trunk/demos
- Timestamp:
- Jan 10, 2017, 3:56:53 PM (8 years ago)
- Location:
- trunk/demos
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/simulator/src/main.cpp
r23 r123 18 18 #include <SimuImu.h> 19 19 #ifdef GL 20 #include <SimuCameraGL.h>21 20 #include <Parser.h> 22 21 #include <Man.h> … … 94 93 #ifdef GL 95 94 SimuUsGL* us_gl; 96 97 Camera *cam_av,*cam_bas;98 95 Parser *gui; 99 96 Man *man; … … 106 103 107 104 #ifdef GL 108 gui=new Parser(simu, 960,480,640,480,media_path,scene_file);105 gui=new Parser(simu,1024,768,1024,768,media_path,scene_file); 109 106 #endif 110 107 … … 119 116 #ifdef GL 120 117 us_gl=new SimuUsGL(drone,"us",0); 121 cam_bas=new SimuCameraGL(drone,"bottom camera",320,240,640,0,0); 122 cam_av=new SimuCameraGL(drone,"front camera",320,240,640,240,1); 118 123 119 124 120 man=new Man(simu,"target"); -
trunk/demos/CircleFollower/uav/CMakeLists.txt
r42 r123 5 5 SET(FLAIR_USE_FILTER TRUE) 6 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 7 8 SET(FLAIR_USE_META TRUE) 8 9 SET(FLAIR_USE_VRPN TRUE) -
trunk/demos/Gps/simulator/src/main.cpp
r89 r123 19 19 #include <SimuGps.h> 20 20 #ifdef GL 21 #include <SimuCameraGL.h>22 21 #include <Parser.h> 23 22 #include <Man.h> … … 96 95 #ifdef GL 97 96 SimuUsGL *us_gl; 98 99 Camera *cam_av,*cam_bas;100 97 Parser *gui; 101 98 Man *man; … … 108 105 109 106 #ifdef GL 110 gui=new Parser(simu, 960,480,640,480,media_path,scene_file);107 gui=new Parser(simu,1024,768,1024,768,media_path,scene_file); 111 108 #endif 112 109 … … 121 118 #ifdef GL 122 119 us_gl=new SimuUsGL(drone,"us",0); 123 cam_bas=new SimuCameraGL(drone,"bottom camera",320,240,640,0,0);124 cam_av=new SimuCameraGL(drone,"front camera",320,240,640,240,1);125 126 120 man=new Man(simu,"target"); 127 121 #endif -
trunk/demos/Gps/uav/CMakeLists.txt
r122 r123 5 5 SET(FLAIR_USE_FILTER TRUE) 6 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 7 8 SET(FLAIR_USE_META TRUE) 8 9 SET(FLAIR_USE_GPS TRUE) 10 9 11 10 12 include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake) -
trunk/demos/OpticalFlow/simulator/CMakeLists.txt
r122 r123 5 5 SET(FLAIR_USE_SIMULATOR TRUE) 6 6 SET(FLAIR_USE_SIMULATOR_GL TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 7 8 8 9 include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake) -
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 -
trunk/demos/SimpleFleet/uav/CMakeLists.txt
r42 r123 5 5 SET(FLAIR_USE_FILTER TRUE) 6 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 7 8 SET(FLAIR_USE_META TRUE) 8 9 SET(FLAIR_USE_VRPN TRUE) -
trunk/demos/Skeletons/CustomReferenceAngles/CMakeLists.txt
r122 r123 5 5 SET(FLAIR_USE_FILTER TRUE) 6 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 7 8 SET(FLAIR_USE_META TRUE) 8 9 -
trunk/demos/Skeletons/CustomTorques/CMakeLists.txt
r122 r123 5 5 SET(FLAIR_USE_FILTER TRUE) 6 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 SET(FLAIR_USE_VISION_FILTER TRUE) 7 8 SET(FLAIR_USE_META TRUE) 8 9
Note:
See TracChangeset
for help on using the changeset viewer.