Exploit databaseDownload repository ZIP
GH-e44868997065774c284d5004fa3c7552
ahs-robotics-club/12864-powerplay
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
ahs-robotics-club/12864-powerplayRevision 0d4918ed561f
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subsystems/DriveSubsystem.java
Java · 898 bytespackage org.firstinspires.ftc.teamcode.subsystems;
import com.arcrobotics.ftclib.command.SubsystemBase;
import com.arcrobotics.ftclib.drivebase.MecanumDrive;
import com.arcrobotics.ftclib.hardware.motors.Motor;
import org.firstinspires.ftc.teamcode.drive.SampleMecanumDrive;
public class DriveSubsystem extends SubsystemBase {
private Motor fL, fR, bL, bR;
private MecanumDrive mDrive;
private SampleMecanumDrive drive;
private int mode;
public DriveSubsystem(Motor frontLeft, Motor frontRight, Motor backLeft, Motor backRight){
fL = frontLeft;
fR = frontRight;
bL = backLeft;
bR = backRight;
mode = 0;
mDrive = new MecanumDrive(fL, fR, bL, bR);
}
public void drive(double strafeSpeed, double forwardSpeed, double turnSpeed){
mDrive.driveRobotCentric(-strafeSpeed, -forwardSpeed, -turnSpeed, true);
}
}