Skip to main content

pamoja_forward_kinematics

Function pamoja_forward_kinematics 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_forward_kinematics( joints: *const PamojaDhParameters, len: usize, ) -> PamojaTransform
Expand description

Returns the transform from a serial arm’s base to its tool.

§Arguments

  • joints - the arm’s joints, base first.
  • len - how many joints joints holds.

§Returns

The composed transform, or the identity for an arm with no joints or a null joints.

§Safety

joints must point to len readable PamojaDhParameters, or be null.