Changeset 214 in flair-src for trunk/demos/CircleFollower/uav/src
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r171 r214 24 24 #include <MetaVrpnObject.h> 25 25 #include <TrajectoryGenerator2DCircle.h> 26 #include <Matrix.h> 26 27 #include <cvmatrix.h> 27 28 #include <cmath> … … 61 62 62 63 circle=new TrajectoryGenerator2DCircle(vrpnclient->GetLayout()->NewRow(),"circle"); 63 uavVrpn->xPlot()->AddCurve(circle-> Matrix()->Element(0,0),DataPlot::Blue);64 uavVrpn->yPlot()->AddCurve(circle-> Matrix()->Element(0,1),DataPlot::Blue);65 uavVrpn->VxPlot()->AddCurve(circle-> Matrix()->Element(1,0),DataPlot::Blue);66 uavVrpn->VyPlot()->AddCurve(circle-> Matrix()->Element(1,1),DataPlot::Blue);67 uavVrpn->XyPlot()->AddCurve(circle-> Matrix()->Element(0,1),circle->Matrix()->Element(0,0),DataPlot::Blue,"circle");64 uavVrpn->xPlot()->AddCurve(circle->GetMatrix()->Element(0,0),DataPlot::Blue); 65 uavVrpn->yPlot()->AddCurve(circle->GetMatrix()->Element(0,1),DataPlot::Blue); 66 uavVrpn->VxPlot()->AddCurve(circle->GetMatrix()->Element(1,0),DataPlot::Blue); 67 uavVrpn->VyPlot()->AddCurve(circle->GetMatrix()->Element(1,1),DataPlot::Blue); 68 uavVrpn->XyPlot()->AddCurve(circle->GetMatrix()->Element(0,1),circle->GetMatrix()->Element(0,0),DataPlot::Blue,"circle"); 68 69 69 70 uX=new Pid(setupLawTab->At(1,0),"u_x");
Note:
See TracChangeset
for help on using the changeset viewer.