Crazyflie 1.0 not showing flight data in cfclient 2020.09.1

Firmware/software/electronics/mechanics
Post Reply
sighmon
Beginner
Posts: 1
Joined: Tue Nov 03, 2020 12:34 am

Crazyflie 1.0 not showing flight data in cfclient 2020.09.1

Post by sighmon »

Hi there,

I've just bought a nice new Rage 1S 3.7v 250mAh battery https://www.modelflight.com.au/rage-rc- ... ttery.html and shaved the connector down so I could revive my old Crazyflie 1.0

I installed the latest Python cfclient 2020.09.1 using pip3 install -e . and updated both the Crazyradio firmware to 0.53 and Crazyflie firmware to cf1-2017.06.bin.

The Crazyflie connects and flies beautifully (woo hoo!), but the flight data isn't coming in. I don't see:
  • Battery status
  • Volts
  • Flight data
The only data I do see is the Link Quality being updated.

When I'm connected, the UI doesn't update past Connecting to radio://0/48/250K ..., so I suspect the self.connectionDoneSignal https://github.com/bitcraze/crazyflie-c ... in.py#L214 is never getting called.

Image

I saw this old post from 2014 viewtopic.php?t=1164, but the codebase seems to have changed too much to use the same fix.

I was also pointed to viewtopic.php?f=6&t=4399&p=20039&hilit= ... old#p20039 by knmcguire, so I tried both Ubuntu 20.10 and the Bitcraze VM 2018.12, but see the same behaviour in both of those OSs as well.

Any ideas?

Cheers, Simon.

Original post on GitHub issues: https://github.com/bitcraze/crazyflie-c ... issues/452

## Debug

Cfclient
Cfclient version: 2020.09.1-14-gcb1d399
System: darwin (macOS Catalina 10.15.7)
Python: 3.8.6
Qt: 5.12.9
PyQt: 5.12.3

Interface status
radio: Crazyradio version 0.53
udp: None
UsbCdc: No information available
prrt: No information available

Input readers
PySDL2 (1 devices connected)

Input devices
PySDL2: (0) Sony PLAYSTATION(R)3 Controller

Crazyflie
Connected: None
Firmware: None

Decks found

Sensors found

Sensors tests
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie 1.0 not showing flight data in cfclient 2020.09.1

Post by arnaud »

I would unfortunately not expect the latest client to work with the Crazyflie 1.0. We never intentinaly break compatibility in the protocol but we are not testing it anymore so it is very likely we broke something.

The solution would be to use an older client and an older lib. This might require the VM to run the older client but the key here is to not use the latest client.

A client close to the time we stopped supporting the Crazyflie 1 firmware. For example the 2017.6.1 version: https://pypi.org/project/cfclient/2017.6.1/. This would be installed with "pip install cfclient==2017.6.1". It does require Python2 so you need to use Ubuntu 18.04 since 20.04+ does not have an awesome support for python2.
Post Reply