From 2792aef45d4414393fe0a58bac6dbb79a0ee142f Mon Sep 17 00:00:00 2001 From: pkuehne Date: Wed, 18 Dec 2024 11:58:54 +0000 Subject: [PATCH] Add remarks about IMU behaviour. --- src/motionDetection/MotionDetection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/motionDetection/MotionDetection.cpp b/src/motionDetection/MotionDetection.cpp index 6386e2f..a06618e 100644 --- a/src/motionDetection/MotionDetection.cpp +++ b/src/motionDetection/MotionDetection.cpp @@ -21,9 +21,11 @@ void MotionDetection::begin(void){ this->writeRegister(0x23,0x37); //Enable Gyro and Acceldata in FIFO this->initFIFO(); + // TODO: Accelerometer Startup Time From sleep mode to valid data 10 }; void MotionDetection::end(void){ this->writeRegister(PWR_MGMT0,0x00); + // TODO: After powering the gyroscope off, a period of > 20ms should be allowed to elapse before it is powered back on. }; IMUResult MotionDetection::getAcceleration(){ IMUResult result;