BB.Safety.HardwareError (bb v0.15.0)
View SourcePayload type for hardware error events.
Published to [:safety, :error] when a component reports a hardware error.
Subscribe to receive notifications of hardware failures.
Example
BB.subscribe(MyRobot, [:safety, :error])
# Receive:
# {:bb, [:safety, :error], %BB.Message{payload: %BB.Safety.HardwareError{...}}}
Summary
Types
Functions
@spec new( atom(), keyword() ) :: {:ok, BB.Message.t()} | {:error, term()}