Esempio n. 1
0
 /// <summary> Constructor for empty message. </summary>
 public MoveGroupResult()
 {
     ErrorCode          = new MoveItErrorCodes();
     TrajectoryStart    = new MoveitMsgs.RobotState();
     PlannedTrajectory  = new MoveitMsgs.RobotTrajectory();
     ExecutedTrajectory = new MoveitMsgs.RobotTrajectory();
 }
Esempio n. 2
0
 /// <summary> Constructor with buffer. </summary>
 internal MoveGroupResult(ref Buffer b)
 {
     ErrorCode          = new MoveItErrorCodes(ref b);
     TrajectoryStart    = new MoveitMsgs.RobotState(ref b);
     PlannedTrajectory  = new MoveitMsgs.RobotTrajectory(ref b);
     ExecutedTrajectory = new MoveitMsgs.RobotTrajectory(ref b);
     PlanningTime       = b.Deserialize <double>();
 }
Esempio n. 3
0
 /// <summary> Explicit constructor. </summary>
 public MoveGroupResult(MoveItErrorCodes ErrorCode, MoveitMsgs.RobotState TrajectoryStart, MoveitMsgs.RobotTrajectory PlannedTrajectory, MoveitMsgs.RobotTrajectory ExecutedTrajectory, double PlanningTime)
 {
     this.ErrorCode          = ErrorCode;
     this.TrajectoryStart    = TrajectoryStart;
     this.PlannedTrajectory  = PlannedTrajectory;
     this.ExecutedTrajectory = ExecutedTrajectory;
     this.PlanningTime       = PlanningTime;
 }