Exploit databaseDownload repository ZIP
GH-cbe4cbf64c53d8074f54a5eee3d47e35
6427ftcrobotics/centerstage6427
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files50
6427ftcrobotics/centerstage6427Revision eb145ddcf611
- ↑..Parent directory
- BasicOmniOpMode_Linear.java
- BasicOpMode_Iterative.java
- BasicOpMode_Linear.java
- ConceptAprilTag.java
- ConceptAprilTagEasy.java
- ConceptAprilTagOptimizeExposure.java
- ConceptAprilTagSwitchableCameras.java
- ConceptDoubleVision.java
- ConceptExploringIMUOrientation.java
- ConceptExternalHardwareClass.java
- ConceptGamepadRumble.java
- ConceptGamepadTouchpad.java
- ConceptMotorBulkRead.java
- ConceptNullOp.java
- ConceptRampMotorSpeed.java
- ConceptRevSPARKMini.java
- ConceptScanServo.java
- ConceptSoundsASJava.java
- ConceptSoundsOnBotJava.java
- ConceptSoundsSKYSTONE.java
- ConceptTelemetry.java
- ConceptTensorFlowObjectDetection.java
- ConceptTensorFlowObjectDetectionEasy.java
- ConceptTensorFlowObjectDetectionSwitchableCameras.java
- RobotAutoDriveByEncoder_Linear.java
- RobotAutoDriveByGyro_Linear.java
- RobotAutoDriveByTime_Linear.java
- RobotAutoDriveToAprilTagOmni.java
- RobotAutoDriveToAprilTagTank.java
- RobotAutoDriveToLine_Linear.java
- RobotHardware.java
- RobotTeleopPOV_Linear.java
- RobotTeleopTank_Iterative.java
- SampleRevBlinkinLedDriver.java
- SensorBNO055IMU.java
- SensorBNO055IMUCalibration.java
- SensorColor.java
- SensorHuskyLens.java
- SensorIMUNonOrthogonal.java
- SensorIMUOrthogonal.java
- SensorKLNavxMicro.java
- SensorMRColor.java
- SensorMRGyro.java
- SensorMROpticalDistance.java
- SensorMRRangeSensor.java
- SensorREV2mDistance.java
- SensorTouch.java
- UtilityCameraFrameCapture.java
- readme.md
- sample_conventions.md
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptGamepadTouchpad.java
Java · 2,967 bytespackage org.firstinspires.ftc.robotcontroller.external.samples;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import org.firstinspires.ftc.robotcore.external.Telemetry;
/*
* This OpMode illustrates using the touchpad feature found on some gamepads.
*
* The Sony PS4 gamepad can detect two distinct touches on the central touchpad.
* Other gamepads with different touchpads may provide mixed results.
*
* The touchpads are accessed through the standard gamepad1 and gamepad2 objects.
* Several new members were added to the Gamepad class in FTC SDK Rev 7
*
* .touchpad_finger_1 returns true if at least one finger is detected.
* .touchpad_finger_1_x finger 1 X coordinate. Valid if touchpad_finger_1 is true
* .touchpad_finger_1_y finger 1 Y coordinate. Valid if touchpad_finger_1 is true
*
* .touchpad_finger_2 returns true if a second finger is detected
* .touchpad_finger_2_x finger 2 X coordinate. Valid if touchpad_finger_2 is true
* .touchpad_finger_2_y finger 2 Y coordinate. Valid if touchpad_finger_2 is true
*
* Finger touches are reported with an X and Y coordinate in following coordinate system.
*
* 1) X is the Horizontal axis, and Y is the vertical axis
* 2) The 0,0 origin is at the center of the touchpad.
* 3) 1.0, 1.0 is at the top right corner of the touchpad.
* 4) -1.0,-1.0 is at the bottom left corner of the touchpad.
*
* Use Android Studio to Copy this Class, and Paste it into your team's code folder with a new name.
* Remove or comment out the @Disabled line to add this OpMode to the Driver Station OpMode list.
*/
@Disabled
@TeleOp(name="Concept: Gamepad Touchpad", group ="Concept")
public class ConceptGamepadTouchpad extends LinearOpMode
{
@Override
public void runOpMode()
{
telemetry.setDisplayFormat(Telemetry.DisplayFormat.MONOSPACE);
telemetry.addData(">", "Press Start");
telemetry.update();
waitForStart();
while (opModeIsActive())
{
boolean finger = false;
// Display finger 1 x & y position if finger detected
if(gamepad1.touchpad_finger_1)
{
finger = true;
telemetry.addLine(String.format("Finger 1: x=%5.2f y=%5.2f\n", gamepad1.touchpad_finger_1_x, gamepad1.touchpad_finger_1_y));
}
// Display finger 2 x & y position if finger detected
if(gamepad1.touchpad_finger_2)
{
finger = true;
telemetry.addLine(String.format("Finger 2: x=%5.2f y=%5.2f\n", gamepad1.touchpad_finger_2_x, gamepad1.touchpad_finger_2_y));
}
if(!finger)
{
telemetry.addLine("No fingers");
}
telemetry.update();
sleep(10);
}
}
}