Changeset 173 in flair-src for trunk/lib/FlairSensorActuator/src/Imu.h


Ignore:
Timestamp:
04/26/17 11:12:59 (5 years ago)
Author:
Sanahuja Guillaume
Message:

modif imu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/Imu.h

    r137 r173  
    1515
    1616#include <IODevice.h>
     17#include <Vector3D.h>
    1718
    1819namespace flair {
     
    121122
    122123  /*!
    123   * \brief UpdateImu
     124  * \brief ApplyRotation
    124125  *
    125   * The reimplemented class must call this function as soon as IMU datas are
    126   *available. \n
     126  * The reimplemented class must call this function to rotate IMU datas, before filling the ImuData. \n
    127127  * It handles the data rotation if it was defined.
    128128  *
     129  * \param vector vector to apply rotation to
    129130  */
    130   void UpdateImu();
     131  void ApplyRotation(core::Vector3Df& vector);
     132 
     133  /*!
     134  * \brief ApplyRotation
     135  *
     136  * The reimplemented class must call this function to rotate IMU datas, before filling the ImuData. \n
     137  * It handles the data rotation if it was defined.
     138  *
     139  * \param quaternion quaternion to apply rotation to
     140  */
     141  void ApplyRotation(core::Quaternion& quaternion);
    131142
    132143  /*!
Note: See TracChangeset for help on using the changeset viewer.