Changeset 343 in flair-src for trunk/lib/FlairSensorActuator/src/Imu.h
- Timestamp:
- 12/12/19 18:11:36 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/Imu.h
r340 r343 147 147 */ 148 148 void GetDatas(core::ImuData **imuData) const; 149 150 /*! 151 * \brief Remove Offsets 152 * 153 * Remove the accelerometers and gyrometers offsets. During first 10s, returns 0 (gathering data to get offset) 154 * Then, returns the vectors without offset 155 * 156 * \param acc accelerometer vector to remove offset 157 * \param gyr gyrometer vector to remove offset 158 */ 159 void RemoveOffsets(core::Vector3Df& acc,core::Vector3Df& gyr); 149 160 150 161 private: … … 158 169 gui::DataPlot1D *gxPlot, *gyPlot, *gzPlot; 159 170 gui::DataPlot1D *mxPlot, *myPlot, *mzPlot; 171 172 core::Time startCalcOffset; 173 bool calibrationDone; 174 core::Vector3Df accOffset,gyrOffset; 175 uint16_t cptOffset; 176 160 177 }; 161 178 } // end namespace sensor
Note:
See TracChangeset
for help on using the changeset viewer.