Function rs2_pose_frame_get_pose_data

Function Documentation

void rs2_pose_frame_get_pose_data(const rs2_frame *frame, rs2_pose *pose, rs2_error **error)

When called on Pose frame type, this method returns the transformation represented by the pose data

Parameters:
  • frame[in] Pose frame

  • pose[out] Pointer to a user allocated struct, which contains the pose info after a successful return

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored