本文整理汇总了Java中com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter.getValue方法的典型用法代码示例。如果您正苦于以下问题:Java AutonomousBooleanConfigFileParameter.getValue方法的具体用法?Java AutonomousBooleanConfigFileParameter.getValue怎么用?Java AutonomousBooleanConfigFileParameter.getValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter
的用法示例。
在下文中一共展示了AutonomousBooleanConfigFileParameter.getValue方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: defineConfigValues
import com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter; //导入方法依赖的package包/类
private void defineConfigValues() {
StartDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".StartDrive", 60.5);
AngleTurn = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".AngleTurn", 90);
SecondDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".SecondDrive", 60.5);
ThirdDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".ThirdDrive", 60.5);
FourthDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".FourthDrive", 60.5);
FifthDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".FifthDrive", 60.5);
FirstEnterWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstEnterWheelSetPoint", 2800);
FirstExitWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstExitWheelSetPoint", 3550);
FirstShooterAngle = new AutonomousBooleanStartPositionConfigFileParameter("FirstShooterAngle", false);
SecondEnterWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.EnterWheelSetPoint", 2100);
SecondExitWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.ExitWheelSetPoint", 2750);
SecondShooterAngle = new AutonomousBooleanConfigFileParameter("FrontPyramid.ShooterAngle", true);
ThirdFrisbeeDelay = new AutonomousIntegerConfigFileParameter("ThirdFrisbeeDelay", 700);
AccumulatorDelay = new AutonomousIntegerConfigFileParameter("LowerAccumulatorDelay", 300);
startPreset = new WsShooter.Preset(FirstEnterWheelSetPoint.getValue(),
FirstExitWheelSetPoint.getValue(),
FirstShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
secondShooterPreset = new WsShooter.Preset(SecondEnterWheelSetPoint.getValue(),
SecondExitWheelSetPoint.getValue(),
SecondShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
}
开发者ID:wildstang111,项目名称:2013_drivebase_proto,代码行数:25,代码来源:WsAutonomousProgramShootSevenManualFinger.java
示例2: defineConfigValues
import com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter; //导入方法依赖的package包/类
private void defineConfigValues() {
TwistAngle = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".TwistAngle", 30);
FirstDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".FirstDrive", 60.5);
SecondDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".SecondDrive", 60.5);
ThirdDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".ThirdDrive", 60.5);
FirstEnterWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstEnterWheelSetPoint", 2800);
FirstExitWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstExitWheelSetPoint", 3550);
FirstShooterAngle = new AutonomousBooleanStartPositionConfigFileParameter("FirstShooterAngle", false);
SecondEnterWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.EnterWheelSetPoint", 2100);
SecondExitWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.ExitWheelSetPoint", 2750);
SecondShooterAngle = new AutonomousBooleanConfigFileParameter("FrontPyramid.ShooterAngle", true);
ThirdFrisbeeDelay = new AutonomousIntegerConfigFileParameter("ThirdFrisbeeDelay", 700);
FunnelatorLoadDelay = new AutonomousIntegerConfigFileParameter("FunnelatorLoadDelay", 300);
firstShooterPreset = new WsShooter.Preset(FirstEnterWheelSetPoint.getValue(),
FirstExitWheelSetPoint.getValue(),
FirstShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
secondShooterPreset = new WsShooter.Preset(SecondEnterWheelSetPoint.getValue(),
SecondExitWheelSetPoint.getValue(),
SecondShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
}
示例3: defineConfigValues
import com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter; //导入方法依赖的package包/类
private void defineConfigValues() {
FirstDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".FirstDrive", 60.5);
SecondDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".SecondDrive", 60.5);
ThirdDrive = new DoubleConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".ThirdDrive", 60.5);
FirstEnterWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstEnterWheelSetPoint", 2800);
FirstExitWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstExitWheelSetPoint", 3550);
FirstShooterAngle = new AutonomousBooleanStartPositionConfigFileParameter("FirstShooterAngle", false);
SecondEnterWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.EnterWheelSetPoint", 2100);
SecondExitWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.ExitWheelSetPoint", 2750);
SecondShooterAngle = new AutonomousBooleanConfigFileParameter("FrontPyramid.ShooterAngle", true);
ThirdFrisbeeDelay = new AutonomousIntegerConfigFileParameter("ThirdFrisbeeDelay", 700);
FunnelatorLoadDelay = new AutonomousIntegerConfigFileParameter("FunnelatorLoadDelay", 300);
firstShooterPreset = new WsShooter.Preset(FirstEnterWheelSetPoint.getValue(),
FirstExitWheelSetPoint.getValue(),
FirstShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
secondShooterPreset = new WsShooter.Preset(SecondEnterWheelSetPoint.getValue(),
SecondExitWheelSetPoint.getValue(),
SecondShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
}
示例4: defineConfigValues
import com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter; //导入方法依赖的package包/类
private void defineConfigValues() {
firstDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.FirstDrive", 27);
secondDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.SecondDrive", 109);
thirdDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.ThirdDrive", -58);
firstEnterWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstEnterWheelSetPoint", 2800);
firstExitWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstExitWheelSetPoint", 3550);
firstShooterAngle = new AutonomousBooleanStartPositionConfigFileParameter("FirstShooterAngle", false);
secondEnterWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.EnterWheelSetPoint", 2100);
secondExitWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.ExitWheelSetPoint", 2750);
secondShooterAngle = new AutonomousBooleanConfigFileParameter("FrontPyramid.ShooterAngle", true);
thirdFrisbeeDelay = new AutonomousIntegerConfigFileParameter("ThirdFrisbeeDelay", 700);
accumulatorDelay = new AutonomousIntegerConfigFileParameter("LowerAccumulatorDelay", 300);
startPreset = new WsShooter.Preset(firstEnterWheelSetPoint.getValue(),
firstExitWheelSetPoint.getValue(),
firstShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
secondShooterPreset = new WsShooter.Preset(secondEnterWheelSetPoint.getValue(),
secondExitWheelSetPoint.getValue(),
secondShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
}
示例5: defineConfigValues
import com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter; //导入方法依赖的package包/类
private void defineConfigValues() {
firstDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.FirstDrive", 27);
secondDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.SecondDrive", 109);
thirdDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.ThirdDrive", -58);
thirdDriveHeading = new AutonomousDoubleConfigFileParameter("ShootSeven.ThirdDriveHeading", 0.22);
firstEnterWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstEnterWheelSetPoint", 2800);
firstExitWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstExitWheelSetPoint", 3550);
firstShooterAngle = new AutonomousBooleanStartPositionConfigFileParameter("FirstShooterAngle", false);
secondEnterWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.EnterWheelSetPoint", 2100);
secondExitWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.ExitWheelSetPoint", 2750);
secondShooterAngle = new AutonomousBooleanConfigFileParameter("FrontPyramid.ShooterAngle", true);
accumulatorDelay = new AutonomousIntegerConfigFileParameter("LowerAccumulatorDelay", 300);
startPreset = new WsShooter.Preset(firstEnterWheelSetPoint.getValue(),
firstExitWheelSetPoint.getValue(),
firstShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
secondShooterPreset = new WsShooter.Preset(secondEnterWheelSetPoint.getValue(),
secondExitWheelSetPoint.getValue(),
secondShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
}
开发者ID:wildstang111,项目名称:2013_drivebase_proto,代码行数:23,代码来源:WsAutonomousProgramShootSevenActiveAccumulator.java
示例6: defineConfigValues
import com.wildstangs.autonomous.parameters.AutonomousBooleanConfigFileParameter; //导入方法依赖的package包/类
private void defineConfigValues() {
firstDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.FirstDrive", 27);
secondDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.SecondDrive", 109);
thirdDrive = new AutonomousDoubleConfigFileParameter("ShootSeven.ThirdDrive", -58);
firstEnterWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstEnterWheelSetPoint", 2800);
firstExitWheelSetPoint = new AutonomousIntegerStartPositionConfigFileParameter("FirstExitWheelSetPoint", 3550);
firstShooterAngle = new AutonomousBooleanStartPositionConfigFileParameter("FirstShooterAngle", false);
secondEnterWheelSetPoint = new IntegerConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".SecondEnterWheelSetPoint", 2200);
secondExitWheelSetPoint = new IntegerConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".SecondExitWheelSetPoint", 2850);
secondShooterAngle = new BooleanConfigFileParameter(this.getClass().getName(), WsAutonomousManager.getInstance().getStartPosition().toConfigString() + ".SecondShooterAngle", true);
thirdEnterWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.EnterWheelSetPoint", 2100);
thirdExitWheelSetPoint = new AutonomousIntegerConfigFileParameter("FrontPyramid.ExitWheelSetPoint", 2750);
thirdShooterAngle = new AutonomousBooleanConfigFileParameter("FrontPyramid.ShooterAngle", true);
thirdFrisbeeDelay = new AutonomousIntegerConfigFileParameter("ThirdFrisbeeDelay", 700);
accumulatorDelay = new AutonomousIntegerConfigFileParameter("LowerAccumulatorDelay", 300);
startPreset = new WsShooter.Preset(firstEnterWheelSetPoint.getValue(),
firstExitWheelSetPoint.getValue(),
firstShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
secondShooterPreset = new WsShooter.Preset(secondEnterWheelSetPoint.getValue(),
secondExitWheelSetPoint.getValue(),
secondShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
thirdShooterPreset = new WsShooter.Preset(thirdEnterWheelSetPoint.getValue(),
thirdExitWheelSetPoint.getValue(),
thirdShooterAngle.getValue()
? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse);
}
开发者ID:wildstang111,项目名称:2013_drivebase_proto,代码行数:31,代码来源:WsAutonomousProgramShootSevenDriveAfterOne.java