Package smach_ros :: Module condition_state :: Class ConditionState

Class ConditionState

source code


A state that will check a condition function a number of times.

If max_checks > 1, it will block while the condition is false and once it has checked max_checks times, it will return false.

Instance Methods
 
__init__(self, cond_cb, input_keys=[], poll_rate=rospy.Duration(0.05), timeout=None, max_checks=1) source code
 
execute(self, ud) source code