public void RosValidate() { if (GroupName is null) { throw new System.NullReferenceException(nameof(GroupName)); } if (AttachedObjectName is null) { throw new System.NullReferenceException(nameof(AttachedObjectName)); } if (PlaceLocations is null) { throw new System.NullReferenceException(nameof(PlaceLocations)); } for (int i = 0; i < PlaceLocations.Length; i++) { if (PlaceLocations[i] is null) { throw new System.NullReferenceException($"{nameof(PlaceLocations)}[{i}]"); } PlaceLocations[i].RosValidate(); } if (SupportSurfaceName is null) { throw new System.NullReferenceException(nameof(SupportSurfaceName)); } if (PathConstraints is null) { throw new System.NullReferenceException(nameof(PathConstraints)); } PathConstraints.RosValidate(); if (PlannerId is null) { throw new System.NullReferenceException(nameof(PlannerId)); } 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}]"); } } if (PlanningOptions is null) { throw new System.NullReferenceException(nameof(PlanningOptions)); } PlanningOptions.RosValidate(); }
public void RosValidate() { if (GroupName is null) { throw new System.NullReferenceException(nameof(GroupName)); } if (RobotState is null) { throw new System.NullReferenceException(nameof(RobotState)); } RobotState.RosValidate(); if (Constraints is null) { throw new System.NullReferenceException(nameof(Constraints)); } Constraints.RosValidate(); if (IkLinkName is null) { throw new System.NullReferenceException(nameof(IkLinkName)); } if (PoseStamped is null) { throw new System.NullReferenceException(nameof(PoseStamped)); } PoseStamped.RosValidate(); if (IkLinkNames is null) { throw new System.NullReferenceException(nameof(IkLinkNames)); } for (int i = 0; i < IkLinkNames.Length; i++) { if (IkLinkNames[i] is null) { throw new System.NullReferenceException($"{nameof(IkLinkNames)}[{i}]"); } } if (PoseStampedVector is null) { throw new System.NullReferenceException(nameof(PoseStampedVector)); } for (int i = 0; i < PoseStampedVector.Length; i++) { if (PoseStampedVector[i] is null) { throw new System.NullReferenceException($"{nameof(PoseStampedVector)}[{i}]"); } PoseStampedVector[i].RosValidate(); } }
public void RosValidate() { if (WorkspaceParameters is null) { throw new System.NullReferenceException(nameof(WorkspaceParameters)); } WorkspaceParameters.RosValidate(); if (StartState is null) { throw new System.NullReferenceException(nameof(StartState)); } StartState.RosValidate(); if (GoalConstraints is null) { throw new System.NullReferenceException(nameof(GoalConstraints)); } for (int i = 0; i < GoalConstraints.Length; i++) { if (GoalConstraints[i] is null) { throw new System.NullReferenceException($"{nameof(GoalConstraints)}[{i}]"); } GoalConstraints[i].RosValidate(); } if (PathConstraints is null) { throw new System.NullReferenceException(nameof(PathConstraints)); } PathConstraints.RosValidate(); if (TrajectoryConstraints is null) { throw new System.NullReferenceException(nameof(TrajectoryConstraints)); } TrajectoryConstraints.RosValidate(); if (PlannerId is null) { throw new System.NullReferenceException(nameof(PlannerId)); } if (GroupName is null) { throw new System.NullReferenceException(nameof(GroupName)); } }
public void RosValidate() { if (TargetName is null) { throw new System.NullReferenceException(nameof(TargetName)); } if (GroupName is null) { throw new System.NullReferenceException(nameof(GroupName)); } if (EndEffector is null) { throw new System.NullReferenceException(nameof(EndEffector)); } if (PossibleGrasps is null) { throw new System.NullReferenceException(nameof(PossibleGrasps)); } for (int i = 0; i < PossibleGrasps.Length; i++) { if (PossibleGrasps[i] is null) { throw new System.NullReferenceException($"{nameof(PossibleGrasps)}[{i}]"); } PossibleGrasps[i].RosValidate(); } if (SupportSurfaceName is null) { throw new System.NullReferenceException(nameof(SupportSurfaceName)); } if (AttachedObjectTouchLinks is null) { throw new System.NullReferenceException(nameof(AttachedObjectTouchLinks)); } for (int i = 0; i < AttachedObjectTouchLinks.Length; i++) { if (AttachedObjectTouchLinks[i] is null) { throw new System.NullReferenceException($"{nameof(AttachedObjectTouchLinks)}[{i}]"); } } if (PathConstraints is null) { throw new System.NullReferenceException(nameof(PathConstraints)); } PathConstraints.RosValidate(); if (PlannerId is null) { throw new System.NullReferenceException(nameof(PlannerId)); } 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}]"); } } if (PlanningOptions is null) { throw new System.NullReferenceException(nameof(PlanningOptions)); } PlanningOptions.RosValidate(); }