/*@Nullable*/ public static PoseType getPose(/*@Nullable*/ CRCLStatusType stat) { if (stat != null) { PoseStatusType poseStatus = stat.getPoseStatus(); if (null != poseStatus) { return poseStatus.getPose(); } } return null; }
public static void setPose(/*@Nullable*/ CRCLStatusType stat, PoseType pose) { if (null != stat) { PoseStatusType poseStatus = stat.getPoseStatus(); if (null != poseStatus) { poseStatus.setPose(pose); } else { PoseStatusType newPoseStatus = new PoseStatusType(); newPoseStatus.setPose(pose); stat.setPoseStatus(newPoseStatus); } } }