Skip to main content

pamoja_safety_gate_is_stopped

Function pamoja_safety_gate_is_stopped 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_safety_gate_is_stopped( gate: *const PamojaSafetyGate, ) -> bool
Expand description

Reports whether a safety gate is forcing a stop.

§Returns

true while its e-stop is engaged or its watchdog has expired, and also if gate is null.

§Safety

gate must be a live handle from pamoja_safety_gate_new, or null.