Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@

/**
* Do not use this directly. Use auto-generated class DaggerUnitTestComponent.
*
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Singleton
@Component(modules = { UnitTestModule.class, MockDevicesModule.class, MockControlsModule.class, UnitTestRobotModule.class, DefaultVisionModule.class })
@Deprecated
public abstract class PurePursuitTestComponent extends BaseComponent {
public abstract ConfigurablePurePursuitCommand configurablePurePursuitCommand();
}
4 changes: 4 additions & 0 deletions src/main/java/xbot/common/math/PurePursuitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
import xbot.common.subsystems.drive.RabbitPoint;
import xbot.common.subsystems.pose.MockBasePoseSubsystem;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class PurePursuitTest extends BaseWPITest {

double target_distance = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
import xbot.common.subsystems.drive.control_logic.HeadingModule.HeadingModuleFactory;
import xbot.common.subsystems.pose.BasePoseSubsystem;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class ConfigurablePurePursuitCommand extends PurePursuitCommand {
private List<RabbitPoint> originalPoints;
private PointLoadingMode mode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
import xbot.common.subsystems.drive.control_logic.HeadingModule.HeadingModuleFactory;
import xbot.common.subsystems.pose.BasePoseSubsystem;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public abstract class PurePursuitCommand extends BaseCommand {

public enum PointLoadingMode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
import xbot.common.subsystems.pose.BasePoseSubsystem;
import xbot.common.trajectory.SwerveSimpleTrajectoryLogic;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SwerveSimpleBezierCommand extends BaseCommand {

protected BaseSwerveDriveSubsystem drive;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
import xbot.common.subsystems.pose.BasePoseSubsystem;
import xbot.common.trajectory.SwerveSimpleTrajectoryLogic;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SwerveSimpleTrajectoryCommand extends BaseCommand {

protected BaseSwerveDriveSubsystem drive;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

/**
* Different ways to input values for SwerveSimpleTrajectoryCommand
*
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public enum SwerveSimpleTrajectoryMode {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

import static org.wpilib.units.Units.Meters;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SwervePointPathPlanning {
private final Distance radius;
private final GameField gameField;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/xbot/common/trajectory/LowResField.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

/**
* Represents a simple version of the field, with Axis-Aligned Bounding Boxes representing no-go zones due to obstacles.
*
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class LowResField implements ProvidesWaypoints {

List<Obstacle> obstacles;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/xbot/common/trajectory/Obstacle.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

import org.wpilib.math.geometry.Translation2d;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class Obstacle extends Rectangle2D.Double {

private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

import xbot.common.subsystems.drive.SwervePointKinematics;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public interface ProvidesInterpolationData {
public Translation2d getTranslation2d();

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/xbot/common/trajectory/ProvidesWaypoints.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

import org.wpilib.math.geometry.Pose2d;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public interface ProvidesWaypoints {
public List<XbotSwervePoint> generatePath(Pose2d start, Pose2d end);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
import static org.wpilib.units.Units.Meters;
import static org.wpilib.units.Units.MetersPerSecond;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SimpleInterpolator {

ProvidesInterpolationData baseline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
import static org.wpilib.units.Units.MetersPerSecond;
import static org.wpilib.units.Units.Value;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SimpleTimeInterpolator {

double accumulatedProductiveSeconds;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
import static org.wpilib.units.Units.Meters;
import static org.wpilib.units.Units.Seconds;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SwerveSimpleBezierLogic {

Logger log = LogManager.getLogger(this.getClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
import static org.wpilib.units.Units.Meters;
import static org.wpilib.units.Units.Seconds;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class SwerveSimpleTrajectoryLogic {

public enum FinishMode {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/xbot/common/trajectory/XbotSwervePoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

import xbot.common.subsystems.drive.SwervePointKinematics;

/**
* @deprecated Path planning and path following are moving to PathPlanner. This will be removed in a future release.
*/
@Deprecated
public class XbotSwervePoint implements ProvidesInterpolationData {

public Pose2d keyPose;
Expand Down
Loading