Skip to content

Commit

Permalink
Disable debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
shrijitsingh99 committed Mar 4, 2023
1 parent c43c6fd commit fc3eb85
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions nav2_behavior_tree/plugins/decorator/goal_transformer_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ inline BT::NodeStatus GoalTransformer::tick()
std::string publishing_frame;
getInput("publishing_frame", publishing_frame);

RCLCPP_INFO(
node_->get_logger(), "Transforming goal from %s to %s", goal.header.frame_id.c_str(), publishing_frame.c_str());
// RCLCPP_INFO(
// node_->get_logger(), "Transforming goal from %s to %s", goal.header.frame_id.c_str(), publishing_frame.c_str());

RCLCPP_INFO(node_->get_logger(), "Goal recieved timestamp: %ds, %dns", goal.header.stamp.sec, goal.header.stamp.nanosec);
// RCLCPP_INFO(node_->get_logger(), "Goal recieved timestamp: %ds, %dns", goal.header.stamp.sec, goal.header.stamp.nanosec);
tf_->lookupTransform(publishing_frame, goal.header.frame_id, tf2::TimePointZero, 3000ms);
RCLCPP_INFO(
node_->get_logger(), "Looked up transform");
// RCLCPP_INFO(
// node_->get_logger(), "Looked up transform");
nav2_util::transformPoseInTargetFrame(goal, msg_transformed, *tf_, publishing_frame, 1.0);
msg_transformed.header.stamp = node_->now();
RCLCPP_INFO(
node_->get_logger(), "Transformed pose");
// RCLCPP_INFO(
// node_->get_logger(), "Transformed pose");

setOutput("output_goal", msg_transformed);
return child_node_->executeTick();
Expand Down

0 comments on commit fc3eb85

Please sign in to comment.