/// <summary> Explicit constructor. </summary> public PlanningOptions(PlanningScene PlanningSceneDiff, bool PlanOnly, bool LookAround, int LookAroundAttempts, double MaxSafeExecutionCost, bool Replan, int ReplanAttempts, double ReplanDelay) { this.PlanningSceneDiff = PlanningSceneDiff; this.PlanOnly = PlanOnly; this.LookAround = LookAround; this.LookAroundAttempts = LookAroundAttempts; this.MaxSafeExecutionCost = MaxSafeExecutionCost; this.Replan = Replan; this.ReplanAttempts = ReplanAttempts; this.ReplanDelay = ReplanDelay; }
/// <summary> Constructor with buffer. </summary> internal PlanningOptions(ref Buffer b) { PlanningSceneDiff = new PlanningScene(ref b); PlanOnly = b.Deserialize<bool>(); LookAround = b.Deserialize<bool>(); LookAroundAttempts = b.Deserialize<int>(); MaxSafeExecutionCost = b.Deserialize<double>(); Replan = b.Deserialize<bool>(); ReplanAttempts = b.Deserialize<int>(); ReplanDelay = b.Deserialize<double>(); }
/// <summary> Constructor for empty message. </summary> public PlanningOptions() { PlanningSceneDiff = new PlanningScene(); }