crazyradio PA not recongized

Discussions and questions about the Crazyradio
kenjichanhkg
Beginner
Posts: 21
Joined: Sat Mar 11, 2017 12:08 pm
Location: Hong Kong

crazyradio PA not recongized

Post by kenjichanhkg » Sat Mar 11, 2017 12:20 pm

Hi, I bought my crazyflie 2 a few days ago.

The PA usb dongle was fine yesterday, using in VM under win10.
However, today when I plug it in, windows device manger CAN see it, virtualbox also detects it perfectly fine.
But the UI (crazyflie PC client) and zadig 2.2 can't find it.

Is it broker? How to tell if it's broker?
I don't see any LED light when it's plugged in. (only D3 & D4 led flash once very quickly)

Any idea?

Thanks!

kenjichanhkg
Beginner
Posts: 21
Joined: Sat Mar 11, 2017 12:08 pm
Location: Hong Kong

Re: crazyradio PA not recongized

Post by kenjichanhkg » Sun Mar 12, 2017 10:13 am

Hello, I still can't get it to work, but I have a little update.
When I click "Scan" using crazyflie client, the M3 led is on for 5 secs, but then it is still not found.

I really can't tell if it's a software or hardware problem.

arnaud
Bitcraze
Posts: 1832
Joined: Tue Feb 06, 2007 12:36 pm

Re: crazyradio PA not recongized

Post by arnaud » Mon Mar 13, 2017 8:47 am

If the crazyradio RED LED light-up when scanning then the radio is working properly. If a crazyflie is switched-on nearby it it will be detected and appear in the list of detected interfaces. Do you have a Crazyflie switched-on nearby?

kenjichanhkg
Beginner
Posts: 21
Joined: Sat Mar 11, 2017 12:08 pm
Location: Hong Kong

Re: crazyradio PA not recongized

Post by kenjichanhkg » Mon Mar 13, 2017 6:03 pm

OK, when I unplug & plug it in, sometime I can connect to the copter.
But very quickly ~10-30 seconds, it disconnects, and even when it's connected, I feel it's really lag/not very responsive.
And every time, I had to re-plug the dongle to get it work again.

here is some log when it disconnected very quickly after connected
It caught a USBError execption

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/bitcraze/projects/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/bitcraze/.config/cfclient/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:cfclient.ui.main:Auto reconnect enabled: True
INFO:cflib.crtp.radiodriver:v0.53 dongle with serial N/A found

