Exemplo n.º 1
0
 def __init__(self, ctx=None, action=None):
     ThreadSafe.__init__(self)
     State.__init__(self, ctx, action)
     self.update_robot(action)
     self.look_target = (0.0, 0.0, 0.0)
     self.set_thread_safe_all(
         ("update_robot", "action", "odo_reset", "look_target"))
Exemplo n.º 2
0
	def __init__(self, name, is_visible=True, is_active=True,
					_is_receiving_events=True):
		State.__init__(self, name)
		self._visible_data = {}
		self._screens = []
		self._fsm_list = []
		self.is_visible = is_visible
		self.is_active = is_active
		self._is_receiving_events = _is_receiving_events
Exemplo n.º 3
0
 def __init__(self, ctx=None, action=None):
     ThreadSafe.__init__(self)
     State.__init__(self, ctx, action)
     self.update_robot(action)
     self.look_target = (0.0, 0.0, 0.0)
     self.set_thread_safe_all(("update_robot", "action", "odo_reset", "look_target"))