Changeset 99 in flair-src for trunk/lib/FlairFilter/src/Gx3_25_ahrs.cpp


Ignore:
Timestamp:
Oct 5, 2016, 3:02:20 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

rotation pour 3dmgx3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairFilter/src/Gx3_25_ahrs.cpp

    r15 r99  
    1919#include <FrameworkManager.h>
    2020#include <AhrsData.h>
     21#include <OneAxisRotation.h>
    2122
    2223using std::string;
     
    4546  Vector3D filteredAngRates;
    4647  input->GetQuaternionAndAngularRates(quaternion, filteredAngRates);
     48  GetImu()->GetOneAxisRotation()->ComputeRotation(quaternion);
     49  GetImu()->GetOneAxisRotation()->ComputeRotation(filteredAngRates);
    4750  output->SetQuaternionAndAngularRates(quaternion, filteredAngRates);
    4851  output->SetDataTime(input->DataTime());
Note: See TracChangeset for help on using the changeset viewer.