Changes between Version 5 and Version 6 of ControlSystems/SoftwareTeam/Training/GettingStarted/Cameras


Ignore:
Timestamp:
Nov 15, 2019, 10:56:24 PM (5 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/Cameras

    v5 v6  
    22**Camera Feed Display**
    33
    4 Cameras are crucial to competitions due to their ability to
     4Cameras are crucial to competitions since many parts of the field are not directly visible to the driver.
     5You can read about how to use the [https://first.wpi.edu/FRC/roborio/beta/docs/java/edu/wpi/first/wpilibj/CameraServer.html CameraServer] class on [https://wpilib.screenstepslive.com/s/currentCS/m/vision/l/669166-using-the-cameraserver-on-the-roborio ScreenStepsLive].
    56
    671. Open FRC VSCode
     
    1819}}}
    1920
    20 5. To display the camera feed, we'll need shuffleboard. Read about it here:
    21 https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/814689-tour-of-shuffleboard
     21You can see the complete Robot.java code [wiki:ControlSystems/SoftwareTeam/Training/GettingStarted/Cameras/ExampleCode1 here]
     22
     235. You can view the camera video in the smart dashboard or on the shuffleboard.
     24   1. To view the camera feed on the smart dashboard, use the pull-down chooser in the lower left
     25      corner to select USB Camera 0.
     26   1. To display the camera feed using shuffleboard, read about it here:
     27      https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/814689-tour-of-shuffleboard
    2228
    2329Smartdashboard and shuffleboard can be used interchangeably, however,shuffleboard is far more user friendly and visually appealing.
     
    2632https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/831042-displaying-camera-streams
    2733
    28 
    29 
     34It's often desirable for a robot to have more than one camera; the camera server supports this and you can select cameras using a game controller button or even automatically when the robot changes direction.  You can read about multiple camera selection [https://wpilib.screenstepslive.com/s/currentCS/m/vision/l/708159-using-multiple-cameras here]