Module lift_controller

Module lift_controller 

Source
Expand description

Closed-loop controller for the linear lift actuator.

This controller wraps a LiftMotor and provides a periodic step() function that computes a drive command using PID control and applies it to the motor.

Typical usage pattern:

controller.set_target_height_mm(150.0);

loop {
    controller.step(dt_seconds);
    delay.delay_ms(10_u32);
}

Structs§

LiftController
Controller state and configuration.

Enums§

LiftMode
Operating mode of the lift controller.