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