Exploit databaseDownload repository ZIP
GH-d2ae9ba57199dcc348a567c3f62dd3fe
4329/powerplay
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files20
4329/powerplayRevision b557f5e9ca3b
- ↑..Parent directory
- ArmMotorCommand.java
- AutoPushConeIntoTarmack.java
- CameraDetectCommand.java
- CammeraCommand.java
- DetectZoneCommand.java
- DistanceCommand.java
- DriveDistanceCommand.java
- DriveStrafeDistanceCommand.java
- DriveToDistanceCommand.java
- ElevatorMoveCommand.java
- ElevatorToGroundCommand.java
- GrabberCloseCommand.java
- GrabberOpenCommand.java
- ImuCommand.java
- MecanumDpadCommand.java
- MecanumDriveCommand.java
- TurnCommand.java
- TurnRightCommand.java
- VariableDriveDistanceCommand.java
- VariableStrafeDistanceCommand.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/commands/GrabberCloseCommand.java
Java · 1,071 bytespackage org.firstinspires.ftc.teamcode.commands;
import com.arcrobotics.ftclib.command.CommandBase;
import com.arcrobotics.ftclib.util.Timing;
import org.firstinspires.ftc.teamcode.subsystems.GrabberServoSubsystem;
import java.util.concurrent.TimeUnit;
public class GrabberCloseCommand extends CommandBase {
// private DoubleSupplier grabberPower;
private GrabberServoSubsystem grabberServoSubsystem;
private Timing.Timer timer;
private boolean firstExecute=false;
public GrabberCloseCommand(GrabberServoSubsystem GrabberServoSubsystem){
this.grabberServoSubsystem = GrabberServoSubsystem;
addRequirements(grabberServoSubsystem);
}
@Override
public void initialize() {
timer = new Timing.Timer(1000, TimeUnit.MILLISECONDS);
}
@Override
public void execute(){
if(!firstExecute) {
grabberServoSubsystem.closeServo();
timer.start();
firstExecute=true;
}
}
@Override
public boolean isFinished() {
return timer.done();
}
}