Skip to main content

forward_kinematics

Function forward_kinematics 

Source
pub fn forward_kinematics(
    link_lengths: &[f64],
    joint_angles: &[f64],
) -> [f64; 2]
Expand description

Computes the forward kinematics for given link lengths and joint angles.

Returns the end-effector position [x, y].