Cannot resolve drone address

airsdk install --simulator fails because it cannot resolve drone address. Sphinx is up and running with fd_veth0 returning ping, but the IP address that it was initialized does not (192.168.42.1/24, tested all the range). I am running Sphinx on Pop!_OS 22.04 LTS. How can I connect to a simulated drone? Below some outputs of the system.

ifconfig:

fd_veth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.202.0.254 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::4af:47ff:feda:b277 prefixlen 64 scopeid 0x20
ether 06:af:47:da:b2:77 txqueuelen 1000 (Ethernet)
RX packets 23 bytes 1774 (1.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 103 bytes 12963 (12.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

airsdk install --simulator:

Traceback (most recent call last):

File “/usr/bin/airsdk”, line 10, in
sys.exit(main())

File “/opt/parrot-airsdk/parrot-airsdk-cli/lib/python3.10/site-packages/airsdk_cli/main.py”, line 249, in install
Webserver(ip=ip).install(mission_file, default=default, reboot=reboot)

File “/opt/parrot-airsdk/parrot-airsdk-cli/lib/python3.10/site-packages/airsdk_cli/mission/webserver.py”, line 16, in init
raise AirsdkError(f"Cannot resolve drone address: {ip}")

airsdk_cli.mission.common.AirsdkError: Cannot resolve drone address: anafi-ai.local

airsdk install --simulator --ip 10.202.0.254:
Traceback (most recent call last):

File “/usr/bin/airsdk”, line 10, in
sys.exit(main())

File “/opt/parrot-airsdk/parrot-airsdk-cli/lib/python3.10/site-packages/airsdk_cli/main.py”, line 249, in install
Webserver(ip=ip).install(mission_file, default=default, reboot=reboot)

File “/opt/parrot-airsdk/parrot-airsdk-cli/lib/python3.10/site-packages/airsdk_cli/mission/webserver.py”, line 18, in init
raise AirsdkError(f"Drone webserver is unreachable at: {ip}")

airsdk_cli.mission.common.AirsdkError: Drone webserver is unreachable at: 10.202.0.254

parrot-ue4-empty

chmod: changing permissions of ‘/opt/parrot-ue4-empty/Parrot-Sphinx-App/Binaries/Linux/UnrealApp’: Operation not permitted
Increasing per-process limit of core file size to infinity.
LogInit: LLM is enabled
LogInit: LLM CsvWriter: off TraceWriter: off
LogPakFile: Display: Found Pak file …/…/…/Parrot-Sphinx-App/Content/Paks/Parrot-Sphinx-App-LinuxNoEditor.pak attempting to mount.
LogPakFile: Display: Mounting pak file …/…/…/Parrot-Sphinx-App/Content/Paks/Parrot-Sphinx-App-LinuxNoEditor.pak.
LogPakFile: PakFile PrimaryIndexSize=28506
LogPakFile: PakFile PathHashIndexSize=55992
LogPakFile: PakFile FullDirectoryIndexSize=81310
LogPakFile: OnPakFileMounted2Time == 0.000001
LogPlatformFile: Using cached read wrapper
LogTaskGraph: Started task graph with 5 named threads and 17 total threads with 3 sets of task threads.
LogStats: Stats thread started at 0.131850
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +9:00, Platform Override: ‘’
LogPluginManager: Mounting plugin GzUE4Bridge
LogPluginManager: Mounting plugin PhysXVehicles
LogPluginManager: Mounting plugin ImGui
LogPluginManager: Mounting plugin ProceduralMeshComponent
LogPluginManager: Mounting plugin LensDistortion
LogPluginManager: Mounting plugin ActorMovementSystem
LogPluginManager: Mounting plugin Paper2D
LogPluginManager: Mounting plugin AISupport
LogPluginManager: Mounting plugin EnvironmentQueryEditor
LogPluginManager: Mounting plugin LightPropagationVolume
LogPluginManager: Mounting plugin AnimationSharing
LogPluginManager: Mounting plugin SignificanceManager
LogPluginManager: Mounting plugin PluginUtils
LogPluginManager: Mounting plugin PropertyAccessEditor
LogPluginManager: Mounting plugin UObjectPlugin
LogPluginManager: Mounting plugin AssetManagerEditor
LogPluginManager: Mounting plugin GeometryMode
LogPluginManager: Mounting plugin SpeedTreeImporter
LogPluginManager: Mounting plugin DatasmithContent
LogPluginManager: Mounting plugin VariantManagerContent
LogPluginManager: Mounting plugin AlembicImporter
LogPluginManager: Mounting plugin GeometryCache
LogPluginManager: Mounting plugin AutomationUtils
LogPluginManager: Mounting plugin ScreenshotTools
LogPluginManager: Mounting plugin BackChannel
LogPluginManager: Mounting plugin GeometryProcessing
LogPluginManager: Mounting plugin EditableMesh
LogPluginManager: Mounting plugin ChaosSolverPlugin
LogPluginManager: Mounting plugin ChaosNiagara
LogPluginManager: Mounting plugin Niagara
LogPluginManager: Mounting plugin CharacterAI
LogPluginManager: Mounting plugin MotoSynth
LogPluginManager: Mounting plugin PlatformCrypto
LogPluginManager: Mounting plugin ImgMedia
LogPluginManager: Mounting plugin MediaCompositing
LogPluginManager: Mounting plugin MeshPainting
LogPluginManager: Mounting plugin TcpMessaging
LogPluginManager: Mounting plugin UdpMessaging
LogPluginManager: Mounting plugin ActorSequence
LogPluginManager: Mounting plugin LevelSequenceEditor
LogPluginManager: Mounting plugin MatineeToLevelSequence
LogPluginManager: Mounting plugin TemplateSequence
LogPluginManager: Mounting plugin OnlineSubsystem
LogPluginManager: Mounting plugin OnlineSubsystemNull
LogPluginManager: Mounting plugin OnlineSubsystemUtils
LogPluginManager: Mounting plugin LauncherChunkInstaller
LogPluginManager: Mounting plugin ActorLayerUtilities
LogPluginManager: Mounting plugin ArchVisCharacter
LogPluginManager: Mounting plugin AssetTags
LogPluginManager: Mounting plugin CableComponent
LogPluginManager: Mounting plugin ChunkDownloader
LogPluginManager: Mounting plugin CustomMeshComponent
LogPluginManager: Mounting plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting plugin LocationServicesBPLibrary
LogPluginManager: Mounting plugin MobilePatchingUtils
LogPluginManager: Mounting plugin RuntimePhysXCooking
[2023.05.01-08.02.16:042][ 0]LogAMS: Display: Starting up ActorMovementSystem
[2023.05.01-08.02.16:190][ 0]LogGzUE4: Display: Loaded settings from:
[2023.05.01-08.02.16:191][ 0]LogGzUE4: Display: Using QWERTY keyboard layout
[2023.05.01-08.02.16:202][ 0]LogApp: Display: Loading default level: ‘main’
[2023.05.01-08.02.16:288][ 0]LogGzUE4: Display: Waiting for Sphinx…
[2023.05.01-08.02.16:585][ 17]LogGzUE4: Display: Client got connected
[2023.05.01-08.02.16:751][ 27]LogAMS: Display: Client connected
[2023.05.01-08.02.20:785][269]LogGzUE4: Display: Client got connected

sphinx "/opt/parrot-sphinx/usr/share/sphinx/drones/anafi_ai.drone"::firmware="https://firmware.parrot.com/Versions/anafi2/pc/%23latest/images/anafi2-pc.ext2.zip"::wifi_iface=:

Parrot-Sphinx simulator version 2.11

Connecting to firmwared version: 2.11
starting Telemetryd to capture true data…
Gazebo multi-robot simulator, version 11.11.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
[Msg] Loading world file [/tmp/sphinx-3163b4a1.world]
[Msg] created parameter server on http:8383
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] Waiting for a UE4 application to start…
[Msg] World params for ‘default’:
[Msg] spawn_points:
[Msg] - name: default
[Msg] pose: -3.3 -0 0.4 0 -0 0
[Msg] connected to firmwared
[Msg] Preparation of firmware https://firmware.parrot.com/Versions/anafi2/pc/%23latest/images/anafi2-pc.ext2.zip
[Msg] firmware /usr/share/firmwared/firmwares//anafi2-pc.ext2.zip.ee1a4315-070a-4693-8e62-aa62971d3074.firmware supported hardwares:
[Msg] anafi2
[Msg] All firmwares prepared.
[Msg] Selected params to build .sdf file for anafi_ai:
param dims_depth_cam_rgb_log = 640x360
param dims_depth_camera = 176x90
param dims_disp_camera = 176x90
param dims_dist_camera = 1280x720
param dims_fcam_airsdk = 1280x720
param dims_fcam_detection = 400x400
param dims_front_photo = 4000x3000
param dims_front_raw = 4000x3000
param dims_front_segmentation_cam = 1280x720
param dims_front_streaming = 1280x720
param dims_front_thumb = 640x480
param dims_fstcam_opticalflow = 1280x720
param dims_left_stereo_cam = 1280x720
param dims_right_stereo_cam = 1280x720
param dims_right_stereo_cam_lowres = 176x90
param dims_right_stereo_segmentation_cam = 1280x720
param dims_vertical_camera = 320x240
param drone_iface = eth0
param drone_ip = 192.168.42.1/24
param full_simclock = 1
param hil_ip = auto
param invisible_body = 0
param sdcard_serial = undefined
param virt_iface = eth1
param with_depth_hil = 0
param with_external_cams = 1
param with_front_cam = 1
param with_front_stcam = 1
param with_gimbal = 1
param with_tracking_hil = 0
param xmlns =
[Msg] Drone anafi_ai[2f1de23a3edfeb1c2cd9f878426d4af65c4950fb] loaded
[Msg] No wifi interface will be used.
[Msg] Web dashboard is accessible at http://localhost:9002
[Msg] Instance invidious_daphne[2f1de23a3edfeb1c2cd9f878426d4af65c4950fb] restarted
[Msg] All drones instantiated

ping 10.202.0.254:

PING 10.202.0.254 (10.202.0.254) 56(84) bytes of data.
64 bytes from 10.202.0.254: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from 10.202.0.254: icmp_seq=2 ttl=64 time=0.035 ms
64 bytes from 10.202.0.254: icmp_seq=3 ttl=64 time=0.031 ms
64 bytes from 10.202.0.254: icmp_seq=4 ttl=64 time=0.035 ms

@mardito I have the same problem. Were you able to solve your issue?

@twalker,
Unfortunately, not yet.

This topic was automatically closed after 30 days. New replies are no longer allowed.