Exploit databaseDownload repository ZIP
GH-0aa122b19f66fcaad23733e370e36cfb
ahs-robotics-club/12864-freight-frenzy
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
ahs-robotics-club/12864-freight-frenzyRevision 2d0287b1c472
- ↑..Parent directory
- DriveCommand.java
- DropOffCommand.java
- LiftCommand.java
- LiftCommandNoPID.java
- RamseteCommandRe.java
- SpinnerCommand.java
- StartEndCommand.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/commands/LiftCommand.java
Java · 1,036 bytespackage org.firstinspires.ftc.teamcode.commands;
import com.arcrobotics.ftclib.command.CommandBase;
import org.firstinspires.ftc.robotcore.external.Telemetry;
import org.firstinspires.ftc.teamcode.subsystems.LiftSubsystem;
public class LiftCommand extends CommandBase {
private LiftSubsystem subsystem;
private int level;
private Telemetry telemetry;
public LiftCommand(LiftSubsystem subsystem, Telemetry telemetry) {
this.subsystem = subsystem;
level = 0;
this.telemetry = telemetry;
addRequirements(subsystem);
}
@Override
public void initialize() {
if (level == 0) {
subsystem.setGoal(0.5);
level++;
telemetry.addData("Help", level);
} else if (level == 1) {
subsystem.setGoal(1);
level++;
telemetry.addData("Help", level);
} else if (level == 2) {
subsystem.setGoal(10);
level = 0;
telemetry.addData("Help", level);
}
}
}