Changeset 214 in flair-src for trunk/demos/CircleFollower
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- Location:
- trunk/demos/CircleFollower
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/simulator/build_x86_64/bin/setup_x4.xml
r157 r214 27 27 <DoubleSpinBox value="0.006" name="j_pitch:"/> 28 28 <DoubleSpinBox value="0.1" name="j_yaw:"/> 29 < /Tab>29 <SpinBox name="motor timeout:" value="100"/></Tab> 30 30 <Tab name="us"> 31 31 <GroupBox name="position"> … … 40 40 </GroupBox> 41 41 <DoubleSpinBox value="6" name="range:"/> 42 <Vector3DSpinBox name="position" value_x="0 .00" value_y="0.00" value_z="0.0400000000000000"/><Vector3DSpinBox name="direction" value_x="0" value_y="0" value_z="1"/></Tab>42 <Vector3DSpinBox name="position" value_x="0" value_y="0" value_z="0.04"/><Vector3DSpinBox name="direction" value_x="0" value_y="0" value_z="1"/></Tab> 43 43 <Tab name="bottom camera"> 44 44 <GroupBox name="position"> -
trunk/demos/CircleFollower/simulator/build_x86_64/bin/setup_x8.xml
r21 r214 16 16 <DoubleSpinBox value="-1.2" name="z:"/> 17 17 <SpinBox value="90" name="yaw (deg):"/> 18 <Vector3DSpinBox name="position" value_x="-1.5 0" value_y="0.00" value_z="-1.00"/></Tab>18 <Vector3DSpinBox name="position" value_x="-1.5" value_y="0" value_z="-1"/></Tab> 19 19 <Tab name="model"> 20 20 <DoubleSpinBox value="1.6" name="mass (kg):"/> … … 31 31 <DoubleSpinBox value="0.72" name="sigma:"/> 32 32 <DoubleSpinBox value="1" name="S:"/> 33 < /Tab>33 <SpinBox name="motor timeout:" value="100"/></Tab> 34 34 <Tab name="us"> 35 35 <GroupBox name="position"> … … 44 44 </GroupBox> 45 45 <DoubleSpinBox value="6" name="range:"/> 46 <Vector3DSpinBox name="position" value_x="0 .00" value_y="0.00" value_z="0.04"/><Vector3DSpinBox name="direction" value_x="0.00" value_y="0.00" value_z="1.00"/></Tab>46 <Vector3DSpinBox name="position" value_x="0" value_y="0" value_z="0.04"/><Vector3DSpinBox name="direction" value_x="0" value_y="0" value_z="1"/></Tab> 47 47 <Tab name="bottom camera"> 48 48 <GroupBox name="position"> … … 96 96 <DoubleSpinBox value="0" name="z:"/> 97 97 <SpinBox value="90" name="yaw (deg):"/> 98 <Vector3DSpinBox name="position" value_x="-1.5 0" value_y="1.00" value_z="0.00"/></Tab>98 <Vector3DSpinBox name="position" value_x="-1.5" value_y="1" value_z="0"/></Tab> 99 99 <Tab name="model"> 100 100 <DoubleSpinBox value="1.3" name="translational speed (m/s):"/> -
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.