com.flash3388.flashlib.robot.systems.Piston Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flashlib.robot.systems Show documentation
Show all versions of flashlib.robot.systems Show documentation
Robotics development framework (flashlib.robot.systems)
package com.flash3388.flashlib.robot.systems;
import com.flash3388.flashlib.scheduling.Requirement;
import com.flash3388.flashlib.scheduling.actions.Action;
public interface Piston extends Requirement {
/**
* Opens the piston.
*
* @return action to perform motion.
*/
Action open();
/**
* Closes the piston.
*
* @return action to perform motion.
*/
Action close();
/**
* Toggles the piston state: if open, closes it; if closed, opens it.
*
* @return action to perform motion.
*/
Action toggle();
/**
* Gets whether the piston is open or close.
*
* @return true if open, false if closed.
*/
boolean isOpen();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy