Ignore:
Timestamp:
Apr 12, 2017, 1:59:38 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

modifs pour template vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/OpticalFlow/uav/src/DemoOpticalFlow.cpp

    r165 r167  
    178178
    179179    // /!\ in this demo, the target value is a speed (in m/s). As a consequence the error is the difference between the current speed and the target speed
    180     Vector2D error, errorVariation; // in Uav coordinate system
     180    Vector2Df error, errorVariation; // in Uav coordinate system
    181181
    182182    error.x=opticalFlowRealSpeed->Value(0,0)-opticalFlowReference->Value(0,0);
     
    194194    refAngles.roll=-u_y->Output();
    195195
    196     customReferenceOrientation->SetQuaternionAndAngularRates(refAngles.ToQuaternion(),Vector3D(0,0,0));
     196    customReferenceOrientation->SetQuaternionAndAngularRates(refAngles.ToQuaternion(),Vector3Df(0,0,0));
    197197
    198198    return customReferenceOrientation;
Note: See TracChangeset for help on using the changeset viewer.