Skip to content

Commit

Permalink
log: descriptive timeout messages
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLaine committed Aug 23, 2024
1 parent fe9d378 commit 7d91fb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ RequestMessageFormatReturn requestMessageFormat(
}

} else {
RCLCPP_INFO(node.get_logger(), "timeout");
RCLCPP_INFO(node.get_logger(), "timeout while checking message compatibility");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion px4_ros2_cpp/src/components/registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ bool Registration::doRegister(const RegistrationSettings & settings)
}

} else {
RCLCPP_INFO(_node.get_logger(), "timeout");
RCLCPP_INFO(_node.get_logger(), "timeout while registering external component");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion px4_ros2_cpp/src/components/wait_for_fmu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool waitForFMU(
}

} else {
RCLCPP_DEBUG(node.get_logger(), "timeout");
RCLCPP_DEBUG(node.get_logger(), "timeout while waiting for fmu");
}
}

Expand Down

0 comments on commit 7d91fb5

Please sign in to comment.