1 | | Often in FRC competitions, cameras are crucial for |
| 1 | |
| 2 | Cameras and Shuffleboard |
| 3 | |
| 4 | Often in FRC competitions, cameras are crucial for all sections of the games: autonomous and tele-operated. |
| 5 | |
| 6 | Create a new FRC project. |
| 7 | |
| 8 | import edu.wpi.first.cameraserver.CameraServer; |
| 9 | |
| 10 | Inside robotInit(), configure the camera with: |
| 11 | |
| 12 | CameraServer.getInstance().startAutomaticCapture(); |
| 13 | |
| 14 | Now read about Shuffleboard: |
| 15 | https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/814689-tour-of-shuffleboard |
| 16 | |
| 17 | Smartdashboard and shufflebaord can be used interchangeably, however,shuffleboard is far more user friendly and visually appealing. |
| 18 | |
| 19 | To display the camera: |
| 20 | https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/831042-displaying-camera-streams |
| 21 | |
| 22 | |
| 23 | |