awesome! this sure will open up some interesting tinkering and can save us loads of time figuring out what thrust-level equals which frequency.
Loads of fun incoming
thank you for pointing at the code
Crazyflie Client does not start
Re: Crazyflie Client does not start
Newk wrote:ok, just had to make it current directory:but now it seems i missed something when i installed it..Code: Select all
newk@A7U:~/crazyflie2-install/crazyflie-clients-python$ cd bin newk@A7U:~/crazyflie2-install/crazyflie-clients-python/bin$ dir cfclient cfheadless cfloader cfzmq newk@A7U:~/crazyflie2-install/crazyflie-clients-python/bin$ ./cfclient
the segmentation fault happens when i click the window borderCode: Select all
newk@A7U:~/crazyflie2-install/crazyflie-clients-python/bin$ ./cfclient INFO:cfclient.gui:Disabling STL printouts INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2'] INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev] INFO:cfclient.utils.input.inputreaders:Could not initialize [pysdl2]: No SDL2 support on Linux INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull'] INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk') INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid' INFO:cfclient.utils.config:Dist config read from /home/newk/crazyflie2-install/crazyflie-clients-python/src/cfclient/configs/config.json INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file INFO:cfclient.utils.zmq_param:Biding ZMQ for parameters at tcp://*:1213 INFO:cfclient.utils.zmq_led_driver:Biding ZMQ for LED driverat tcp://*:1214 INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)] INFO:cflib.crtp.radiodriver:v0.53 dongle with serial N/A found INFO:cfclient.utils.input:Selected MUX: Normal INFO:cfclient.ui.main:Role of Microsoft X-Box 360 pad is Device INFO:cfclient.utils.input.mux:Adding device Microsoft X-Box 360 pad to MUX Normal INFO:cfclient.ui.main:Select first device INFO:cflib.drivers.cfusb:Looking for devices.... Segmentation fault (core dumped)
after i read it's missing pysdl2
i searched in repositories of ubuntu 16.04 and only found pysdl2-doc
but i then found python-sdl2 and python3-sdl2
i installed both of them just to make sure
but it didn't change cfclient not finding pysdl2
do i need to rebuild/reinstall it?
Hi Newk, I found a same problem as you have encountered, that is No module named 'cfclient'. How did you solve this problem?
Re: Crazyflie Client does not start
Hi, I think I might meet similar problem, could you point me what is wrong? I am on mac osx and that is what I can see after typing `cfclient` in terminal:
Have no idea what is happen there:/
Code: Select all
Patryks-Mac:~ patryk_grabowski$ cfclient
INFO:cfclient.gui:Disabling STL printouts
INFO:cfclient.gui:Foundation not found. Menu will show python as application name
INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Could not initialize [linuxjsdev]: Only supported on Linux
INFO:cfclient.utils.input.inputreaders:Successfully initialized [pysdl2]
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.config:Dist config read from /Users/patryk_grabowski/Documents/Repositories/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
INFO:cfclient.ui.main:This is a MAC - checking if we can apply Progress Bar Stylesheet for Yosemite Skinny Bars
INFO:cfclient.ui.main:Found Yosemite - applying stylesheet
INFO:cfclient.utils.zmq_param:Biding ZMQ for parameters at tcp://*:1213
INFO:cfclient.utils.zmq_led_driver:Biding ZMQ for LED driverat tcp://*:1214
INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)]
===== 2020.01.27 09:01:46 =====
Traceback (most recent call last):
File "/usr/local/bin/cfclient", line 11, in <module>
load_entry_point('cfclient', 'console_scripts', 'cfclient')()
File "/Users/patryk_grabowski/Documents/Repositories/crazyflie-clients-python/src/cfclient/gui.py", line 159, in main
main_window = MainUI()
File "/Users/patryk_grabowski/Documents/Repositories/crazyflie-clients-python/src/cfclient/ui/main.py", line 201, in __init__
self._mux_group = QActionGroup(self._menu_inputdevice, exclusive=True)
TypeError: 'exclusive' is an unknown keyword argument
Patryks-Mac:~ patryk_grabowski$
Re: Crazyflie Client does not start
@Binx Seems like cfclient has not been installed on your system... Did you follow the steps on the github read-me? Could you please start a new forum thread if you are still encountering a problem, since this seems to be a different issue than @Graboosky has encountered.
@Graboosky. Could you try to remove and reinstall your client? This also contain instructions how to install it on a Mac (https://github.com/bitcraze/crazyflie-clients-python), so please check if you installed all packages. If it still does not work, please start a new forum thread. This makes it easier for us to help you.
@Graboosky. Could you try to remove and reinstall your client? This also contain instructions how to install it on a Mac (https://github.com/bitcraze/crazyflie-clients-python), so please check if you installed all packages. If it still does not work, please start a new forum thread. This makes it easier for us to help you.
Re: Crazyflie Client does not start
Thanks. I will try to reinstall all dependencies and if not help I will start a new thread.