Changes between Version 4 and Version 5 of ControlSystems/SoftwareTeam/Training/GettingStarted/Cameras
- Timestamp:
- Nov 12, 2019, 7:14:31 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/Cameras
v4 v5 1 1 2 Cameras and Shuffleboard 2 **Camera Feed Display** 3 3 4 Often in FRC competitions, cameras are crucial for all sections of the games: autonomous and tele-operated. 4 Cameras are crucial to competitions due to their ability to 5 5 6 Create a new FRC project. 6 1. Open FRC VSCode 7 2. Create a new FRC project. 8 3. Type the following into Robot.java 7 9 8 10 {{{ … … 10 12 }}} 11 13 12 Inside robotInit(), configure the camera with:14 4. Inside robotInit(), configure the camera with: 13 15 14 16 {{{ 15 17 CameraServer.getInstance().startAutomaticCapture(); 16 18 }}} 17 Now read about Shuffleboard: 19 20 5. To display the camera feed, we'll need shuffleboard. Read about it here: 18 21 https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/814689-tour-of-shuffleboard 19 22 20 Smartdashboard and shuffleb aord can be used interchangeably, however,shuffleboard is far more user friendly and visually appealing.23 Smartdashboard and shuffleboard can be used interchangeably, however,shuffleboard is far more user friendly and visually appealing. 21 24 22 To display the camera:25 6. To display the camera open up Shuffleboard and read: 23 26 https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/831042-displaying-camera-streams 24 27