Command Based Flight Control doesn't work

Topics related to the Lighthouse positioning system, configuration and use
Post Reply
sajisaka
Beginner
Posts: 3
Joined: Sun Oct 10, 2021 3:10 am

Command Based Flight Control doesn't work

Post by sajisaka »

I got crazyflie 2.1 and lighthouse deck recently.

I follow the tutorial to set up your drone and positioning system,
I tried to fly with Command Based Flight Control, but it does not respond.

I have confirmed the following items.
1) Update the firmware to the latest version
2) Flying drone with mobile app
3) Flying drone using Ubuntu20.04 + cfclient + gamepad
4) The position of the drone is correctly recognized on the lighthouse positioning.

There is no error or warning on 'console' tab so I can't figure out what is problem.
Please let me know if there is anything else I need to do.
jonasdn
Member
Posts: 85
Joined: Mon Mar 01, 2021 3:13 pm

Re: Command Based Flight Control doesn't work

Post by jonasdn »

Hi Sajisaka!

This sounds weird!! Let's try to figure it out!
  • Have you checked in the Lighthouse tab that the drone is receiving from the base stations?
  • And that the position of the drone that is given seems ok?
  • Could you try to use one of the python examples to fly? Like for instance autonomous_sequence_high_level.py in the https://github.com/bitcraze/crazyflie-lib-python repository
  • Could you check if there is any error output in the Log Client tab?
Thanks
Jonas
sajisaka
Beginner
Posts: 3
Joined: Sun Oct 10, 2021 3:10 am

Re: Command Based Flight Control doesn't work

Post by sajisaka »

>Have you checked in the Lighthouse tab that the drone is receiving from the base stations?
Yes it seems OK.

>And that the position of the drone that is given seems ok?
Yes

>Could you try to use one of the python examples to fly? Like for instance autonomous_sequence_high_level.py in the https://github.com/bitcraze/crazyflie-lib-python repository
I'll try and report it

>Could you check if there is any error output in the Log Client tab?
I check but there is no information (no error, no warning)

Regards
AJISAKA
sajisaka
Beginner
Posts: 3
Joined: Sun Oct 10, 2021 3:10 am

Re: Command Based Flight Control doesn't work

Post by sajisaka »

>>Could you try to use one of the python examples to fly? Like for instance autonomous_sequence_high_level.py in the https://github.com/bitcraze/crazyflie-lib-python repository
>I'll try and report it

I runned autonomous_sequence_high_level.py and it works.
(drone takes off and it seems to follow some trajectory, unfortunately, my room is not so wide so drone hits the wall.)

but In cfclient, the problem still remains.

Regards
AJISAKA
jonasdn
Member
Posts: 85
Joined: Mon Mar 01, 2021 3:13 pm

Re: Command Based Flight Control doesn't work

Post by jonasdn »

Thanks for testing sajisaka!

Could you clarify one thing, in what way does Command Base Flight Control not respond? Is the buttons grayed out, or is it possible to press them and nothing happens?

Could you check the parameter system.canFly?


All the best
Jonas
Post Reply