Skip to content

Commit 9c86121

Browse files
Fix close claw RobotBuilder command (#1730)
Close claw Initialize was supposed to call m_claw.close(), not m_claw.open()
1 parent 6a5e88e commit 9c86121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/docs/software/wpilib-tools/robotbuilder/writing-code/robotbuilder-writing-command-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Generated CloseClaw Class
6363
// Called when the command is initially scheduled.
6464
@Override
6565
public void initialize() {
66-
m_claw.open(); // (1)
66+
m_claw.close(); // (1)
6767
}
6868
6969
// Called every time the scheduler runs while the command is scheduled.

0 commit comments

Comments
 (0)