Changeset 122 in flair-src for trunk/demos/Gps/uav
- Timestamp:
- Jan 6, 2017, 1:56:26 PM (8 years ago)
- Location:
- trunk/demos/Gps/uav
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Gps/uav/CMakeLists.txt
r89 r122 6 6 SET(FLAIR_USE_SENSOR_ACTUATOR TRUE) 7 7 SET(FLAIR_USE_META TRUE) 8 SET(FLAIR_USE_VRPN TRUE)9 8 SET(FLAIR_USE_GPS TRUE) 10 9 -
trunk/demos/Gps/uav/src/DemoGps.cpp
r101 r122 39 39 using namespace flair::meta; 40 40 41 DemoGps::DemoGps( Uav* uav,TargetController *controller): UavStateMachine(uav,controller), behaviourMode(BehaviourMode_t::Default) {42 41 DemoGps::DemoGps(TargetController *controller): UavStateMachine(controller), behaviourMode(BehaviourMode_t::Default) { 42 Uav* uav=GetUav(); 43 43 startCircle=new PushButton(GetButtonsLayout()->NewRow(),"start_circle"); 44 44 stopCircle=new PushButton(GetButtonsLayout()->LastRowLastCol(),"stop_circle"); -
trunk/demos/Gps/uav/src/DemoGps.h
r89 r122 33 33 class DemoGps : public flair::meta::UavStateMachine { 34 34 public: 35 DemoGps(flair:: meta::Uav* uav,flair::sensor::TargetController *controller);35 DemoGps(flair::sensor::TargetController *controller); 36 36 ~DemoGps(); 37 37 -
trunk/demos/Gps/uav/src/main.cpp
r89 r122 45 45 manager->SetupLogger(log_path); 46 46 47 Uav* drone=CreateUav( manager,name,uav_type);47 Uav* drone=CreateUav(name,uav_type); 48 48 TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port); 49 DemoGps* demo=new DemoGps( drone,controller);49 DemoGps* demo=new DemoGps(controller); 50 50 51 51 demo->Start();
Note:
See TracChangeset
for help on using the changeset viewer.