diff --git a/wpilibcExamples/src/main/cpp/examples/GearsBot/include/commands/CloseClaw.h b/wpilibcExamples/src/main/cpp/examples/GearsBot/include/commands/CloseClaw.h index a5e6c0b0dc..52da316e81 100644 --- a/wpilibcExamples/src/main/cpp/examples/GearsBot/include/commands/CloseClaw.h +++ b/wpilibcExamples/src/main/cpp/examples/GearsBot/include/commands/CloseClaw.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -13,8 +13,7 @@ #include "subsystems/Claw.h" /** - * Opens the claw for one second. Real robots should use sensors, stalling - * motors is BAD! + * Closes the claw until the limit switch is tripped. */ class CloseClaw : public frc2::CommandHelper { public: diff --git a/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gearsbot/commands/CloseClaw.java b/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gearsbot/commands/CloseClaw.java index 0ebce9a34b..c8f294c39b 100644 --- a/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gearsbot/commands/CloseClaw.java +++ b/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gearsbot/commands/CloseClaw.java @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -13,7 +13,7 @@ import edu.wpi.first.wpilibj.examples.gearsbot.Robot; import edu.wpi.first.wpilibj.examples.gearsbot.subsystems.Claw; /** - * Closes the claw for one second. Real robots should use sensors, stalling motors is BAD! + * Closes the claw until the limit switch is tripped. */ public class CloseClaw extends CommandBase { private final Claw m_claw;