Exploit database

GH-2a403f848bc4242ba836155a5657e3fc

agrima2024/inferno1.1

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 files4

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

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/TeleOp.java

Java · 3,266 bytes
/* Copyright (c) 2021 FIRST. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted (subject to the limitations in the disclaimer below) provided that
 * the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice, this list
 * of conditions and the following disclaimer.
 *
 * Redistributions in binary form must reproduce the above copyright notice, this
 * list of conditions and the following disclaimer in the documentation and/or
 * other materials provided with the distribution.
 *
 * Neither the name of FIRST nor the names of its contributors may be used to endorse or
 * promote products derived from this software without specific prior written permission.
 *
 * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS
 * LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.firstinspires.ftc.teamcode;

import com.arcrobotics.ftclib.controller.PIDController;
import com.arcrobotics.ftclib.drivebase.MecanumDrive;
import com.arcrobotics.ftclib.hardware.motors.Motor;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.Servo;

@com.qualcomm.robotcore.eventloop.opmode.TeleOp(name="Servo Test", group="Linear OpMode")

public class TeleOp extends LinearOpMode {

    private final Motor FLMotor = hardwareMap.get(Motor.class, "FLMotor");
    private final Motor FRMotor = hardwareMap.get(Motor.class, "FRMotor");
    private final Motor RLMotor = hardwareMap.get(Motor.class, "RLMotor");
    private final Motor RRMotor = hardwareMap.get(Motor.class, "RRMotor");
    private final Motor XSlideMotor = hardwareMap.get(Motor.class, "XSlideMotor");
    private final Motor ZSlideMotor = hardwareMap.get(Motor.class, "ZSlideMotor");
    private final Servo wristServo = hardwareMap.get(Servo.class, "wristServo");
    private final Servo clawServo = hardwareMap.get(Servo.class, "clawServo");


    private final MecanumDrive mecanum = new MecanumDrive(FLMotor, FRMotor, RLMotor, RRMotor);
    private final X_arm xArm = new X_arm(XSlideMotor);
    private final Z_arm zArm = new Z_arm();
    private final Claw claw = new Claw(wristServo, clawServo);


    @Override
    public void runOpMode() {
        PIDController pidController = new PIDController(0.2,0.1, 0.1);
        waitForStart();
        /// run until the end of the match (driver presses STOP)
        while (opModeIsActive()) {

        }
    }
}