public void RosValidate() { if (LinkName is null) { throw new System.NullReferenceException(nameof(LinkName)); } if (Object is null) { throw new System.NullReferenceException(nameof(Object)); } Object.RosValidate(); if (TouchLinks is null) { throw new System.NullReferenceException(nameof(TouchLinks)); } for (int i = 0; i < TouchLinks.Length; i++) { if (TouchLinks[i] is null) { throw new System.NullReferenceException($"{nameof(TouchLinks)}[{i}]"); } } if (DetachPosture is null) { throw new System.NullReferenceException(nameof(DetachPosture)); } DetachPosture.RosValidate(); }
public void RosValidate() { if (JointTrajectory is null) { throw new System.NullReferenceException(nameof(JointTrajectory)); } JointTrajectory.RosValidate(); if (MultiDofJointTrajectory is null) { throw new System.NullReferenceException(nameof(MultiDofJointTrajectory)); } MultiDofJointTrajectory.RosValidate(); }
public void RosValidate() { if (Id is null) { throw new System.NullReferenceException(nameof(Id)); } if (PreGraspPosture is null) { throw new System.NullReferenceException(nameof(PreGraspPosture)); } PreGraspPosture.RosValidate(); if (GraspPosture is null) { throw new System.NullReferenceException(nameof(GraspPosture)); } GraspPosture.RosValidate(); if (GraspPose is null) { throw new System.NullReferenceException(nameof(GraspPose)); } GraspPose.RosValidate(); if (PreGraspApproach is null) { throw new System.NullReferenceException(nameof(PreGraspApproach)); } PreGraspApproach.RosValidate(); if (PostGraspRetreat is null) { throw new System.NullReferenceException(nameof(PostGraspRetreat)); } PostGraspRetreat.RosValidate(); if (PostPlaceRetreat is null) { throw new System.NullReferenceException(nameof(PostPlaceRetreat)); } PostPlaceRetreat.RosValidate(); if (AllowedTouchObjects is null) { throw new System.NullReferenceException(nameof(AllowedTouchObjects)); } for (int i = 0; i < AllowedTouchObjects.Length; i++) { if (AllowedTouchObjects[i] is null) { throw new System.NullReferenceException($"{nameof(AllowedTouchObjects)}[{i}]"); } } }