Ignore:
Timestamp:
Jul 12, 2021, 11:19:21 AM (3 years ago)
Author:
Sanahuja Guillaume
Message:

add AltitudeSensor class
failsafe altitude sensor in changeable

File:
1 edited

Legend:

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

    r431 r432  
    6565        vrpnclient->Start();
    6666
     67    //set vrpn as failsafe altitude sensor for mamboedu as us in not working well for the moment
     68    if(uav->GetType()=="mamboedu") {
     69      SetFailSafeAltitudeSensor(uavVrpn->GetAltitudeSensor());
     70    }
     71
    6772    circle=new TrajectoryGenerator2DCircle(vrpnclient->GetLayout()->NewRow(),"circle");
    6873    uavVrpn->xPlot()->AddCurve(circle->GetMatrix()->Element(0,0),0,0,255);
Note: See TracChangeset for help on using the changeset viewer.