pyMultiWii icon indicating copy to clipboard operation
pyMultiWii copied to clipboard

Strange Connection Bug with CleanFlight 2.2.0-RC1

Open nik012003 opened this issue 8 years ago • 0 comments

Hi guys, I'm trying to get the ATTITUDE of my board with this python code:

from pymultiwii import MultiWii
serialPort = "/dev/tty.SLAB_USBtoUART"
board = MultiWii(serialPort)
while True:
    print board.getData(MultiWii.ATTITUDE)

I always get a series of "None" in my terminal. When I open CF-Configurator and click on connect, on the terminal I start to see all the normal output like: {'timestamp': '1514405918.46', 'elapsed': 0.052, 'angx': 0.0, 'angy': 0.1, 'heading': 181.0} Has anyone faced this issue? EDIT: issue fixed with my PR #18

nik012003 avatar Dec 27 '17 20:12 nik012003