Changeset 214 in flair-src for trunk/demos/SimpleFleet
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/SimpleFleet/uav/src/SimpleFleet.cpp
r178 r214 29 29 #include <PidThrust.h> 30 30 #include <Euler.h> 31 #include <Matrix.h> 31 32 #include <cvmatrix.h> 32 33 #include <AhrsData.h> … … 60 61 61 62 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); 66 67 67 68 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.