Ignore:
Timestamp:
Apr 22, 2021, 2:20:26 PM (4 years ago)
Author:
Sanahuja Guillaume
Message:

test pour recaler l'us en fonction de l'orientation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/UavStateMachine.cpp

    r420 r422  
    149149  altitude = uav->GetMetaUsRangeFinder()->z();
    150150  verticalSpeed = uav->GetMetaUsRangeFinder()->Vz();
     151 
     152  //+0.04 decalage en z de l'us en simulation
     153  //faire un reglage
     154  /*
     155  Vector3Df test(0,0,altitude+0.04);
     156  Printf("altitude av %f %f %f %f\n",altitude,test.x,test.y,test.z);
     157  test.Rotate(currentQuaternion);
     158  Printf("altitude ap %f %f %f %f\n",altitude,test.x,test.y,test.z-0.04);
     159   */
    151160}
    152161
Note: See TracChangeset for help on using the changeset viewer.