Android app connects to physical drone instead of simulated drone

I’ve been trying to test an Android ground sdk application with the Sphinx simulator using a physical Anafi as wifi adapter as recommended in the sphinx wifi setup. However, both FF6 and the custom application only display the video feed from the physical drone, not the simulated one, and the takeoff button does nothing.

Setup:

  • fresh Sphinx install on Ubuntu 22.04 following the guide: developer dot parrot dot com/docs/sphinx/installation.html
  • Anafi firmware downloaded from firmware dot parrot dot com/Versions/anafi/pc/%23latest/images/anafi-pc.ext2.zip (the firmware index page seems to be broken by the way)
  • physical Anafi connected to pc via usb
  • run sphinx-drone-as-wifidongle --model=anafi and follow instructions
  • run sphinx with anafi.drone using previously downloaded firmware with options wifi_iface=auto, wifi_channel=6
  • run parrot-ue4-empty

→ so far everything worked as expected, the ue4 window opens, the Anafi is rendered, the camera can be moved

  • directly connect the android device to the wifi ANAFI-Hxxxx following the instructions: developer dot parrot dot com/docs/sphinx/remote_controllers.html#option-1-direct-connection

→ Now, when opening FF6 or the custom app, I would have expected it to be connected to the simulated drone, display its video feed and allow taking off. However, it only seems to connect to the physical drone.

Am I missing any required setup steps or configurations or are there any specific logs or errors I should look out for?

(I had to remove the links to post.)

Hello,

Sorry for the late reply.

Based on the “ANAFI USA” tag that you used for this topic, I suspect that the issue is that this particular ANAFI drone does not support this “drone as a WiFi dongle” feature.

If your drone is an ANAFI or an ANAFI Thermal and not an ANAFI USA, did you follow the instructions here: Wi-Fi setup - 2.15.1
In particular, do you see an interface named “sphx_ana_XXXX” before running sphinx?

Thank you for your reply. The drone is just a ‘normal’ ANAFI (4k?) and this time the simulator worked as expected using the same steps described above. So the only missing step seems to have been another clean restart of all systems.

While connecting and flying the simulator drone generally worked with both the ground sdk app and FF6, the GsdkStreamView does not display the simulated camera while FF6 does. It only updates occasionally for one frame when taking photos, then stays frozen again. The stream view works fine when connected to the physical drone. Is this a known issue?

Yes, this is a known issue that can be fixed with this hack: after being connected, before takeoff, send the SDK command that disables the autorecord feature: Camera feature - 7.7