(python3:4787): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(python3:4787): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
INFO:cfclient.utils.input:Selected MUX: Normal
INFO:cfclient.ui.main:Role of Sony Computer Entertainment Wireless Controller is Device
INFO:cfclient.utils.input.mux:Adding device Sony Computer Entertainment Wireless Controller to MUX Normal
INFO:cflib.drivers.cfusb:Looking for devices....
INFO:cflib.crazyflie:Callback->Connection initialized[radio://0/80/250K]
INFO:cflib.crazyflie:We are connected[radio://0/80/250K], request connection setup
INFO:cflib.crazyflie:Resending for pattern (93, 5)
INFO:cflib.crazyflie:Resending for pattern (93, 5)
INFO:cflib.crazyflie:Callback->Connected to [radio://0/80/250K]
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=8
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=9
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=8
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=9
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=8
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=9
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=8
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=9
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=1
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=7
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=4
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=8
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=9
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=3
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=6
INFO:cflib.crazyflie:Resending for pattern (93, 5)
WARNING:cflib.crazyflie.log:Error no LogEntry to handle id=5
INFO:cflib.crazyflie.toc:TOC for port [5] found in cache
INFO:cflib.crazyflie:Log TOC finished updating
INFO:cflib.crazyflie.mem:Requesting number of memories
INFO:cflib.crazyflie.mem:3 memories found
INFO:cflib.crazyflie.mem:Requesting first id
INFO:cflib.crazyflie.mem:Requesting information about memory 1
INFO:cflib.crazyflie.mem:Memory: id=1, type=LED driver, size=24
INFO:cflib.crazyflie.mem:Requesting information about memory 2
INFO:cflib.crazyflie.mem:Done getting all the memories, start reading the OWs
INFO:cflib.crazyflie.mem:Updating content of memory 2
INFO:cflib.crazyflie.mem:Requesting new chunk of 11bytes at 0x0
INFO:cflib.crazyflie.mem:READ: Mem=2, addr=0x0, status=0x0, data=(235, 0, 160, 0, 0, 188, 2, 157, 0, 9, 1)
INFO:cflib.crazyflie.mem:READING: We are still interested in request for mem 2
INFO:cflib.crazyflie.mem:Requesting new chunk of 12bytes at 0x8
INFO:cflib.crazyflie.mem:READ: Mem=2, addr=0x8, status=0x0, data=(0, 9, 1, 4, 98, 99, 81, 105, 2, 1, 66, 198)
INFO:cflib.crazyflie.mem:READING: We are still interested in request for mem 2
INFO:cflib.crazyflie.mem:OW 0DD8381300000057 (BC:02): {'Board name': 'bcQi', 'Board revision': 'B'}
INFO:cflib.crazyflie:Memories finished updating
INFO:cflib.crazyflie.toc:TOC for port [2] found in cache
INFO:cflib.crazyflie:Param TOC finished updating
INFO:cflib.crazyflie:Callback->Connection setup finished [radio://0/80/250K]
INFO:cfclient.utils.logconfigreader:Parsing [stabilizer.json]
INFO:cflib.crazyflie.mem:Writing new chunk of 24bytes at 0x0
INFO:cflib.crazyflie.mem:Updating content of memory 0
INFO:cflib.crazyflie.mem:Requesting new chunk of 16bytes at 0x0
INFO:cfclient.ui.tabs.LEDTab:Memory: id=1, type=LED driver, size=24
INFO:cflib.crazyflie.mem:WRITE: Mem=1, addr=0x0, status=0x0
INFO:cflib.crazyflie.mem:This write request is done
INFO:cflib.crazyflie.mem:Write to LED driver done
INFO:cfclient.ui.main:LED write done callback
INFO:cflib.crazyflie.mem:READ: Mem=0, addr=0x0, status=0x0, data=(48, 120, 66, 67, 1, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 231)
INFO:cflib.crazyflie.mem:READING: We are still interested in request for mem 0
INFO:cflib.crazyflie.mem:Got new data: bytearray(b'0xBC\x01P\x00\x00\x00\x00\x00\x00\x00\x00\x00\xe7')
INFO:cflib.crazyflie.mem:Requesting new chunk of 5bytes at 0x10
INFO:cflib.crazyflie.log:Have successfully started logging for id=1
INFO:cflib.crazyflie.mem:READ: Mem=0, addr=0x10, status=0x0, data=(231, 231, 231, 231, 1)
INFO:cflib.crazyflie.mem:READING: We are still interested in request for mem 0
INFO:cflib.crazyflie.mem:{'version': 1, 'radio_speed': 0, 'pitch_trim': 0.0, 'radio_address': 996028180455, 'radio_channel': 80, 'roll_trim': 0.0}
INFO:cflib.crazyflie.log:Have successfully started logging for id=3
INFO:cflib.crazyflie.log:Have successfully started logging for id=4
INFO:cflib.crazyflie.log:Have successfully started logging for id=5
INFO:cflib.crazyflie.log:Have successfully started logging for id=6
INFO:cflib.crazyflie.log:Have successfully started logging for id=7
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cfclient.ui.tabs.FlightTab:[imu_sensors.MS5611]: 1
INFO:cfclient.ui.tabs.FlightTab:[imu_sensors.HMC5883L]: 1
INFO:cfclient.ui.tabs.FlightTab:Changed effect to 0
INFO:cflib.crazyflie.log:Have successfully started logging for id=8
INFO:cflib.crazyflie.log:Have successfully started logging for id=9
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
WARNING:cflib.crazyflie:Got link error callback [RadioDriver: Could not send packet to copter] in state [2]
INFO:cflib.crtp.radiodriver:Dongle reported ACK status == None
INFO:cflib.crazyflie:Callback->Disconnected from [radio://0/80/250K]
INFO:cflib.crazyflie:Callback->Connection lost to [radio://0/80/250K]: RadioDriver: Could not send packet to copter
INFO:cflib.crazyflie:Callback->Connection initialized[radio://0/80/250K]
ERROR:cflib.crazyflie:Couldn't load link driver: [Errno 110] Operation timed out

Traceback (most recent call last):
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crazyflie/__init__.py", line 218, in open_link
link_uri, self._link_quality_cb, self._link_error_cb)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/__init__.py", line 91, in get_link_driver
instance.connect(uri, link_quality_callback, link_error_callback)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 188, in connect
address)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 98, in __init__
_RadioManager._radios[self._devid] = _SharedRadio(self._devid)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 67, in __init__
self.radio = Crazyradio(devid=devid)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/drivers/crazyradio.py", line 143, in __init__
self.set_data_rate(self.DR_2MPS)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/drivers/crazyradio.py", line 189, in set_data_rate
_send_vendor_setup(self.handle, SET_DATA_RATE, datarate, 0, ())
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/drivers/crazyradio.py", line 302, in _send_vendor_setup
wIndex=index, timeout=1000, data_or_wLength=data)
File "/usr/local/lib/python3.4/dist-packages/usb/core.py", line 971, in ctrl_transfer
self.__get_timeout(timeout))
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb1.py", line 819, in ctrl_transfer
timeout))
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb1.py", line 552, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out

INFO:cflib.crazyflie:Callback->Connected failed to [radio://0/80/250K]: Couldn't load link driver: [Errno 110] Operation timed out

Traceback (most recent call last):
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crazyflie/__init__.py", line 218, in open_link
link_uri, self._link_quality_cb, self._link_error_cb)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/__init__.py", line 91, in get_link_driver
instance.connect(uri, link_quality_callback, link_error_callback)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 188, in connect
address)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 98, in __init__
_RadioManager._radios[self._devid] = _SharedRadio(self._devid)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 67, in __init__
self.radio = Crazyradio(devid=devid)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/drivers/crazyradio.py", line 143, in __init__
self.set_data_rate(self.DR_2MPS)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/drivers/crazyradio.py", line 189, in set_data_rate
_send_vendor_setup(self.handle, SET_DATA_RATE, datarate, 0, ())
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/drivers/crazyradio.py", line 302, in _send_vendor_setup
wIndex=index, timeout=1000, data_or_wLength=data)
File "/usr/local/lib/python3.4/dist-packages/usb/core.py", line 971, in ctrl_transfer
self.__get_timeout(timeout))
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb1.py", line 819, in ctrl_transfer
timeout))
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb1.py", line 552, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out

