00001 from rqt_robot_dashboard.widgets import ButtonDashWidget 00002 00003 class BreakerControl(ButtonDashWidget); 00004 def __init__(self, context, name, index, cb = None, icon = None): 00005 super(BreakerControl, self).__init__(context, name, cb, icon) 00006 00007 self.clicked.connect(self.toggle) 00008 self._power_control = rospy.ServiceProxy('turtlebot_node/set_digital_outputs', create_node.srv.SetDigitalOutputs) 00009 00010 00011 def