From 4093fc50f21e04e96e271f172f8fb033d5afc9e2 Mon Sep 17 00:00:00 2001 From: Mark Finean Date: Mon, 26 Jun 2023 08:53:35 +0100 Subject: [PATCH] Add uknown enum to the error_map in DensePlanner --- descartes_planner/src/dense_planner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/descartes_planner/src/dense_planner.cpp b/descartes_planner/src/dense_planner.cpp index 4aac3f39..5313083c 100644 --- a/descartes_planner/src/dense_planner.cpp +++ b/descartes_planner/src/dense_planner.cpp @@ -28,7 +28,8 @@ DensePlanner::DensePlanner() : planning_graph_(), error_code_(descartes_core::Pl { PlannerError::INVALID_ID, "ID is nil or isn't part of the path" }, { PlannerError::IK_NOT_AVAILABLE, "One or more ik solutions could not be found" }, { PlannerError::UNINITIALIZED, "Planner has not been initialized with a robot model" }, - { PlannerError::INCOMPLETE_PATH, "Input trajectory and output path point cound differ" } }; + { PlannerError::INCOMPLETE_PATH, "Input trajectory and output path point cound differ" }, + { PlannerError::UKNOWN, "DAGSearch returns inf cost for shortest path search" } }; } DensePlanner::~DensePlanner()