Changeset 38 in flair-src for trunk/demos/SimpleFleet/uav/src/main.cpp
- Timestamp:
- Jun 23, 2016, 10:15:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/SimpleFleet/uav/src/main.cpp
r33 r38 17 17 #include <stdio.h> 18 18 #include <tclap/CmdLine.h> 19 #include <TargetEthController.h> 19 20 20 21 using namespace TCLAP; … … 22 23 using namespace flair::core; 23 24 using namespace flair::meta; 25 using namespace flair::sensor; 24 26 25 27 string uav_type; … … 45 47 46 48 Uav* drone=CreateUav(manager,name,uav_type); 47 SimpleFleet* demo=new SimpleFleet(drone,broadcast,ds3port); 49 TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port); 50 SimpleFleet* demo=new SimpleFleet(drone,broadcast,controller); 48 51 49 52 demo->Start();
Note:
See TracChangeset
for help on using the changeset viewer.