本文整理匯總了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;
}