From 70892c6e33de22c2849a212b92f6b73ee1a751c1 Mon Sep 17 00:00:00 2001 From: Pioneer3 Date: Mon, 1 Oct 2018 12:14:43 +0200 Subject: [PATCH] Fixed missing semicolon --- RosAria.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RosAria.cpp b/RosAria.cpp index 6aa801a..e91d75d 100644 --- a/RosAria.cpp +++ b/RosAria.cpp @@ -627,7 +627,7 @@ void RosAriaNode::publishRobotInfo() robot_info_msg.twist.angular.z = robot->getRotVel()*M_PI/180; robot_info_msg.state.data = robot_state; robot_info_msg.clutch.data = robot->areMotorsEnabled(); - robot_info_msg.obstacle_detected.data = is_near_obstacle + robot_info_msg.obstacle_detected.data = is_near_obstacle; robot_info_pub.publish(robot_info_msg); }