Opening Crazyflie Client

Discussions and questions about the Crazyflie Nano Quadcopter
thefeiyu
Beginner
Posts: 10
Joined: Fri Dec 18, 2020 10:07 pm

Opening Crazyflie Client

Post by thefeiyu »

I am unable to open my crazyflie client in my virtual machine, does anyone know how I can fix this?

Thank you!
arnaud
Bitcraze
Posts: 2392
Joined: Tue Feb 06, 2007 12:36 pm

Re: Opening Crazyflie Client

Post by arnaud »

What version of the virtual machine are you using. What command/action have you tied to launch the client?
thefeiyu
Beginner
Posts: 10
Joined: Fri Dec 18, 2020 10:07 pm

Re: Opening Crazyflie Client

Post by thefeiyu »

I am using the virtual machine 6.1.16; and what do you mean by what command/action have you tied to launch the client?
kimberly
Bitcraze
Posts: 704
Joined: Fri Jul 06, 2018 11:13 am

Re: Opening Crazyflie Client

Post by kimberly »

Arnaud is now on a holiday. But I guess what the purpose is, did you try to do

Code: Select all

cfclient

in a terminal?

And have you updated the projects as in the tutorial:

https://www.bitcraze.io/documentation/t ... velopment/
thefeiyu
Beginner
Posts: 10
Joined: Fri Dec 18, 2020 10:07 pm

Re: Opening Crazyflie Client

Post by thefeiyu »

I have updated all my projects, and have also tried the "cfclient" in the terminal, but I am still unable to open the cfclient.
kimberly
Bitcraze
Posts: 704
Joined: Fri Jul 06, 2018 11:13 am

Re: Opening Crazyflie Client

Post by kimberly »

hmm... odd. I have tried it on a new version of the bitcraze VM and it works for me.

Have you tried (re)installing it? Through pip3

Code: Select all

pip3 install cfclient
or through snap

Code: Select all

snap install --beta cfclient
thefeiyu
Beginner
Posts: 10
Joined: Fri Dec 18, 2020 10:07 pm

Re: Opening Crazyflie Client

Post by thefeiyu »

I will try this, thank you!
thefeiyu
Beginner
Posts: 10
Joined: Fri Dec 18, 2020 10:07 pm

Re: Opening Crazyflie Client

Post by thefeiyu »

I have tried to reinstall using both of those commands, but when I try to open my cfclient, it gives an error:
NameError: name 'pg' is not defined.
thefeiyu
Beginner
Posts: 10
Joined: Fri Dec 18, 2020 10:07 pm

Re: Opening Crazyflie Client

Post by thefeiyu »

Hello,

I have fixed the problem and am able to launch my cfclient now.

Thanks for your help!
kimberly
Bitcraze
Posts: 704
Joined: Fri Jul 06, 2018 11:13 am

Re: Opening Crazyflie Client

Post by kimberly »

Great!

What enabled you to fix this?
Post Reply