mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
25 lines
522 B
Java
25 lines
522 B
Java
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
||
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
||
|
|
// the WPILib BSD license file in the root directory of this project.
|
||
|
|
|
||
|
|
package org.wpilib.commands3;
|
||
|
|
|
||
|
|
import java.util.Set;
|
||
|
|
|
||
|
|
class NullCommand implements Command {
|
||
|
|
@Override
|
||
|
|
public void run(Coroutine coroutine) {
|
||
|
|
coroutine.park();
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String name() {
|
||
|
|
return "Null Command";
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public Set<Mechanism> requirements() {
|
||
|
|
return Set.of();
|
||
|
|
}
|
||
|
|
}
|