diff --git a/commandsv2/src/main/java/org/wpilib/command2/Command.java b/commandsv2/src/main/java/org/wpilib/command2/Command.java index 05547c3d99..30ba763c0b 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/Command.java +++ b/commandsv2/src/main/java/org/wpilib/command2/Command.java @@ -26,7 +26,7 @@ import org.wpilib.util.sendable.SendableRegistry; *
Commands are run synchronously from the main robot loop; no multithreading is used, unless * specified explicitly from the command implementation. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ @NoDiscard("Commands must be used! Did you mean to bind it to a trigger?") public abstract class Command implements Sendable { diff --git a/commandsv2/src/main/java/org/wpilib/command2/CommandScheduler.java b/commandsv2/src/main/java/org/wpilib/command2/CommandScheduler.java index a9cf2c8aba..761f67e595 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/CommandScheduler.java +++ b/commandsv2/src/main/java/org/wpilib/command2/CommandScheduler.java @@ -40,7 +40,7 @@ import org.wpilib.util.sendable.SendableRegistry; * CommandScheduler#registerSubsystem(Subsystem...)} in order for their {@link Subsystem#periodic()} * methods to be called and for their default commands to be scheduled. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public final class CommandScheduler implements Sendable, AutoCloseable { /** The Singleton Instance. */ diff --git a/commandsv2/src/main/java/org/wpilib/command2/ConditionalCommand.java b/commandsv2/src/main/java/org/wpilib/command2/ConditionalCommand.java index 31de47cce5..b4009339ec 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/ConditionalCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/ConditionalCommand.java @@ -17,7 +17,7 @@ import org.wpilib.util.sendable.SendableBuilder; * added to any other composition or scheduled individually, and the composition requires all * subsystems its components require. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class ConditionalCommand extends Command { private final Command m_onTrue; diff --git a/commandsv2/src/main/java/org/wpilib/command2/DeferredCommand.java b/commandsv2/src/main/java/org/wpilib/command2/DeferredCommand.java index da4b265875..f24babff8a 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/DeferredCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/DeferredCommand.java @@ -18,7 +18,7 @@ import org.wpilib.util.sendable.SendableBuilder; *
Note that the supplier must create a new Command each call. For selecting one of a * preallocated set of commands, use {@link SelectCommand}. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class DeferredCommand extends Command { private final Command m_nullCommand = diff --git a/commandsv2/src/main/java/org/wpilib/command2/FunctionalCommand.java b/commandsv2/src/main/java/org/wpilib/command2/FunctionalCommand.java index 77cdc60979..15301daa0a 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/FunctionalCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/FunctionalCommand.java @@ -15,7 +15,7 @@ import java.util.function.Consumer; * command is beyond a certain complexity it is usually better practice to write a proper class for * it than to inline it. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class FunctionalCommand extends Command { private final Runnable m_onInit; diff --git a/commandsv2/src/main/java/org/wpilib/command2/InstantCommand.java b/commandsv2/src/main/java/org/wpilib/command2/InstantCommand.java index 966cc18588..2672fe7ae4 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/InstantCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/InstantCommand.java @@ -9,7 +9,7 @@ package org.wpilib.command2; * the scheduler. Users can either pass in a Runnable and a set of requirements, or else subclass * this command if desired. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class InstantCommand extends FunctionalCommand { /** diff --git a/commandsv2/src/main/java/org/wpilib/command2/NotifierCommand.java b/commandsv2/src/main/java/org/wpilib/command2/NotifierCommand.java index ae5b0a9951..b8e558ecef 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/NotifierCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/NotifierCommand.java @@ -15,7 +15,7 @@ import org.wpilib.system.Notifier; * code thread-safe. If you do not know what "thread-safe" means, that is a good sign that you * should not use this class. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class NotifierCommand extends Command { private final Notifier m_notifier; diff --git a/commandsv2/src/main/java/org/wpilib/command2/ParallelCommandGroup.java b/commandsv2/src/main/java/org/wpilib/command2/ParallelCommandGroup.java index 24f03e28df..237bb80a76 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/ParallelCommandGroup.java +++ b/commandsv2/src/main/java/org/wpilib/command2/ParallelCommandGroup.java @@ -15,7 +15,7 @@ import java.util.Map; * added to any other composition or scheduled individually, and the composition requires all * subsystems its components require. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class ParallelCommandGroup extends Command { // maps commands in this composition to whether they are still running diff --git a/commandsv2/src/main/java/org/wpilib/command2/ParallelDeadlineGroup.java b/commandsv2/src/main/java/org/wpilib/command2/ParallelDeadlineGroup.java index e8baf2c9aa..272d780f4a 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/ParallelDeadlineGroup.java +++ b/commandsv2/src/main/java/org/wpilib/command2/ParallelDeadlineGroup.java @@ -18,7 +18,7 @@ import org.wpilib.util.sendable.SendableBuilder; * added to any other composition or scheduled individually, and the composition requires all * subsystems its components require. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class ParallelDeadlineGroup extends Command { // maps commands in this composition to whether they are still running diff --git a/commandsv2/src/main/java/org/wpilib/command2/ParallelRaceGroup.java b/commandsv2/src/main/java/org/wpilib/command2/ParallelRaceGroup.java index 8c3d81817f..51714bc31c 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/ParallelRaceGroup.java +++ b/commandsv2/src/main/java/org/wpilib/command2/ParallelRaceGroup.java @@ -16,7 +16,7 @@ import java.util.Set; * added to any other composition or scheduled individually, and the composition requires all * subsystems its components require. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class ParallelRaceGroup extends Command { // LinkedHashSet guarantees we iterate over commands in the order they were added diff --git a/commandsv2/src/main/java/org/wpilib/command2/PrintCommand.java b/commandsv2/src/main/java/org/wpilib/command2/PrintCommand.java index 39a7e26bbd..8483083a15 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/PrintCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/PrintCommand.java @@ -7,7 +7,7 @@ package org.wpilib.command2; /** * A command that prints a string when initialized. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep */ public class PrintCommand extends InstantCommand { /** diff --git a/commandsv2/src/main/java/org/wpilib/command2/ProxyCommand.java b/commandsv2/src/main/java/org/wpilib/command2/ProxyCommand.java index 143902aa8d..ab60641c27 100644 --- a/commandsv2/src/main/java/org/wpilib/command2/ProxyCommand.java +++ b/commandsv2/src/main/java/org/wpilib/command2/ProxyCommand.java @@ -18,7 +18,7 @@ import org.wpilib.util.sendable.SendableBuilder; * from a subsystem already required by the composition, or else the composition will cancel itself * when the proxy is reached. If this command is interrupted, it will cancel the command. * - *
This class is provided by the NewCommands VendorDep + *
This class is provided by the Commands v2 VendorDep
*/
public class ProxyCommand extends Command {
private final Supplier This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class RepeatCommand extends Command {
private final Command m_command;
diff --git a/commandsv2/src/main/java/org/wpilib/command2/RunCommand.java b/commandsv2/src/main/java/org/wpilib/command2/RunCommand.java
index aa2c523979..8477db56cc 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/RunCommand.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/RunCommand.java
@@ -11,7 +11,7 @@ import java.util.function.BooleanSupplier;
* use {@link Command#withTimeout(double)} or {@link Command#until(BooleanSupplier)} to give it one.
* If you only wish to execute a Runnable once, use {@link InstantCommand}.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class RunCommand extends FunctionalCommand {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/ScheduleCommand.java b/commandsv2/src/main/java/org/wpilib/command2/ScheduleCommand.java
index db44261869..8cb9be1113 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/ScheduleCommand.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/ScheduleCommand.java
@@ -11,7 +11,7 @@ import java.util.Set;
* CommandGroups. Note that if run from a composition, the composition will not know about the
* status of the scheduled commands, and will treat this command as finishing instantly.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class ScheduleCommand extends Command {
private final Set This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*
* @param This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class SequentialCommandGroup extends Command {
private final List This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class StartEndCommand extends FunctionalCommand {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/Subsystem.java b/commandsv2/src/main/java/org/wpilib/command2/Subsystem.java
index 4ae2b8a71f..c5829db4d3 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/Subsystem.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/Subsystem.java
@@ -22,7 +22,7 @@ import java.util.function.Supplier;
* constructor of users' Subsystem implementations. The {@link SubsystemBase} class offers a simple
* base for user implementations that handles this.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public interface Subsystem {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/SubsystemBase.java b/commandsv2/src/main/java/org/wpilib/command2/SubsystemBase.java
index 2c6c57a103..08fbdef168 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/SubsystemBase.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/SubsystemBase.java
@@ -12,7 +12,7 @@ import org.wpilib.util.sendable.SendableRegistry;
* A base for subsystems that handles registration in the constructor, and provides a more intuitive
* method for setting the default command.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public abstract class SubsystemBase implements Subsystem, Sendable {
/** Constructor. Telemetry/log name defaults to the classname. */
diff --git a/commandsv2/src/main/java/org/wpilib/command2/WaitCommand.java b/commandsv2/src/main/java/org/wpilib/command2/WaitCommand.java
index 191f93ebc5..9fec1ec0a7 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/WaitCommand.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/WaitCommand.java
@@ -14,7 +14,7 @@ import org.wpilib.util.sendable.SendableRegistry;
/**
* A command that does nothing but takes a specified amount of time to finish.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class WaitCommand extends Command {
/** The timer used for waiting. */
diff --git a/commandsv2/src/main/java/org/wpilib/command2/WaitUntilCommand.java b/commandsv2/src/main/java/org/wpilib/command2/WaitUntilCommand.java
index 6ec08cb4bb..6e8606df30 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/WaitUntilCommand.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/WaitUntilCommand.java
@@ -13,7 +13,7 @@ import org.wpilib.system.Timer;
* A command that does nothing but ends after a specified match time or condition. Useful for
* CommandGroups.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class WaitUntilCommand extends Command {
private final BooleanSupplier m_condition;
diff --git a/commandsv2/src/main/java/org/wpilib/command2/button/GamepadButton.java b/commandsv2/src/main/java/org/wpilib/command2/button/GamepadButton.java
index f69f46e971..b4dea54c37 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/button/GamepadButton.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/button/GamepadButton.java
@@ -11,7 +11,7 @@ import org.wpilib.driverstation.Gamepad;
/**
* A {@link Trigger} that gets its state from a {@link Gamepad}.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class GamepadButton extends Trigger {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/button/InternalButton.java b/commandsv2/src/main/java/org/wpilib/command2/button/InternalButton.java
index b0e0f4f5a5..cfc08a145a 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/button/InternalButton.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/button/InternalButton.java
@@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
* This class is intended to be used within a program. The programmer can manually set its value.
* Also includes a setting for whether it should invert its value.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class InternalButton extends Trigger {
// need to be references, so they can be mutated after being captured in the constructor.
diff --git a/commandsv2/src/main/java/org/wpilib/command2/button/JoystickButton.java b/commandsv2/src/main/java/org/wpilib/command2/button/JoystickButton.java
index 02f54a4000..94c18f629d 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/button/JoystickButton.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/button/JoystickButton.java
@@ -11,7 +11,7 @@ import org.wpilib.driverstation.GenericHID;
/**
* A {@link Trigger} that gets its state from a {@link GenericHID}.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class JoystickButton extends Trigger {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/button/NetworkButton.java b/commandsv2/src/main/java/org/wpilib/command2/button/NetworkButton.java
index 9a9b2460b5..1e7880b4ba 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/button/NetworkButton.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/button/NetworkButton.java
@@ -14,7 +14,7 @@ import org.wpilib.networktables.NetworkTableInstance;
/**
* A {@link Trigger} that uses a {@link NetworkTable} boolean field.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class NetworkButton extends Trigger {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/button/POVButton.java b/commandsv2/src/main/java/org/wpilib/command2/button/POVButton.java
index 64a7068472..5727710406 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/button/POVButton.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/button/POVButton.java
@@ -12,7 +12,7 @@ import org.wpilib.driverstation.GenericHID;
/**
* A {@link Trigger} that gets its state from a POV on a {@link GenericHID}.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class POVButton extends Trigger {
/**
diff --git a/commandsv2/src/main/java/org/wpilib/command2/button/Trigger.java b/commandsv2/src/main/java/org/wpilib/command2/button/Trigger.java
index 410a90ed61..cf0980b8b0 100644
--- a/commandsv2/src/main/java/org/wpilib/command2/button/Trigger.java
+++ b/commandsv2/src/main/java/org/wpilib/command2/button/Trigger.java
@@ -22,7 +22,7 @@ import org.wpilib.math.filter.EdgeCounterFilter;
* Triggers can easily be composed for advanced functionality using the {@link
* #and(BooleanSupplier)}, {@link #or(BooleanSupplier)}, {@link #negate()} operators.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
public class Trigger implements BooleanSupplier {
/** Functional interface for the body of a trigger binding. */
diff --git a/commandsv2/src/main/native/include/wpi/commands2/Command.hpp b/commandsv2/src/main/native/include/wpi/commands2/Command.hpp
index 41adcb07d5..be31868600 100644
--- a/commandsv2/src/main/native/include/wpi/commands2/Command.hpp
+++ b/commandsv2/src/main/native/include/wpi/commands2/Command.hpp
@@ -32,7 +32,7 @@ namespace wpi::cmd {
* Note: ALWAYS create a subclass by extending CommandHelper Note: ALWAYS create a subclass by extending CommandHelper This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
class DeferredCommand : public CommandHelper This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
class ProxyCommand : public CommandHelper This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
class RepeatCommand : public CommandHelper Triggers can easily be composed for advanced functionality using the
* {@link #operator!}, {@link #operator||}, {@link #operator&&} operators.
*
- * This class is provided by the NewCommands VendorDep
+ * This class is provided by the Commands v2 VendorDep
*/
class Trigger {
public:
diff --git a/wpilibc/src/main/native/include/wpi/event/NetworkBooleanEvent.hpp b/wpilibc/src/main/native/include/wpi/event/NetworkBooleanEvent.hpp
index 5543dc27ca..08bb3fe30f 100644
--- a/wpilibc/src/main/native/include/wpi/event/NetworkBooleanEvent.hpp
+++ b/wpilibc/src/main/native/include/wpi/event/NetworkBooleanEvent.hpp
@@ -19,8 +19,6 @@ class NetworkTableInstance;
namespace wpi {
/**
* A Button that uses a NetworkTable boolean field.
- *
- * This class is provided by the NewCommands VendorDep
*/
class NetworkBooleanEvent : public BooleanEvent {
public: