com.flash3388.flashlib.io.devices.Accelerometer3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flashlib.core.io Show documentation
Show all versions of flashlib.core.io Show documentation
Robotics development framework (flashlib.core.io)
The newest version!
package com.flash3388.flashlib.io.devices;
import java.io.Closeable;
/**
* Interface for accelerometer sensors with 3 axes.
* Accelerometers are used for measuring acceleration of the robot.
*
* @since FlashLib 3.0.0
*/
public interface Accelerometer3 extends Closeable {
/**
* Gets the x-axis acceleration
* @return acceleration along the x-axis in G
*/
double getX();
/**
* Gets the y-axis acceleration
* @return acceleration along the y-axis in G
*/
double getY();
/**
* Gets the z-axis acceleration
* @return acceleration along the z-axis in G
*/
double getZ();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy