Skip to main content

diff_drive_ik

Function diff_drive_ik 

Source
pub fn diff_drive_ik(linear_v: f64, angular_w: f64) -> (i32, i32)
Expand description

Differential Drive Kinematic Inverse Solver Given desired linear velocity linear_v (m/s) and angular velocity angular_w (rad/s), returns left and right wheel PWM speeds (-100 to 100 %).