Prerequisite - minimal system requirements¶
Sphinx can run only on Linux 64 bits, more precisely on the following distributions:
- Ubuntu 14.04 (with kernel version 3.19 or higher)
- Ubuntu 15.10
- Ubuntu 16.04
- Debian 8
- Debian 9
A minimum of 1 GByte of storage is necessary to run Sphinx.
The PC must support OpenGL in version 3.0 or higher. To check your version, you can type:
$ glxinfo | grep "OpenGL version"
Matching the minimal system requirements is not sufficient to enjoy every
simulator features. This is particularly true if you want to activate the drone
--enable-video option) or access the simulated drone WiFi from a
FreeFlight application on your smartphone. See the recommended system
requirements below for more information.
Optional and recommended system requirements¶
A Ubuntu 16.04 with a 4.4 Linux kernel is recommended.
An NVIDIA graphics card using the latest proprietary drivers is strongly recommended. Besides, when activating cameras, especially fisheye cameras, a high-end GPU (e.g. GTX 980 Ti) becomes necessary.
An internet connection is also required as sphinx may have to fetch models or drone firmwares from some Internet servers.
A CSR (Cambridge Silicon Radio Ltd.) based bluetooth device may be required on your system if you want to test your minidrone bluetooth controller (e.g. FreeFligh Mini on your smartphone).
To check if your current bluetooth device is based on a CSR chipset, you must first find your USB or PCI bluetooth vendor/device ID (XXXX:YYYY) :
$ lsusb | grep -i bluetooth $ lspci -nn | grep -i bluetooth
If the above command does not give you enought informations besides the device ID, additionnal informations may be available in the output of the following commands :
$ lsusb -vd XXXX:YYYY $ lspci -vd XXXX:YYYY $ cat /sys/kernel/debug/usb/devices | grep "CSR" -B2 $ cat /sys/kernel/debug/usb/devices | grep -i "vendor=0a12" -C1
At Parrot, we usually use the following reference
Sphinx can create on your host system (real) WiFi access points attached to the simulated drone. This is useful for example if you want to test your drone controller or smartphone application (e.g FreeFlight).
Note that without a WiFi access point, you can still access your simulated drones through the virtual ethernet interface. To disable the WiFi access point feature, you must delete the XML element <stolen_interface> from your .drone file (Anatomy of a ‘.drone’ file).
This section describes the requirements to enable the WiFi access point feature.
A WiFi 802.11n/ac device supporting the AccessPoint (AP) / Infrastructure mode on your Linux distribution is required to access the simulated drone from your drone controller.
Note that the AP mode requirement is not so easily satisfied in practice. On Linux, the WiFi driver also has to be based on the mac80211 driver framework in order to be compatible with hostapd (most recent drivers do ).
To check if your current hardware supports the Access Point mode, you can type the following command and verify that the AP mode is listed in the “supported interfaces modes” section :
$ iw list | grep -A20 "Supported interface modes" Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor * mesh point * P2P-client * P2P-GO
If the AP mode is listed in the output of the command above, your wifi device will most probably work fine with Sphinx and you’ll be able to control your simulated drone via FreeFlight. Currently known exceptions to this simple rule include TP-Link TL-WN822N and TL-WN823N adapters based on the Realtek chipset RTL8192CU which have been reported to not work properly in AP mode despite the fact that this particular mode is listed in the output of the above command.
In case you would need to acquire new hardware we recommend you to choose a USB WiFi adapters based on Ralink or Atheros chipsets using rt2800usb or ath9k_htc linux 802.11 drivers. Note that the new ath10k driver only supports PCI devices and does not currently support any USB adapter. The rest of this section is intended to help you choose and test new WiFi devices.
USB WiFi adapters
The following table gives you a non exhaustive list of WiFi adapters known to work with Sphinx.
|TP-LINK TL-WN722N||AR9272||ath9k_htc||802.11n 2.4Ghz only|
|EDUP EP-N8531 WiFi N 150Mb||RT5370||rt2800usb||802.11n 2.4GHz only|
|D-Link DWA-160 rev C1||RT5572||rt2800usb||802.11n 2.4/5GHz dual band|
|D-Link DWA-140 rev D1||RT5372||rt2800usb||802.11n 2.4Ghz only|
PCI/PCIe WiFi devices
For PCI/PCIe WiFi cards we would recommend you to choose device based on Ralink or Atheros chipsets using rt2800pci or ath9k drivers. The simulator should also work with ath10k drivers for PCIe devices but this has not yet been verified. The following Intel WiFi devices should also work.
|WiFi device||Linux kernel version||Status|
|Intel Wireless 7260||3.10+||Unverified|
|Intel Wireless 3160||3.10+||Unverified|
|Intel Wireless 7265||3.13+||Verified|
|Intel Wireless 3165||4.1+||Unverified|
|Intel Wireless 8260||4.1+||Unverified|
|Intel Wireless 4165||4.1+||Unverified|
Intel WiFi devices not listed above and not driven by iwlwifi/iwlmvm
Intel Wireless WiFi 5XXX and
Intel Centrino XXXX in particular) are
NOT supported. 
To check what WiFi PCI device is currently installed on your system, you can type the following commands :
$ lspci | grep -i wireless $ lspci | grep -i intel
Other WiFi chipsets/drivers/vendor not mentioned in this section have not been tested. Again, any 802.11n/ac device that support AP mode on Linux should work with Sphinx.
|||Linux 802.11 drivers table|
|||Linux 802.11 Intel iwlwifi drivers|