Exploit databaseDownload repository ZIP
GH-8abc690d7197e0bfa71fcc4be39a24eb
27470-sw/ftcrobotcontroller
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
27470-sw/ftcrobotcontrollerRevision fcfd62798617
- ↑..Parent directory
- BasicBot.java
- CamMount.java
- Claw.java
- Defender.java
- Dumper.java
- Intake.java
- Lifter.java
- Loader.java
- MecanumBot.java
- MecanumDriveLRR.java
- MotorComponent.java
- Motors.java
- RobotConstants.java
- ServoComponent.java
- Shooter.java
- Spinner.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/robot/Defender.java
Java · 822 bytespackage org.firstinspires.ftc.teamcode.robot;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.util.RobotLog;
public class Defender
{
public Defender(HardwareMap map) { this.hwMap = map; }
public boolean init(){
boolean success;
try{
defendServo = hwMap.get(Servo.class, "Defender");
success = true;
setDefendPos(RobotConstants.DefendStow);
}catch (Exception e)
{
RobotLog.ee(TAG, "ERROR: Defend Servo missing");
success = false;
}
return success;
}
public void setDefendPos(double pos)
{
if (defendServo == null) return;
defendServo.setPosition(pos);
}
private static final String TAG = "SJH_DEF";
public Servo defendServo;
protected HardwareMap hwMap;
}