def __init__(self, sub_dict={_sub_topic: Float64}, pub_dict={_pub_topic: BoolStamped}, rosparam=None, tolerance=0, rate=None):
    if (rosparam == None):
        rospy.logerr((rospy.get_name() + ': Please provide rosparam'))
    else:
        self.compare_param = rosparam
    self.tolerance = tolerance
    super(compParam, self).__init__(sub_dict=sub_dict, pub_dict=pub_dict, rate=rate)
def __init__(self, sub_dict={_sub_topic: Float64}, pub_dict={_pub_topic: BoolStamped}, rosparam=None, tolerance=0, rate=None):
    if (rosparam == None):
        rospy.logerr((rospy.get_name() + ': Please provide rosparam'))
    else:
        self.compare_param = rosparam
    self.tolerance = tolerance
    super(compParam, self).__init__(sub_dict=sub_dict, pub_dict=pub_dict, rate=rate)