INFO:cflib.crazyflie:Closing link
INFO:cflib.crazyflie:Callback->Disconnected from [radio://0/80/250K]
^C===== 2017.03.13 14:03:29 =====
Traceback (most recent call last):
File "/home/bitcraze/projects/crazyflie-clients-python/src/cfclient/ui/tabs/locopositioning_tab.py", line 548, in _update_graphics
self._plot_yz.update(anchors, self._position, self._display_mode)
File "/home/bitcraze/projects/crazyflie-clients-python/src/cfclient/ui/tabs/locopositioning_tab.py", line 144, in update
display_mode)
File "/home/bitcraze/projects/crazyflie-clients-python/src/cfclient/ui/tabs/locopositioning_tab.py", line 174, in _plot_anchor
symbolSize=size)
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 630, in plot
item = PlotDataItem(*args, **kargs)
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/PlotDataItem.py", line 176, in __init__
self.setData(*args, **kargs)
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/PlotDataItem.py", line 460, in setData
self.updateItems()
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/PlotDataItem.py", line 492, in updateItems
self.scatter.setData(x=x, y=y, **scatterArgs)
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py", line 297, in setData
self.addPoints(*args, **kargs)
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py", line 389, in addPoints
setMethod(kargs[k], update=False, dataSet=newData, mask=kargs.get('mask', None))
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py", line 462, in setBrush
self.opts['brush'] = fn.mkBrush(*args, **kargs)
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/functions.py", line 244, in mkBrush
return QtGui.QBrush(mkColor(color))
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/functions.py", line 221, in mkColor
args = [0 if np.isnan(a) or np.isinf(a) else a for a in args]
File "/usr/local/lib/python3.4/dist-packages/pyqtgraph/functions.py", line 221, in <listcomp>
args = [0 if np.isnan(a) or np.isinf(a) else a for a in args]


