public void RosValidate()
 {
     if (ErrorCode is null)
     {
         throw new System.NullReferenceException(nameof(ErrorCode));
     }
     ErrorCode.RosValidate();
     if (SequenceStart is null)
     {
         throw new System.NullReferenceException(nameof(SequenceStart));
     }
     SequenceStart.RosValidate();
     if (PlannedTrajectories is null)
     {
         throw new System.NullReferenceException(nameof(PlannedTrajectories));
     }
     for (int i = 0; i < PlannedTrajectories.Length; i++)
     {
         if (PlannedTrajectories[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(PlannedTrajectories)}[{i}]");
         }
         PlannedTrajectories[i].RosValidate();
     }
 }
 public void RosValidate()
 {
     if (TrajectoryStart is null)
     {
         throw new System.NullReferenceException(nameof(TrajectoryStart));
     }
     TrajectoryStart.RosValidate();
     if (GroupName is null)
     {
         throw new System.NullReferenceException(nameof(GroupName));
     }
     if (Trajectory is null)
     {
         throw new System.NullReferenceException(nameof(Trajectory));
     }
     for (int i = 0; i < Trajectory.Length; i++)
     {
         if (Trajectory[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(Trajectory)}[{i}]");
         }
         Trajectory[i].RosValidate();
     }
     if (Description is null)
     {
         throw new System.NullReferenceException(nameof(Description));
     }
     for (int i = 0; i < Description.Length; i++)
     {
         if (Description[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(Description)}[{i}]");
         }
     }
     if (ProcessingTime is null)
     {
         throw new System.NullReferenceException(nameof(ProcessingTime));
     }
     if (ErrorCode is null)
     {
         throw new System.NullReferenceException(nameof(ErrorCode));
     }
     ErrorCode.RosValidate();
 }
Exemple #3
0
 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));
     }
 }
Exemple #4
0
 public void RosValidate()
 {
     if (State is null)
     {
         throw new System.NullReferenceException(nameof(State));
     }
     State.RosValidate();
     if (HighlightLinks is null)
     {
         throw new System.NullReferenceException(nameof(HighlightLinks));
     }
     for (int i = 0; i < HighlightLinks.Length; i++)
     {
         if (HighlightLinks[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(HighlightLinks)}[{i}]");
         }
         HighlightLinks[i].RosValidate();
     }
 }
Exemple #5
0
 public void RosValidate()
 {
     if (ErrorCode is null)
     {
         throw new System.NullReferenceException(nameof(ErrorCode));
     }
     ErrorCode.RosValidate();
     if (TrajectoryStart is null)
     {
         throw new System.NullReferenceException(nameof(TrajectoryStart));
     }
     TrajectoryStart.RosValidate();
     if (TrajectoryStages is null)
     {
         throw new System.NullReferenceException(nameof(TrajectoryStages));
     }
     for (int i = 0; i < TrajectoryStages.Length; i++)
     {
         if (TrajectoryStages[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(TrajectoryStages)}[{i}]");
         }
         TrajectoryStages[i].RosValidate();
     }
     if (TrajectoryDescriptions is null)
     {
         throw new System.NullReferenceException(nameof(TrajectoryDescriptions));
     }
     for (int i = 0; i < TrajectoryDescriptions.Length; i++)
     {
         if (TrajectoryDescriptions[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(TrajectoryDescriptions)}[{i}]");
         }
     }
     if (PlaceLocation is null)
     {
         throw new System.NullReferenceException(nameof(PlaceLocation));
     }
     PlaceLocation.RosValidate();
 }
Exemple #6
0
 public void RosValidate()
 {
     if (TrajectoryStart is null)
     {
         throw new System.NullReferenceException(nameof(TrajectoryStart));
     }
     TrajectoryStart.RosValidate();
     if (GroupName is null)
     {
         throw new System.NullReferenceException(nameof(GroupName));
     }
     if (Trajectory is null)
     {
         throw new System.NullReferenceException(nameof(Trajectory));
     }
     Trajectory.RosValidate();
     if (ErrorCode is null)
     {
         throw new System.NullReferenceException(nameof(ErrorCode));
     }
     ErrorCode.RosValidate();
 }
Exemple #7
0
 public void RosValidate()
 {
     if (ModelId is null)
     {
         throw new System.NullReferenceException(nameof(ModelId));
     }
     if (Trajectory is null)
     {
         throw new System.NullReferenceException(nameof(Trajectory));
     }
     for (int i = 0; i < Trajectory.Length; i++)
     {
         if (Trajectory[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(Trajectory)}[{i}]");
         }
         Trajectory[i].RosValidate();
     }
     if (TrajectoryStart is null)
     {
         throw new System.NullReferenceException(nameof(TrajectoryStart));
     }
     TrajectoryStart.RosValidate();
 }
Exemple #8
0
 public void RosValidate()
 {
     if (Name is null)
     {
         throw new System.NullReferenceException(nameof(Name));
     }
     if (RobotState is null)
     {
         throw new System.NullReferenceException(nameof(RobotState));
     }
     RobotState.RosValidate();
     if (RobotModelName is null)
     {
         throw new System.NullReferenceException(nameof(RobotModelName));
     }
     if (FixedFrameTransforms is null)
     {
         throw new System.NullReferenceException(nameof(FixedFrameTransforms));
     }
     if (AllowedCollisionMatrix is null)
     {
         throw new System.NullReferenceException(nameof(AllowedCollisionMatrix));
     }
     AllowedCollisionMatrix.RosValidate();
     if (LinkPadding is null)
     {
         throw new System.NullReferenceException(nameof(LinkPadding));
     }
     for (int i = 0; i < LinkPadding.Length; i++)
     {
         if (LinkPadding[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(LinkPadding)}[{i}]");
         }
         LinkPadding[i].RosValidate();
     }
     if (LinkScale is null)
     {
         throw new System.NullReferenceException(nameof(LinkScale));
     }
     for (int i = 0; i < LinkScale.Length; i++)
     {
         if (LinkScale[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(LinkScale)}[{i}]");
         }
         LinkScale[i].RosValidate();
     }
     if (ObjectColors is null)
     {
         throw new System.NullReferenceException(nameof(ObjectColors));
     }
     for (int i = 0; i < ObjectColors.Length; i++)
     {
         if (ObjectColors[i] is null)
         {
             throw new System.NullReferenceException($"{nameof(ObjectColors)}[{i}]");
         }
         ObjectColors[i].RosValidate();
     }
     if (World is null)
     {
         throw new System.NullReferenceException(nameof(World));
     }
     World.RosValidate();
 }