Exploit databaseDownload repository ZIP
GH-5f0eaed843b4b2cc77a960347b2c0cdd
aaronhero03/ftcteleoperate
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files8
aaronhero03/ftcteleoperateRevision 5416dad7ec11
- ↑..Parent directory
- Azul_cerca.java
- Azul_largo.java
- Azul_rapido.java
- Conversion.java
- Prueba_rapida.java
- Rojo_cerca.java
- Rojo_largo.java
- Rojo_rapido.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autonomoV2/Conversion.java
Java · 679 bytespackage org.firstinspires.ftc.teamcode.autonomoV2;
public class Conversion {
static final double COUNTS_PER_MOTOR_REV = 537;
// static final double DRIVE_GEAR_REDUCTION = 1.0;
static final double WHEEL_DIAMETER_INCHES = 3.8;
static final double RADIAN_PER_TICK = (1 / COUNTS_PER_MOTOR_REV) * 6.2832;
static final double DISPLACEMENT_PER_TICK = RADIAN_PER_TICK * (WHEEL_DIAMETER_INCHES / 2);
// static final double COUNTS_PER_INCH = (COUNTS_PER_MOTOR_REV * DRIVE_GEAR_REDUCTION) / (WHEEL_DIAMETER_INCHES * 3.1415);
public int INCH_TO_TICKS(double inches)
{
return (int)(inches / DISPLACEMENT_PER_TICK);
}
}