Compute data associated with the joint formed by the specified segment (outgoing), and the preceding segment (incoming) in the path. Also update the JointAngleQueue that tracks straightness of each joint.