Exploit database

GH-543245c9a789cf0701d8058269007301

22817-knotbot/ftc-rc-2025

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-11358

1,181 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files28

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/testing/AxonServoTesting.java

Java · 1,144 bytes
package org.firstinspires.ftc.teamcode.testing;

import com.bylazar.configurables.annotations.Configurable;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.firstinspires.ftc.robotcore.external.Telemetry;
import org.firstinspires.ftc.teamcode.hardware.AxonServo;

import com.qualcomm.robotcore.hardware.Servo;

import com.acmerobotics.dashboard.config.Config;

@Configurable
@Config
// @TeleOp(name="Servo testing", group="Debug")
public class AxonServoTesting extends LinearOpMode {
	public static double POSITION = 0;
	public static String SERVONAME = "testServo"; 
	public static double halfTurnDelayMs = 400;

	@Override
	public void runOpMode() {
		AxonServo testServo = new AxonServo(hardwareMap.get(Servo.class, SERVONAME));
		halfTurnDelayMs = testServo.halfTurnDelayMs;
		// testServo.setDirection(Servo.Direction.REVERSE);

		waitForStart();

		while (opModeIsActive()) {
			testServo.update();
			testServo.setPosition(POSITION);
			testServo.halfTurnDelayMs = halfTurnDelayMs;

			telemetry.addData("Position", POSITION);
			telemetry.update();

		}
	}
}