Exploit databaseDownload repository ZIP
GH-d1058f18c2015285e4d60ae84f331066
aajinkyanaik/ftc
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files8
aajinkyanaik/ftcRevision b073eefe71d2
- ↑..Parent directory
- messages/
- tuning/
- Drawing.java
- Localizer.java
- MecanumDrive.java
- TankDrive.java
- ThreeDeadWheelLocalizer.java
- TwoDeadWheelLocalizer.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
FtcRobotController/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Drawing.java
Java · 632 bytespackage org.firstinspires.ftc.teamcode;
import com.acmerobotics.dashboard.canvas.Canvas;
import com.acmerobotics.roadrunner.Pose2d;
import com.acmerobotics.roadrunner.Vector2d;
public final class Drawing {
private Drawing() {}
public static void drawRobot(Canvas c, Pose2d t) {
final double ROBOT_RADIUS = 9;
c.setStrokeWidth(1);
c.strokeCircle(t.position.x, t.position.y, ROBOT_RADIUS);
Vector2d halfv = t.heading.vec().times(0.5 * ROBOT_RADIUS);
Vector2d p1 = t.position.plus(halfv);
Vector2d p2 = p1.plus(halfv);
c.strokeLine(p1.x, p1.y, p2.x, p2.y);
}
}