Page 1 of 2
Posted: Thu Feb 25, 2016 5:11 pm
I tested cfheadless
Xubuntu 15.10. Xbox360 with ad'hoc json file. Last Python client.2019.09
The commands for the LED ring are OK with cfclient but do not function with cfheadless.
Posted: Tue Mar 01, 2016 10:50 am
Trim command also looks inactive with cfheadless ?
Posted: Sun Mar 13, 2016 5:50 pm
If I understand correctly Python+Qt4, cfheadless does know alt1 neither alternative function nor trim adjust by input device.
Thank you for confirmation.
Posted: Wed Mar 16, 2016 10:34 am
The trimming for roll/pitch should work in cfheadless (otherwise it's a bug, see code here
) but the alt1/2 callbacks aren't added. You could add callbacks pretty easy, using similar code as the client
But since there's no way to configure the controller in the headless client you will have to already have set up the buttons for trimming/alt in the client and make sure to use the correct configuration.
Posted: Wed Mar 16, 2016 3:30 pm
No problem with the controller for I make my own .json file which works correctly with cfclient.
I look at the software and send a comment.
Posted: Wed Mar 16, 2016 4:16 pm
These are the differences between my file and the one you indicate me:
1/ my file contains an "import sys" wich disapperars
2/ I have not "import cfclient"
Remaining code looks the same.
I download "crazyflie-clients-python-2015.09" from Github.
Posted: Thu Mar 17, 2016 5:09 pm
In Python3 interpreter, situated in .../cfclient/utils/input, import cfclient in __init__.py seems not necessary.
Posted: Wed Mar 23, 2016 10:26 am
I'm note sure about the __init__ in Python 3. But it's best to start from the latest revision on the develop branch in the repository. The version 2015.09 is a bit old and lots of things have changed.
Posted: Wed Mar 23, 2016 10:49 am
Hin thanks, I will test it when my copter will be back.
Posted: Wed Mar 23, 2016 3:25 pm
How can I know the version of the python client and the cf-firmware ?