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


Ignore:
Timestamp:
12/20/19 17:26:59 (3 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.