necst_msgs.msg.AlertMsg
Data type for alert information.
float64[]
) -- Threshold of critical condition.float64
) -- Actual value to compare with threshold
.bool
) -- If true
, the situation nears the threshold.bool
) -- If true
, the situation has exceeded the threshold, and safeguard will be activated.string[]
) -- Part(s) of the system this alert information is valid.>>> from necst_msgs.msg import AlertMsg
>>> msg = AlertMsg(
... threshold=5.0, actual=6.1, warning=True, critical=False, target=["all"]
... )
float64[] threshold
float64 actual
bool warning
bool critical
string[] target