Exploit databaseDownload repository ZIP
GH-2d496ec093a48d5761ee52950aca83a6
27470-sw/2025code
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files20
27470-sw/2025codeRevision c5e62b8ae744
- ↑..Parent directory
- BasicBot.java
- CamMount.java
- Claw.java
- CrAzYintake.java
- Defender.java
- Dumper.java
- Intake.java
- Lifter.java
- Loader.java
- MecanumBot.java
- MecanumDriveLRR.java
- MotorComponent.java
- Motors.java
- PinpointLocalizer.java
- RobotConstants.java
- ServoComponent.java
- ServoIntake.java
- Shooter.java
- Spinner.java
- Transition.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/robot/CamMount.java
Java · 1,259 bytespackage org.firstinspires.ftc.teamcode.robot;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.PwmControl;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.hardware.ServoImplEx;
import com.qualcomm.robotcore.util.RobotLog;
import com.qualcomm.robotcore.wifi.RobotControllerAccessPointAssistant;
public class CamMount
{
public CamMount(HardwareMap map) { this.hwMap = map; }
public boolean init(){
boolean success;
try{
camServo = hwMap.get(Servo.class, "camservo");
success = true;
setCamPos(RobotConstants.CAM_STOW);
if(camServo instanceof ServoImplEx)
{
ServoImplEx sie = ((ServoImplEx) camServo);
PwmControl.PwmRange rng = sie.getPwmRange();
RobotLog.dd(TAG, "Camservo pwm range: %.2f to %.2f",
rng.usPulseLower, rng.usPulseUpper);
}
}catch (Exception e)
{
RobotLog.ee(TAG, "ERROR: Cam Servo missing");
success = false;
}
return success;
}
public void setCamPos(double pos)
{
if(camServo == null) return;
camServo.setPosition(pos);
}
private static final String TAG = "SJH_CAM";
public Servo camServo;
protected HardwareMap hwMap;
}