Exploit databaseDownload repository ZIP
GH-920d303960990c99657f0beda79b6404
0xcub3/12377-into-the-deep-seattlesolvers
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files10
0xcub3/12377-into-the-deep-seattlesolversRevision a94ecf0e02a7
- ↑..Parent directory
- FollowPathCommand.java
- HoldPointCommand.java
- RealTransfer.java
- ServoOnlyTransfer.java
- SetDeposit.java
- SetIntake.java
- SetRobot.java
- Transfer.java
- UndoTransfer.java
- attachSpecimen.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/commandbase/commands/FollowPathCommand.java
Java · 1,330 bytespackage org.firstinspires.ftc.teamcode.commandbase.commands;
import com.seattlesolvers.solverslib.command.CommandBase;
import com.pedropathing.follower.Follower;
import com.pedropathing.pathgen.Path;
import com.pedropathing.pathgen.PathChain;
// Thanks Powercube/Watt-sUP 16166 we copied verbatim
public class FollowPathCommand extends CommandBase {
private final Follower follower;
private final PathChain path;
private boolean holdEnd = true;
public FollowPathCommand(Follower follower, PathChain path) {
this.follower = follower;
this.path = path;
}
public FollowPathCommand(Follower follower, PathChain path, boolean holdEnd) {
this.follower = follower;
this.path = path;
this.holdEnd = holdEnd;
}
/**
* Decides whether or not to make the robot maintain its position once the path ends.
*
* @param holdEnd If the robot should maintain its ending position
* @return This command for compatibility in command groups
*/
public FollowPathCommand setHoldEnd(boolean holdEnd) {
this.holdEnd = holdEnd;
return this;
}
@Override
public void initialize() {
follower.followPath(path, holdEnd);
}
@Override
public boolean isFinished() {
return !follower.isBusy();
}
}