update ros2 command for publish rate (#1020)

This commit is contained in:
Linda TJ
2023-08-13 15:01:11 -07:00
committed by GitHub
parent c3fbb2cb9f
commit 40a9fd2f2d
8 changed files with 8 additions and 8 deletions
@@ -159,7 +159,7 @@ PointCloudAggregator::PointCloudAggregator(const rclcpp::NodeOptions & options)
if(!callbackCalled_)
{
RCLCPP_WARN(this->get_logger(), "%s: Did not receive data since 5 seconds! Make sure the input topics are "
"published (\"$ rostopic hz my_topic\") and the timestamps in their "
"published (\"$ ros2 topic hz my_topic\") and the timestamps in their "
"header are set. %s%s",
this->get_name(),
approx?"":"Parameter \"approx_sync\" is false, which means that input "
@@ -167,7 +167,7 @@ PointCloudAssembler::PointCloudAssembler(const rclcpp::NodeOptions & options) :
{
RCLCPP_WARN(this->get_logger(),
"%s: Did not receive data since 5 seconds! Make sure the input topics are "
"published (\"$ rostopic hz my_topic\") and the timestamps in their "
"published (\"$ ros2 topic hz my_topic\") and the timestamps in their "
"header are set. %s",
get_name(),
subscribedTopicsMsg_.c_str());