Changeset 129 in flair-src for trunk/demos/CircleFollower
- Timestamp:
- Jan 19, 2017, 9:31:41 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r122 r129 41 41 CircleFollower::CircleFollower(TargetController *controller): UavStateMachine(controller), behaviourMode(BehaviourMode_t::Default), vrpnLost(false) { 42 42 Uav* uav=GetUav(); 43 43 44 44 VrpnClient* vrpnclient=new VrpnClient("vrpn", uav->GetDefaultVrpnAddress(),10000, 80); 45 45 uavVrpn = new MetaVrpnObject(uav->ObjectName()); 46 46 getFrameworkManager()->AddDeviceToLog(uavVrpn); 47 47 uav->GetAhrs()->YawPlot()->AddCurve(uavVrpn->State()->Element(2),DataPlot::Green); 48 vrpnclient->Start(); 48 49 49 50 startCircle=new PushButton(GetButtonsLayout()->NewRow(),"start_circle");
Note:
See TracChangeset
for help on using the changeset viewer.