A PyQt question for the Client

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
cafeciaojoe
Member
Posts: 50
Joined: Mon Jun 18, 2018 2:37 am

A PyQt question for the Client

Post 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.
PhD Student
RMIT University
School of Design
http://www.cafeciaojoe.com
Image
kristoffer
Bitcraze
Posts: 369
Joined: Tue Jun 30, 2015 7:47 am

Re: A PyQt question for the Client

Post 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?
Post Reply