Problem connecting to Disco drone


#1

I have had success using Sphinx with the Bebop2 drone model, but zero success connecting to the disco drone model.

The network is created properly (evinrude), and I can connect to the network, but not the model.

Sphinx is running correctly and shows model (which I can shake, through the localloop interface).

I have tried turning camera off, and low_gpu on, but no difference.

I have tried connecting via android phone, ipad, and skycontroller2.

I have tried uninstalling and reinstalling.

Any suggestions on why this model is being so difficult?


#2

Hi,

Disco cannot be controlled directly from Freeflight while Bebop 2 can (this is intended by design).

Thus, to connect to a simulated Disco over Wifi you must connect through a Skycontroller 2 (see https://developer.parrot.com/docs/sphinx/drone-requirements.html#disco ).

If you still experience this issue, can you please share the .drone file you’re using ?
What are the versions of sphinx and Disco you are using ?

Regards
Nicolas


#4

Nicolas,

Thanks for the reply, I should have provided some more information, but was hoping this might be something common somebody else have encountered. I am using:

Sphinx simulator version 0.29.1
Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Running on:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

Drone file:

<?xml version="1.0" encoding="UTF-8"?>

<machine_params
low_gpu=“false”
with_front_cam=“true”
with_sequoia_payload=“false”/>
default
<wifi_channel>6</wifi_channel>
eth1

<stolen_interface>wlan0:eth0:192.168.42.1/24</stolen_interface>

I have tried connecting with Skycontroller2, but the propeller icon just keeps rotating and never connects. Sphinx seems to be running correctly in every other regard, and the Bebop2 drone works perfectly.

What log files should I look at to try and find the error?

Thanks
Geoff


#5

Can you try disabling the front camera and give it another try ?
Just edit your .drone file and set with_front_cam=“false” or alternatively override this parameter from the command line :
sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/disco.drone::with_front_cam=false

I suspect that the front camera simulation is taking too much resources for your system configuration. That would explain why the simulated drone firmware is unable to respond to connection request.

See: https://developer.parrot.com/docs/sphinx/drone-requirements.html#using-the-front-camera for more informations


#6

Thanks again Nicolas,

I have tried starting the drone without the front camera, and I have tried with low_gpu, neither made a difference.

I have a reasonable CPU & GPU.
i7-7700K & GeForce GTX 1080, so I don’t think it is a resource limitation.

Which leaves me perplexed as to what the problem might be.

If you have any other advice, I would appreciate it.

Cheers
Geoff


#7

With your current CPU & GPU configuration you should be fine.

What is the exact reference of your wifi dongle ? It might be a wifi device/driver compatibility issue. (See Sphinx system requirements for more information)

What is the version of your linux kernel ? (uname -r)

With which phones have you been able to reproduce this issue ?


#8

Hi c3gwd, I have the same problem. Maybe you have not SkyControllerDrone to discover the sky controller for the Disco Drone. If you find the solution, please write it here!


#9

Hi Marcia,

Could you please provide more information on your environment :
What is your current linux distribution ?

What is the exact reference of your wifi dongle ? It might be a wifi device/driver compatibility issue. (See Sphinx system requirements for more information)

What is the version of your linux kernel ? (uname -r)

With which phones have you been able to reproduce this issue ?

Thanks

Nicolas


#10

Hi Nicolas,
I have Ubuntu 16.04.
uname - r: 4.15.0-29-generic
lspci | grep -i wireless :
Network controller: Intel Corporation Wireless 7260 (rev 83)

Android device: HTC Sense version 7.0
Android Version: 6.0

Thanks,
Marcia.


#11

Hi all,
I was doing my first setup today and I have reproduced the same issue:

I can see the wifi on the FreeFligh Pro app however even if I can connect to the WiFi, It is not recognized as a Disco drone.

My setup is:
Ubuntu 18.04
Gazebo 7.01
Sphinx 0.29.1
kernel 4.15.0-30-generic
Network controller: Intel Corporation Wireless 7260 (rev 73)
Android Device: Xiaomi RedMi Plus 5
SkyController 2 - Hardware 6 - Software Version 1.0.7


#12

I think we need a sample that explain how move programmatically the disco drone with all details ja. It would be great!


#13

I can confirm that Bebop2 firmware is working fine. I think the problem can be related with the Disco firmware and SkyController 2 v1.0.7


#14

Thanks for the other feedback.
I agree, it looks like a problem with the Disco firmware or emulator.
My setup is:
Ubuntu 18.04.1
Gazebo 7.0.1
Sphinx 0.29.1
Kernel 4.15.0-30-generic

I have 2 wireless network controllers:
USB DLink DWA-140 D1, driver=rt2800usb
PCI Qualcomm Atheros QCA6174, driver=ath10k_pci

Skycontroller2 1.0.7

Samsung Android S6+ with FreeFlight Pro 5.2.0
IPad with FreeFlight Pro 5.2.0

Both work fine with bebop drone, but not disco. Both create correct Access Points, but can’t connect to Disco drone.

I have tried using earlier disco firmware (1.3.0), and get same result.

Anybody else have any suggestions?