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


Ignore:
Timestamp:
Dec 20, 2019, 5:26:59 PM (2 years ago)
Author:
Sanahuja Guillaume
Message:

improve imu calibration by detecting a movement

File:
1 edited

Legend:

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

    r343 r344  
    170170  gui::DataPlot1D *mxPlot, *myPlot, *mzPlot;
    171171 
     172  //for calibration:
    172173  core::Time startCalcOffset;
    173174  bool calibrationDone;
    174   core::Vector3Df accOffset,gyrOffset;
     175  core::Vector3Df accOffset,gyrOffset,accMax,accMin;
    175176  uint16_t cptOffset;
    176177 
Note: See TracChangeset for help on using the changeset viewer.