Changeset 139 in flair-src for trunk/demos


Ignore:
Timestamp:
Feb 14, 2017, 5:02:06 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

warn message if vrpnobject is added on running client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/CircleFollower/uav/src/CircleFollower.cpp

    r136 r139  
    4242    Uav* uav=GetUav();
    4343
    44                 VrpnClient* vrpnclient=new VrpnClient("vrpn", uav->GetDefaultVrpnAddress(),80);
    45                 uavVrpn = new MetaVrpnObject(uav->ObjectName());
    46                 getFrameworkManager()->AddDeviceToLog(uavVrpn);
    47                 uav->GetAhrs()->YawPlot()->AddCurve(uavVrpn->State()->Element(2),DataPlot::Green);
    48                 vrpnclient->Start();
     44    VrpnClient* vrpnclient=new VrpnClient("vrpn", uav->GetDefaultVrpnAddress(),80);
     45    uavVrpn = new MetaVrpnObject(uav->ObjectName());
     46    getFrameworkManager()->AddDeviceToLog(uavVrpn);
     47    uav->GetAhrs()->YawPlot()->AddCurve(uavVrpn->State()->Element(2),DataPlot::Green);
     48    vrpnclient->Start();
    4949                                                                                                                                 
    5050    startCircle=new PushButton(GetButtonsLayout()->NewRow(),"start_circle");
Note: See TracChangeset for help on using the changeset viewer.