10 A state to interface with ROS. 14 super(RosState, self).
__init__(*args, **kwargs)
18 self.
_pub = ProxyPublisher()
19 self.
_sub = ProxySubscriberCached()
26 return self._rate.remaining().to_sec()
30 Set the execution rate of this state, 31 i.e., the rate with which the execute method is being called. 33 Note: The rate is best-effort, 34 a rospy.Rate does not guarantee real-time properties. 37 @param label: The desired rate in Hz. 39 self.
_rate = rospy.Rate(rate)
49 return self.
path in rospy.get_param(
'/flexbe/breakpoints', [])
def _enable_ros_control(self)
def __init__(self, args, kwargs)
def _disable_ros_control(self)