/// <summary> Constructor for empty message. </summary> public MoveGroupResult() { ErrorCode = new MoveItErrorCodes(); TrajectoryStart = new MoveitMsgs.RobotState(); PlannedTrajectory = new MoveitMsgs.RobotTrajectory(); ExecutedTrajectory = new MoveitMsgs.RobotTrajectory(); }
/// <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>(); }
/// <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; }