本文整理汇总了Java中edu.wpi.first.wpilibj.DoubleSolenoid.Value方法的典型用法代码示例。如果您正苦于以下问题:Java DoubleSolenoid.Value方法的具体用法?Java DoubleSolenoid.Value怎么用?Java DoubleSolenoid.Value使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类edu.wpi.first.wpilibj.DoubleSolenoid
的用法示例。
在下文中一共展示了DoubleSolenoid.Value方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setSolenoid
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
@Override
public void setSolenoid(@NotNull DoubleSolenoid.Value value) {
actuator.set(value);
}
示例2: getSolenoidPosition
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
@NotNull
@Override
public DoubleSolenoid.Value getSolenoidPosition() {
return actuator.get();
}
示例3: switchPos
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public void switchPos(DoubleSolenoid.Value value){
solenoid.set(value);
}
示例4: switchPos
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public void switchPos(DoubleSolenoid.Value val) {
solenoid.set(val);
}
示例5: setSolenoidValue
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public void setSolenoidValue(DoubleSolenoid.Value value) {
solenoid.set(value);
}
示例6: getSolenoidValue
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public DoubleSolenoid.Value getSolenoidValue() {
return solenoid.get();
}
示例7: switchPos
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public void switchPos(DoubleSolenoid.Value val) {
solenoid.set(val);
}
示例8: getOutput
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public DoubleSolenoid.Value getOutput() {
return mOutput;
}
示例9: FlipperSignal
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public FlipperSignal(DoubleSolenoid.Value leftFlipper, DoubleSolenoid.Value rightFlipper) {
this.leftFlipper = leftFlipper;
this.rightFlipper = rightFlipper;
}
示例10: setSolenoid
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
/**
* @param value The position to set the solenoid to.
*/
public void setSolenoid(@NotNull DoubleSolenoid.Value value) {
piston.set(value);
pistonPos = value;
}
示例11: getSolenoidPosition
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
/**
* @return the current position of the solenoid.
*/
@NotNull
@Override
public DoubleSolenoid.Value getSolenoidPosition() {
return pistonPos;
}
示例12: setSolenoid
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
/**
* @param value The position to set the solenoid to.
*/
@Override
public void setSolenoid(@NotNull DoubleSolenoid.Value value) {
piston.set(value);
pistonPos = value;
}
示例13: getSolenoidPosition
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
/**
* @return the current position of the solenoid.
*/
@NotNull
public DoubleSolenoid.Value getSolenoidPosition() {
return pistonPos;
}
示例14: Launch
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public Launch(DoubleSolenoid.Value b) {
requires(Robot.sh);
v = b;
}
示例15: Shift
import edu.wpi.first.wpilibj.DoubleSolenoid; //导入方法依赖的package包/类
public Shift(DoubleSolenoid.Value v) {
requires(Robot.pn);
this.v = v;
}