I recently run the source code in the Linux(ubuntu 12.04),but it seems doesn't work.
First, I run the setup.sh and then run the
Code: Select all
cfclient
But it doesn't work.The terminal show the following messages.
INFO:cfclient.cfclient:Disabling STL printouts
Traceback (most recent call last):
File "/usr/local/bin/cfclient", line 105, in <module>
cfclient.main()
File "/usr/local/lib/python2.7/dist-packages/cfclient/cfclient.py", line 121, in main
from ui.main import MainUI
File "/usr/local/lib/python2.7/dist-packages/cfclient/ui/main.py", line 45, in <module>
from dialogs.inputconfigdialogue import InputConfigDialogue
File "/usr/local/lib/python2.7/dist-packages/cfclient/ui/dialogs/inputconfigdialogue.py", line 50, in <module>
from cfclient.utils.input import JoystickReader
File "/usr/local/lib/python2.7/dist-packages/cfclient/utils/input.py", line 53, in <module>
import cfclient.utils.inputreaders as readers
ImportError: No module named inputreaders
Then I run the cfclient in the bin folder
It shows the GUI window but with only one tag(Flight control)
The terminal also show some errors.
INFO:cfclient.cfclient:Disabling STL printouts
WARNING:cfclient.ui.widgets.plotwidget:PyQtGraph (or dependency) failed to import:
Traceback (most recent call last):
File "/home/thebestxu/桌面/crazyflie-clients-python-master/lib/cfclient/ui/widgets/plotwidget.py", line 63, in <module>
import pyqtgraph as pg
ImportError: No module named pyqtgraph
INFO:cfclient.utils.config:Dist config read from /home/thebestxu/桌面/crazyflie-clients-python-master/lib/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/thebestxu/桌面/crazyflie-clients-python-master/lib/../conf/config.json]
INFO:cfclient.utils.config:Dist config read from /home/thebestxu/桌面/crazyflie-clients-python-master/lib/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/thebestxu/桌面/crazyflie-clients-python-master/lib/../conf/config.json]
INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)]
INFO:cfclient.utils.config_manager:Parsing [PS4_Mode_1.json]
INFO:cfclient.utils.config_manager:Parsing [Generic_OS_X.json]
INFO:cfclient.utils.config_manager:Parsing [Joystick.json]
INFO:cfclient.utils.config_manager:Parsing [PS4_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_3.json]
INFO:cfclient.utils.config_manager:Parsing [PS4_shoulder_btns_yaw.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_1.json]
INFO:cfclient.utils.config_manager:Parsing [PS4_Mode_1.json]
INFO:cfclient.utils.config_manager:Parsing [Generic_OS_X.json]
INFO:cfclient.utils.config_manager:Parsing [Joystick.json]
INFO:cfclient.utils.config_manager:Parsing [PS4_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [xbox360_mode1.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_3.json]
INFO:cfclient.utils.config_manager:Parsing [PS4_shoulder_btns_yaw.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_2.json]
INFO:cfclient.utils.config_manager:Parsing [PS3_Mode_1.json]
INFO:cfclient.ui.tabs.FlightTab:Changed flightmode to Normal
WARNING:cfclient.ui.tabs.GpsTab:GPS tab not enabled since no Pythonbindings for Marble was found
Could anyone give me some suggestions?
Thank you.