[SOLVED] GpsTab Not Working in latest cfclient-Python
Posted: Wed May 25, 2016 5:05 am
Hi,
I'm encountering a GpsTab display of data problem when using crazyflie-clients-python branch develop 2016.05.12 with crazyflie-lib-python branch master 2016.04.27 using python 3.4 in windows 10. An error appears as “ attributeError: “int' object has no attribute 'setText' “ and points to a line of code in GpsTab.py which is “ self._long.setText(“{:.6f}”.format(long)) “. GpsTab.py is attempting to write longitude data into the tab display and after this error all subsequent output to the tab is bypassed.. The property attribute in GpsTab.ui for "_long" is “readonly”, but this has worked previously in earlier versions of pc cfclient.
An earlier release of crazyflie-clients-python 2016.02.17 worked successfully and does not exhibit this failure. My integration of gtgps.c into positionHold Mode within the new restructured stabilizer code is at a near stand still until the above problem is resolved. Any insight and/or recommendations would be greatly appreciated.
Best regrads,
Jack
I'm encountering a GpsTab display of data problem when using crazyflie-clients-python branch develop 2016.05.12 with crazyflie-lib-python branch master 2016.04.27 using python 3.4 in windows 10. An error appears as “ attributeError: “int' object has no attribute 'setText' “ and points to a line of code in GpsTab.py which is “ self._long.setText(“{:.6f}”.format(long)) “. GpsTab.py is attempting to write longitude data into the tab display and after this error all subsequent output to the tab is bypassed.. The property attribute in GpsTab.ui for "_long" is “readonly”, but this has worked previously in earlier versions of pc cfclient.
An earlier release of crazyflie-clients-python 2016.02.17 worked successfully and does not exhibit this failure. My integration of gtgps.c into positionHold Mode within the new restructured stabilizer code is at a near stand still until the above problem is resolved. Any insight and/or recommendations would be greatly appreciated.
Best regrads,
Jack