Page 1 of 1

Question about cfclient(ui->flightTab)

Posted: Wed Aug 05, 2015 12:18 pm
by waldo
Hi
I 've been seeing the source code of cfclient,
(https://github.com/bitcraze/crazyflie-c ... ightTab.py) .I 've almost figure out how the cfclient worked, but i didn't find out when the class FlightTab is init, and when the pyqtSignal _imu_data_signal is emited, I want to know the function name that have relationship with these. can anyone help Thanks!!

Re: Question about cfclient(ui->flightTab)

Posted: Mon Aug 10, 2015 10:06 am
by arnaud
For the initialisation, all tabs are initialised there: https://github.com/bitcraze/crazyflie-c ... in.py#L275
This code lists all the tabs files and loads all of them (so that it makes it easy to add new tabs).

As for the signal it is connected to the crazyflie IMU by callback there: https://github.com/bitcraze/crazyflie-c ... ab.py#L299