remove this
Signed-off-by: Jakub Delicat <delicat.kuba@gmail.com>
This commit is contained in:
parent
e9e4e82ae8
commit
d40f010eea
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user