File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
include/hardware_interface
src/hardware_interface/distributed_control_interface Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ endif()
77
88set (THIS_PACKAGE_INCLUDE_DEPENDS
99 control_msgs
10- controller_manager_msgs
10+ controller_manager_msgs
1111 lifecycle_msgs
1212 pluginlib
13- rclcpp
13+ rclcpp
1414 rclcpp_lifecycle
1515 rcpputils
1616 rcutils
17- std_msgs
17+ std_msgs
1818 TinyXML2
1919 tinyxml2_vendor
2020)
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ class DistributedReadOnlyHandle : public ReadOnlyHandle
254254 void get_value_cb (const std_msgs::msg::Float64 & msg)
255255 {
256256 value_ = msg.data ;
257- RCLCPP_WARN_STREAM (node_->get_logger (), " Receiving:[" << value_ << " ]." );
257+ RCLCPP_DEBUG_STREAM (node_->get_logger (), " Receiving:[" << value_ << " ]." );
258258 }
259259
260260 std::string get_value_topic_name_;
@@ -405,7 +405,7 @@ class DistributedReadWriteHandle : public ReadWriteHandle
405405 auto msg = std::make_unique<std_msgs::msg::Float64>();
406406 msg->data = value;
407407
408- RCLCPP_WARN (node_->get_logger (), " DistributedCommandInterface Publishing: '%.7lf'" , msg->data );
408+ RCLCPP_DEBUG (node_->get_logger (), " DistributedCommandInterface Publishing: '%.7lf'" , msg->data );
409409 std::flush (std::cout);
410410
411411 command_value_pub_->publish (std::move (msg));
@@ -417,7 +417,7 @@ class DistributedReadWriteHandle : public ReadWriteHandle
417417 void get_value_cb (const std_msgs::msg::Float64 & msg)
418418 {
419419 value_ = msg.data ;
420- RCLCPP_WARN_STREAM (
420+ RCLCPP_DEBUG_STREAM (
421421 node_->get_logger (), " DistributedCommandInterface Receiving:[" << value_ << " ]." );
422422 }
423423
Original file line number Diff line number Diff line change 66#include < map>
77#include < stdexcept>
88
9+ #include " rclcpp/rclcpp.hpp"
10+
911using namespace std ::chrono_literals;
1012
1113namespace distributed_control
@@ -105,7 +107,7 @@ void CommandForwarder::publish_value_on_timer()
105107 {
106108 msg->data = std::numeric_limits<double >::quiet_NaN ();
107109 }
108- RCLCPP_WARN (node_->get_logger (), " Publishing: '%.7lf'" , msg->data );
110+ RCLCPP_DEBUG (node_->get_logger (), " Publishing: '%.7lf'" , msg->data );
109111 std::flush (std::cout);
110112
111113 // Put the message into a queue to be processed by the middleware.
Original file line number Diff line number Diff line change 66#include < map>
77#include < stdexcept>
88
9+ #include " rclcpp/rclcpp.hpp"
10+
911using namespace std ::chrono_literals;
1012
1113namespace distributed_control
@@ -97,7 +99,7 @@ void StatePublisher::publish_value_on_timer()
9799 // Make explicit note implicit!!!
98100 msg->data = std::numeric_limits<double >::quiet_NaN ();
99101 }
100- RCLCPP_WARN (node_->get_logger (), " Publishing: '%.7lf'" , msg->data );
102+ RCLCPP_DEBUG (node_->get_logger (), " Publishing: '%.7lf'" , msg->data );
101103 std::flush (std::cout);
102104
103105 // Put the message into a queue to be processed by the middleware.
You can’t perform that action at this time.
0 commit comments