Skip to main content

pamoja_pid_reset

Function pamoja_pid_reset 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_pid_reset(pid: *mut PamojaPid)
Expand description

Clears a PID controller’s accumulated integral, its last error, and the output it last returned.

§Safety

pid must be a live handle from a PID constructor, or null.