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
+1 -1
View File
@@ -652,7 +652,7 @@ void CommonDataSubscriber::setupCallbacks(rclcpp::Node & node)
{
RCLCPP_WARN(node.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. If topics are coming from different computers, make sure "
"the clocks of the computers are synchronized (\"ntpdate\"). If topics are "
"not published at the same rate, you could increase \"queue_size\" parameter "
+1 -1
View File
@@ -106,7 +106,7 @@ RGBSync::RGBSync(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%s",
this->get_name(),
approxSync?"":"Parameter \"approx_sync\" is false, which means that input "
+1 -1
View File
@@ -119,7 +119,7 @@ RGBDSync::RGBDSync(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%s",
this->get_name(),
approxSync?"":"Parameter \"approx_sync\" is false, which means that input "
+1 -1
View File
@@ -144,7 +144,7 @@ RGBDXSync::RGBDXSync(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%s",
this->get_name(),
approxSync?"":"Parameter \"approx_sync\" is false, which means that input "
+1 -1
View File
@@ -108,7 +108,7 @@ StereoSync::StereoSync(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%s",
get_name(),
approxSync?"":"Parameter \"approx_sync\" is false, which means that input "