Exploit databaseDownload repository ZIP
GH-e3790e1ac5bbbb729d1d46403a100643
6-bennyli-9/fzxlftc2024-2025
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
6-bennyli-9/fzxlftc2024-2025Revision 1ee3fd3b88fc
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/eventloop/trajectory/HeadingTrajectoryBuilder.java
Java · 923 bytespackage org.firstinspires.ftc.teamcode.eventloop.trajectory;
import androidx.annotation.NonNull;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.acmerobotics.roadrunner.trajectory.Trajectory;
import org.acmerobotics.roadrunner.SampleMecanumDrive;
import org.betastudio.ftc.action.Action;
public class HeadingTrajectoryBuilder {
private final SampleMecanumDrive drive;
private Pose2d current;
public HeadingTrajectoryBuilder(@NonNull final SampleMecanumDrive drive) {
this.drive = drive;
current = drive.getPoseEstimate();
}
public Trajectory lineTo(final Pose2d end) {
final Trajectory build = drive.trajectoryBuilder(current).lineToLinearHeading(end).build();
current = end;
return build;
}
public Action runTo(final Pose2d end) {
return new TrajectoryAction(drive, lineTo(end));
}
public void setCurrent(final Pose2d current) {
this.current = current;
}
}