remove this

Signed-off-by: Jakub Delicat <delicat.kuba@gmail.com>
This commit is contained in:
Jakub Delicat 2023-08-31 11:19:35 +02:00
parent e9e4e82ae8
commit d40f010eea

View File

@ -14,7 +14,7 @@ void Ros2Aria::publishState()
} }
if (this->robot_info_pub_->get_subscription_count() > 0) if (robot_info_pub_->get_subscription_count() > 0)
{ {
ros2aria_msgs::msg::RobotInfoMsg robot_info_msg; ros2aria_msgs::msg::RobotInfoMsg robot_info_msg;
@ -28,6 +28,6 @@ void Ros2Aria::publishState()
robot_info_msg.clutch.data = r->areMotorsEnabled(); robot_info_msg.clutch.data = r->areMotorsEnabled();
robot_info_msg.obstacle_detected.data = obstacle_too_close; robot_info_msg.obstacle_detected.data = obstacle_too_close;
this->robot_info_pub_->publish(robot_info_msg); robot_info_pub_->publish(robot_info_msg);
} }
} }