Ignore:
Timestamp:
Feb 7, 2018, 5:49:27 PM (4 years ago)
Author:
Sanahuja Guillaume
Message:

matrix

File:
1 edited

Legend:

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

    r178 r214  
    2929#include <PidThrust.h>
    3030#include <Euler.h>
     31#include <Matrix.h>
    3132#include <cvmatrix.h>
    3233#include <AhrsData.h>
     
    6061
    6162    circle=new TrajectoryGenerator2DCircle(vrpnclient->GetLayout()->NewRow(),"circle");
    62     uavVrpn->xPlot()->AddCurve(circle->Matrix()->Element(0,0),0,0,255);
    63     uavVrpn->yPlot()->AddCurve(circle->Matrix()->Element(0,1),0,0,255);
    64     uavVrpn->VxPlot()->AddCurve(circle->Matrix()->Element(1,0),0,0,255);
    65     uavVrpn->VyPlot()->AddCurve(circle->Matrix()->Element(1,1),0,0,255);
     63    uavVrpn->xPlot()->AddCurve(circle->GetMatrix()->Element(0,0),0,0,255);
     64    uavVrpn->yPlot()->AddCurve(circle->GetMatrix()->Element(0,1),0,0,255);
     65    uavVrpn->VxPlot()->AddCurve(circle->GetMatrix()->Element(1,0),0,0,255);
     66    uavVrpn->VyPlot()->AddCurve(circle->GetMatrix()->Element(1,1),0,0,255);
    6667
    6768    xCircleCenter=new DoubleSpinBox(vrpnclient->GetLayout()->NewRow(),"x circle center"," m",-5,5,0.1,1,0);
Note: See TracChangeset for help on using the changeset viewer.