From 7e07600b9e7f6c5fe402a4bf18079503e5757176 Mon Sep 17 00:00:00 2001 From: Levi-Armstrong Date: Thu, 4 Nov 2021 21:03:31 -0500 Subject: [PATCH] Fix scene graph shortest path debug print out --- tesseract_scene_graph/src/graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tesseract_scene_graph/src/graph.cpp b/tesseract_scene_graph/src/graph.cpp index e57d36a4cb9..779bfaeb8f8 100644 --- a/tesseract_scene_graph/src/graph.cpp +++ b/tesseract_scene_graph/src/graph.cpp @@ -908,7 +908,7 @@ ShortestPath SceneGraph::getShortestPath(const std::string& root, const std::str UGraph::vertex_iterator vi, vend; for (boost::tie(vi, vend) = boost::vertices(graph); vi != vend; ++vi) { - CONSOLE_BRIDGE_logDebug("distance(%s) = %d, parent(%s) = %s", + CONSOLE_BRIDGE_logDebug("distance(%s) = %f, parent(%s) = %s", boost::get(boost::vertex_link, graph)[*vi]->getName().c_str(), distance_map[*vi], boost::get(boost::vertex_link, graph)[*vi]->getName().c_str(),