Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/w/a/wasp-HEAD/sw/groundstation/tools/led-on-off.py   wasp(Download)
    source = source.UAVSource(c, m, options)
    cmd = fms.CommandManager(source.communication)
    source.connect("source-connected", uav_connected, m, cmd)
    source.connect_to_uav()
    loop.run()

src/w/a/wasp-HEAD/sw/groundstation/gs/groundstation.py   wasp(Download)
 
        self._source = UAVSource(self._config, self._messagesfile, options)
        self._source.connect("source-connected", self._on_source_connected)
        self._source.connect("uav-selected", self._on_uav_selected)
 
        #track the UAVs we have got data from
        self._source.connect("uav-detected", self._on_uav_detected)
        self.get_resource("control_hbox").pack_start(self.controlcontroller.widget, True, True)
        #Track ok/failed command messages
        self._source.connect("command-ok", self._on_command_ok)
        self._source.connect("command-fail", self._on_command_fail)
        #Track logging of source

src/w/a/wasp-HEAD/sw/groundstation/console.py   wasp(Download)
 
    s = source.UAVSource(c, m, options)
    s.connect("source-connected", uav_connected)
    s.communication.connect("message-received", message_received)