The PC-client version that comes with the VM works fine, however after I run the "Update All Repos" shortcut on the VM desktop the PC-client no longer opens. I am running the Bitcraze_VM_0.5 on my Macbook pro i7 in Parallels.
After trying to launch the cfClient from eclipse (see attached image) I noticed it was throwing an error:
I tried to install pysdl2 usingCRITICAL: cfclient.cfclient:No pysdl2 installation found, exiting!
on the command line, but the error persists.sudo pip install pysdl2
I also tried building sdl2-2.03 and pysdl2 from source, but it still does not work.
I have reverted to the older cfclient in order to run my CF but I would like to be able update.
Thanks in advance.
here is the code from the git pull command:
Code: Select all
bitcraze@bitcraze-vm:~/projects/crazyflie-clients-python$ git pull
remote: Counting objects: 209, done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 209 (delta 112), reused 95 (delta 46)
Receiving objects: 100% (209/209), 96.96 KiB | 0 bytes/s, done.
Resolving deltas: 100% (112/112), done.
From https://github.com/bitcraze/crazyflie-clients-python
7d60532..df11969 master -> origin/master
* [new branch] dev-cf2 -> origin/dev-cf2
* [new branch] develop -> origin/develop
Updating 7d60532..df11969
Fast-forward
.gitignore | 1 +
CMakeLists.txt | 7 +
README.md | 31 ++--
lib/cfclient/cfclient.py | 4 +-
lib/cfclient/configs/input/Joystick.json | 95 ++++++++++++
.../configs/input/PS4_shoulder_btns_yaw.json | 91 +++++++++++
lib/cfclient/ui/dialogs/about.py | 2 +-
lib/cfclient/ui/dialogs/inputconfigdialogue.py | 1 -
lib/cfclient/ui/tabs/GpsTab.py | 172 ++++++++++++++-------
lib/cfclient/ui/tabs/gpsTab.ui | 138 ++++++++++++++++-
lib/cfclient/utils/config_manager.py | 56 ++++---
lib/cfclient/utils/input.py | 62 +++++---
lib/cfclient/utils/joystick/__init__.py | 51 ------
lib/cfclient/utils/joystick/constants.py | 32 ----
lib/cfclient/utils/joystick/jevent.py | 42 -----
lib/cfclient/utils/joystick/linuxjsdev.py | 4 +-
lib/cfclient/utils/joystick/pygamejoystick.py | 103 ------------
lib/cfclient/utils/logconfigreader.py | 4 +-
.../utils/{pygamereader.py => pysdl2reader.py} | 107 ++++++++-----
lib/cfheadless.py | 13 ++
lib/cflib/crtp/debugdriver.py | 45 ++++--
package.xml | 25 +++
setup.py | 98 +++++++-----
23 files changed, 752 insertions(+), 432 deletions(-)
create mode 100644 CMakeLists.txt
create mode 100644 lib/cfclient/configs/input/Joystick.json
create mode 100644 lib/cfclient/configs/input/PS4_shoulder_btns_yaw.json
delete mode 100644 lib/cfclient/utils/joystick/__init__.py
delete mode 100644 lib/cfclient/utils/joystick/constants.py
delete mode 100644 lib/cfclient/utils/joystick/jevent.py
delete mode 100644 lib/cfclient/utils/joystick/pygamejoystick.py
rename lib/cfclient/utils/{pygamereader.py => pysdl2reader.py} (54%)
create mode 100644 package.xml