Package swervelib.telemetry
Class Alert.SendableAlerts
java.lang.Object
swervelib.telemetry.Alert.SendableAlerts
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
- Enclosing class:
- Alert
private static class Alert.SendableAlerts
extends Object
implements edu.wpi.first.util.sendable.Sendable
Sendable alert for advantage scope.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getStrings
(Alert.AlertType type) Get alerts based off of type.void
initSendable
(edu.wpi.first.util.sendable.SendableBuilder builder)
-
Field Details
-
alerts
Alert list for sendable.
-
-
Constructor Details
-
SendableAlerts
private SendableAlerts()
-
-
Method Details
-
getStrings
Get alerts based off of type.- Parameters:
type
- Type of alert to fetch.- Returns:
- Active alert strings.
-
initSendable
public void initSendable(edu.wpi.first.util.sendable.SendableBuilder builder) - Specified by:
initSendable
in interfaceedu.wpi.first.util.sendable.Sendable
-