mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-05 02:01:42 +02:00
Merged MotionCorrection into Release (including InterfaceChange from motionDetection to motion.detection
This commit is contained in:
@ -18,7 +18,7 @@ void loop() {
|
||||
|
||||
int zvalue = 0;
|
||||
for(int i = 0; i<30;i++){
|
||||
zvalue += dezibot.motionDetection.getAcceleration().z;
|
||||
zvalue += dezibot.motion.detection.getAcceleration().z;
|
||||
}
|
||||
zvalue = zvalue/30;
|
||||
|
||||
|
Reference in New Issue
Block a user