Changeset 129 in flair-src for trunk/demos/CircleFollower/uav


Ignore:
Timestamp:
Jan 19, 2017, 9:31:41 AM (8 years ago)
Author:
Sanahuja Guillaume
Message:

resolution bug vrpn client pas demarré

File:
1 edited

Legend:

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

    r122 r129  
    4141CircleFollower::CircleFollower(TargetController *controller): UavStateMachine(controller), behaviourMode(BehaviourMode_t::Default), vrpnLost(false) {
    4242    Uav* uav=GetUav();
    43                
     43
    4444                VrpnClient* vrpnclient=new VrpnClient("vrpn", uav->GetDefaultVrpnAddress(),10000, 80);
    4545                uavVrpn = new MetaVrpnObject(uav->ObjectName());
    4646                getFrameworkManager()->AddDeviceToLog(uavVrpn);
    4747                uav->GetAhrs()->YawPlot()->AddCurve(uavVrpn->State()->Element(2),DataPlot::Green);
     48                vrpnclient->Start();
    4849                                                                                                                                 
    4950    startCircle=new PushButton(GetButtonsLayout()->NewRow(),"start_circle");
Note: See TracChangeset for help on using the changeset viewer.