All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flash3388.flashlib.io.devices.Accelerometer3 Maven / Gradle / Ivy

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