def callback(data): rospy.loginfo(rospy.get_call_id() + "I heard %s", data.data)
def obstacle_callback(data): rospy.loginfo(rospy.get_call_id() + "obstacle_msg: ", data.data)
def controller_callback(data): rospy.loginfo(rospy.get_call_id() + "controller_msg: ", data.data)
def velCallBack(data): rospy.loginfo(rospy.get_call_id() + " updating velocities from cmd_vel") xVel = data.data.linear.x rotVel = data.data.angular.z vels = (xVel, rotVel)