Beispiel #1
0
 def activate(self):        
     iface_called_plugin.activate(self)
     
     self.failed_attempts = 0
     self.pic_url = ""
     
     self._startCheckTimer(immediately=True)
Beispiel #2
0
 def activate(self):
     iface_called_plugin.activate(self)
     if not os.path.isdir(self.options["picture_path"]):
         os.mkdir(self.options["picture_path"])
         #if this throws activation will be canceled
     if self.options["http_server"]:
         self.logger.info("Starting the Raspicam HTTP Server on Port %d"%self.options["http_port"])
         self.s_thread = http_server_thread(self.options["http_port"],self.options["picture_path"])
         self.s_thread.start()
Beispiel #3
0
 def activate(self):
     iface_called_plugin.activate(self)
     get_notification_center().connectPeerAppended(self.peer_update)
     get_notification_center().connectPeerUpdated(self.peer_update)
Beispiel #4
0
 def activate(self):
     iface_called_plugin.activate(self)
Beispiel #5
0
 def activate(self):
     iface_called_plugin.activate(self)
     self.stop = False
     self._startCheckTimer()