Thanks,

Kenji

kenjichanhkg
Beginner
Posts: 21
Joined: Sat Mar 11, 2017 12:08 pm
Location: Hong Kong

Re: crazyradio PA not recongized

Post by kenjichanhkg » Mon Mar 13, 2017 8:43 pm

some more debug information:

cf client connection dropped when:
  • copter connected by crazyradio PA
    and Thrust increased by PS4 controller
cf client connection OK when:
  • copter connected by crazyradio PA
    and PS4 controller is untouched or not even plugged in
P.S. if I connect the copter by a mobile as the same time, the cases above would not be affected

arnaud
Bitcraze
Posts: 1832
Joined: Tue Feb 06, 2007 12:36 pm

Re: crazyradio PA not recongized

Post by arnaud » Tue Mar 14, 2017 7:32 am

You mean that if you are connected with bluetooth at the same time as being connected from the virtual machine then there is no problem even with thrust? This would be an interesting behavior.

Can you try to change the channel and datarate of the Crazyflie? I suggest 2Mbps for indoor use and any other channel from 1 to 80 (the default configuration is channel 80 at 250kps).

You can also try running the native windows client from there: https://ci.appveyor.com/project/bitcraz ... /artifacts. It would be interesting to see if it makes any difference not passing by virtualbox.

kenjichanhkg
Beginner
Posts: 21
Joined: Sat Mar 11, 2017 12:08 pm
Location: Hong Kong

Re: crazyradio PA not recongized

Post by kenjichanhkg » Tue Mar 14, 2017 8:50 am

yes, and I tried the same thing in native windows, same result.
At first, I saw the battery level dropped dramatically when I thrust. I thought it's maybe because my battery is low (but actually 80%), then I fully charged it, and the same result.

and how can I choose other channels? as in windows, all I can see from the list is radio://0/80/250K.
Do I need to change some config file or source code?
In VirtualBox, I "sometime" see other channels (45,77,85,99), but all other channels are unstable.

BTW, I couldn't get my PS4 controller working with the crazyflie client in windows, but ok in Virtualbox
I'm using http://ds4windows.com/ in windows for my PS4 controller.

Thanks!
Last edited by kenjichanhkg on Tue Mar 14, 2017 8:59 am, edited 1 time in total.

arnaud
Bitcraze
Posts: 1832
Joined: Tue Feb 06, 2007 12:36 pm

Re: crazyradio PA not recongized

Post by arnaud » Tue Mar 14, 2017 8:55 am

You can configure the channel from the clients: https://wiki.bitcraze.io/doc:crazyflie: ... figuration

The right channel is 80 in your case, the other one comes from noise because the output power of the radio is quite high, it is normal that they are not stable, they will not appear at 2Mbps.

kenjichanhkg
Beginner
Posts: 21
Joined: Sat Mar 11, 2017 12:08 pm
Location: Hong Kong

Re: crazyradio PA not recongized

Post by kenjichanhkg » Tue Mar 14, 2017 9:33 am

OK, I've got some interesting results.

I configured at 1M. No thrust during testings.

Flight data is lag / less responsive and disconnect within a minute or two when:
  • my PS4 controller is connected but untouched
Flight data is smooth and not stay connected for a very long time:
  • no PS4 controller is plugged in at all
P.S. PS4 controller and crazyradio PA are using different USB ports.

Maybe I should buy a PS3 controller for testings, since it's officially supported, right? it works in win10 and linux?
Last edited by kenjichanhkg on Tue Mar 14, 2017 9:36 am, edited 1 time in total.

arnaud
Bitcraze
Posts: 1832
Joined: Tue Feb 06, 2007 12:36 pm

Re: crazyradio PA not recongized

Post by arnaud » Tue Mar 14, 2017 9:35 am

Have you changed the channel and have you tried 2Mbps?

Post Reply