I wanted to measure the linear velocity of a swinging door with the GY-521(3 accel, 3gyro) sensor attached to the door (for example a car door). I have been reading about this topic but have not received any concrete information so far. My questions are two-fold:
- How to calculate the linear velocity of a swinging door in Arduino?
- Will, in this case, the accel/gyro data be enough to track velocity accurately? I know the errors stack up if the sensor is moving in 3D space.