Package frc.alotobots.util
Class NotificationPresets.AprilTag
java.lang.Object
frc.alotobots.util.NotificationPresets.AprilTag
- Enclosing class:
- NotificationPresets
Contains notification methods related to AprilTag vision system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
sendAprilTagCameraDisconnectedNotification
(String cameraName) Sends a notification when an AprilTag camera disconnects.static void
sendAprilTagCameraReconnectedNotification
(String cameraName) Sends a notification when an AprilTag camera reconnects.
-
Constructor Details
-
AprilTag
public AprilTag()
-
-
Method Details
-
sendAprilTagCameraDisconnectedNotification
Sends a notification when an AprilTag camera disconnects. Only sends the notification once until the camera is reconnected.- Parameters:
cameraName
- The name of the disconnected camera
-
sendAprilTagCameraReconnectedNotification
Sends a notification when an AprilTag camera reconnects. Only sends if a disconnection was previously reported.- Parameters:
cameraName
- The name of the reconnected camera
-