Re: Command Based Flight Control doesn't work
Posted: Mon Nov 29, 2021 5:09 pm
@mwsatman Thanks for the info! This way I can immediately see which version of cfclient you have and such and it seems that you have installed it on your native ubuntu from source.
Hmmm... that is a bit strange. So you have the latest release of the crazyflie-firmware, but the cfclient seems to be newer than that. I can confirm already that from my ubuntu 20.04, the 2021.06 release of the cfclient works fine, and I also tested the latest master of cfclient (Cfclient version: 2020.9.1.post237+7497eea) and that seems to work.
But, I did try to connect an regular controller to the cfclient and tried to use the 'command base flight control' and indeed, it does not react! It's pretty much bug as it is probably not wise to have both manual attitude commands and high level commands mixed up coming from the cfclient.
So I've made two issues on the github repo:
1- USB controller blocks flight command buttons: https://github.com/bitcraze/crazyflie-c ... issues/538
2- Cfclient detects keyboard as controller: https://github.com/bitcraze/crazyflie-c ... issues/539
So, for the later issue, I can't verify this on the computer. So your keyboard, is this an USB keyboard that you can detach or is this they integrated keyboard within your laptop? If it is the first case, this will be easy to double check by detaching it (while the cfclient is not open), open cfclient and see if the flight command control panel works again. If it is the later case, we might need to see how to reinstall the driver or another driver somehow...
Hmmm... that is a bit strange. So you have the latest release of the crazyflie-firmware, but the cfclient seems to be newer than that. I can confirm already that from my ubuntu 20.04, the 2021.06 release of the cfclient works fine, and I also tested the latest master of cfclient (Cfclient version: 2020.9.1.post237+7497eea) and that seems to work.
But, I did try to connect an regular controller to the cfclient and tried to use the 'command base flight control' and indeed, it does not react! It's pretty much bug as it is probably not wise to have both manual attitude commands and high level commands mixed up coming from the cfclient.
So I've made two issues on the github repo:
1- USB controller blocks flight command buttons: https://github.com/bitcraze/crazyflie-c ... issues/538
2- Cfclient detects keyboard as controller: https://github.com/bitcraze/crazyflie-c ... issues/539
So, for the later issue, I can't verify this on the computer. So your keyboard, is this an USB keyboard that you can detach or is this they integrated keyboard within your laptop? If it is the first case, this will be easy to double check by detaching it (while the cfclient is not open), open cfclient and see if the flight command control panel works again. If it is the later case, we might need to see how to reinstall the driver or another driver somehow...