Version 3 (modified by 6 years ago) (diff) | ,
---|
Cameras and Shuffleboard
Often in FRC competitions, cameras are crucial for all sections of the games: autonomous and tele-operated.
Create a new FRC project.
import edu.wpi.first.cameraserver.CameraServer;
Inside robotInit(), configure the camera with:
CameraServer?.getInstance().startAutomaticCapture();
Now read about Shuffleboard: https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/814689-tour-of-shuffleboard
Smartdashboard and shufflebaord can be used interchangeably, however,shuffleboard is far more user friendly and visually appealing.
To display the camera: https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/l/831042-displaying-camera-streams