Commit | Line | Data |
---|---|---|
c14614aa AEE |
1 | package org.usfirst.frc.team3501.robot.commands.accessories; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.CameraFeeds; | |
4 | ||
5 | import edu.wpi.first.wpilibj.command.Command; | |
6 | ||
7 | public class ToggleCameraFeed extends Command { | |
8 | ||
9 | public void init() { | |
10 | CameraFeeds cf = CameraFeeds.getCameraFeeds(); | |
11 | ||
12 | cf.toggleCamera(); | |
13 | } | |
14 | ||
15 | @Override | |
16 | protected boolean isFinished() { | |
17 | return true; | |
18 | } | |
19 | ||
20 | } |