Page 1 of 1

A PyQt question for the Client

Posted: Fri Jan 08, 2021 1:48 am
by cafeciaojoe
Hi all!

I am writing a new tab for the lighthouse system, very much like the current qualisys tab. Currently learning PyQt and was wondering if anyone could explain to me what the 'notify' argument does in this pyqtProperty decorator?

I have taken it out and the cfstatus seems to update the GUI just fine. So I am not sure what it does.

Code: Select all

    @pyqtProperty(str, notify=cfStatusChanged)
    def cfStatus(self):
        return
You can fine the code in context on line 513 here https://github.com/bitcraze/crazyflie-c ... isysTab.py

Thanks!

Oh and if anyone is also building a Tab for the lighthouse please let me know. We might be able to help each other.

Re: A PyQt question for the Client

Posted: Fri Jan 08, 2021 11:08 am
by kristoffer
Hi!

Yes, a Lighthouse tab is on our roadmap for the near future, let's align our afforts!

We have not really discussed what we want to do, but I have some ideas of creating generic positioning tab instead to show data for all types of positioning systems in one view. It would also be nice to make some of the functionality in the Qualisys tab available to outher positioning systems. Not sure how this should be acheived, yet though.

Maybe we should move the discussion to github or set up a meeting?