Skip to main content

State

Type Alias State 

pub type State = [f64; 4];
Expand description

(x, ẋ, θ, θ̇): cart position and velocity, pole angle (0 is upright, positive leans right) and angular velocity.