Class SwitchCameras

java.lang.Object
edu.wpi.first.wpilibj2.command.CommandBase
frc.robot.commands.SwitchCameras
All Implemented Interfaces:
edu.wpi.first.wpilibj.Sendable, edu.wpi.first.wpilibj2.command.Command

public class SwitchCameras
extends edu.wpi.first.wpilibj2.command.CommandBase
Toggles between driver cameras seen in Shuffleboard.
  • Field Summary

    Fields inherited from class edu.wpi.first.wpilibj2.command.CommandBase

    m_requirements
  • Constructor Summary

    Constructors 
    Constructor Description
    SwitchCameras​(edu.wpi.cscore.VideoSink SwitchedCamera, edu.wpi.cscore.UsbCamera Camera1, edu.wpi.cscore.UsbCamera Camera2)  
  • Method Summary

    Modifier and Type Method Description
    void execute()  
    boolean isFinished()  

    Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase

    addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface edu.wpi.first.wpilibj2.command.Command

    alongWith, andThen, andThen, asProxy, beforeStarting, cancel, deadlineWith, end, hasRequirement, initialize, isScheduled, perpetually, raceWith, runsWhenDisabled, schedule, schedule, withInterrupt, withTimeout

    Methods inherited from interface edu.wpi.first.wpilibj.Sendable

    addChild, setName, setName, setName
  • Constructor Details

    • SwitchCameras

      public SwitchCameras​(edu.wpi.cscore.VideoSink SwitchedCamera, edu.wpi.cscore.UsbCamera Camera1, edu.wpi.cscore.UsbCamera Camera2)
  • Method Details