Skip to content
Snippets Groups Projects
Commit 8547a058 authored by Fabian Reister's avatar Fabian Reister
Browse files

logging

parent a8613fa4
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,7 @@ namespace armarx::navigation::algorithms::spfa ...@@ -182,7 +182,7 @@ namespace armarx::navigation::algorithms::spfa
std::vector<int> parents(max_num_verts, -1); std::vector<int> parents(max_num_verts, -1);
// Build graph // Build graph
ARMARX_INFO << "Build graph"; ARMARX_VERBOSE << "Build graph";
for (int row = 0; row < num_rows; ++row) for (int row = 0; row < num_rows; ++row)
{ {
for (int col = 0; col < num_cols; ++col) for (int col = 0; col < num_cols; ++col)
......
...@@ -377,8 +377,8 @@ namespace armarx::navigation::components::dynamic_distance_to_obstacle_costmap_p ...@@ -377,8 +377,8 @@ namespace armarx::navigation::components::dynamic_distance_to_obstacle_costmap_p
fillCostmap(result.features, dynamicCostmap); fillCostmap(result.features, dynamicCostmap);
const auto end = armarx::core::time::Clock::Now(); const auto end = armarx::core::time::Clock::Now();
ARMARX_INFO << deactivateSpam(1) << "Creation of dynamic costmap took " ARMARX_INFO << deactivateSpam(1) << "Creation of dynamic costmap (filling) took "
<< (end - start).toMilliSeconds() << " milliseconds"; << (end - start).toMilliSecondsDouble() << " milliseconds";
} }
...@@ -388,7 +388,8 @@ namespace armarx::navigation::components::dynamic_distance_to_obstacle_costmap_p ...@@ -388,7 +388,8 @@ namespace armarx::navigation::components::dynamic_distance_to_obstacle_costmap_p
const auto navigationCostmap = computeNavigationCostmap(dynamicCostmap); const auto navigationCostmap = computeNavigationCostmap(dynamicCostmap);
const auto timestamp2 = armarx::core::time::Clock::Now(); const auto timestamp2 = armarx::core::time::Clock::Now();
ARMARX_INFO << deactivateSpam(1) << "Navigation costmap. Computation took " << (timestamp2 - timestamp1).toMilliSecondsDouble() << "ms"; ARMARX_INFO << deactivateSpam(1) << "Navigation costmap. Computation took "
<< (timestamp2 - timestamp1).toMilliSecondsDouble() << "ms";
// drawing // drawing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment