However, sphinx is not run.
I can not understand the Error.
Could you help me.
This is the log.
$ sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/anafi4k.drone::stolen_interface=ra0:eth0:192.168.42.1/24
Parrot-Sphinx simulator version 1.8
connecting to firmwared version: 1.8
starting Telemetryd to capture true data...
I telemetryd: Creating daemon with rate 50 ms
I libtelemetry: clear logger filter
I telemetryd: Loading plugins from '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins/'
I telemetryd: Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-blackbox.so'
I tlmblackbox: setEnabled 1
I tlmblackbox: setCompressed 1
I tlmblackbox: setCompressionLevel 6
I tlmblackbox: setCompressionMethod zlib
I tlmblackbox: setLogDir '.'
I tlmblackbox: setLogName 'log.tlmb'
I tlmblackbox: setLogCount 4
I tlmblackbox: setFilter *
I libtelemetry: clear logger filter
I tlmblackbox: setFlushPeriod 10000 ms
I tlmblackbox: setMaxSize -1 bytes
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb.3' -> './sphinx-11345-log.tlmb.4'
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb.2' -> './sphinx-11345-log.tlmb.3'
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb.1' -> './sphinx-11345-log.tlmb.2'
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb' -> './sphinx-11345-log.tlmb.1'
I tlmblackbox: Creating file './sphinx-11345-log.tlmb'
I telemetryd: Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-web-gndctrl.so'
I telemetryd: Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-gndctrl.so'
I telemetryd: Entering loop
Gazebo multi-robot simulator, version 7.0.1
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
[Msg] Waiting for master.
Gazebo multi-robot simulator, version 7.0.1
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
Gtk-Message: 13:49:42.082: Failed to load module "canberra-gtk-module"
[Msg] created parameter server on http:8383
[Msg] World params for 'default':
[Msg] spawn_points:
[Msg] - name: default
[Msg] pose: 0 0 0.2 0 -0 0
[Msg] connected to firmwared
I shd: wind: created: generation=2 sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=125
[Msg] Preparation of firmware http://plf.parrot.com/sphinx/firmwares/anafi/pc/latest/images/anafi-pc.ext2.zip
I shd: wind: opened: sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=125
[Err] [Machine.cc:1326] Preparation of firmware for machine anafi4k failed: curl.hook/probe failed.. Check your path or URL to the firmware
[Msg] CleanupInstances
[Msg] CleanupFirmwares
I shd: wind: closed
I telemetryd: sighandler: signo=15(Terminated)
I telemetryd: Exiting loop
Hello,
It looks like sphinx is unable to download the firmware. Do you have an Internet connection on that machine? Can you provide us with more logs with --log-level=dbg? Is “ra” the name of your wifi interface?
Hello,
I have an internet connection use old wired LAN.
“ra” is the wifi interface, GW-450D2 made by PLANEX.
This is the logs with sphinx --log-level-dbg
$ sphinx --log-level-dbg
Parrot-Sphinx simulator version 1.8
connecting to firmwared version: 1.8
starting Telemetryd to capture true data...
I telemetryd: Creating daemon with rate 50 ms
I libtelemetry: clear logger filter
I telemetryd: Loading plugins from '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins/'
I telemetryd: Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-blackbox.so'
I tlmblackbox: setEnabled 1
I tlmblackbox: setCompressed 1
I tlmblackbox: setCompressionLevel 6
I tlmblackbox: setCompressionMethod zlib
I tlmblackbox: setLogDir '.'
I tlmblackbox: setLogName 'log.tlmb'
I tlmblackbox: setLogCount 4
I tlmblackbox: setFilter *
I libtelemetry: clear logger filter
I tlmblackbox: setFlushPeriod 10000 ms
I tlmblackbox: setMaxSize -1 bytes
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb.3' -> './sphinx-11345-log.tlmb.4'
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb.2' -> './sphinx-11345-log.tlmb.3'
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb.1' -> './sphinx-11345-log.tlmb.2'
I tlmblackbox: rotate logs: './sphinx-11345-log.tlmb' -> './sphinx-11345-log.tlmb.1'
I tlmblackbox: Creating file './sphinx-11345-log.tlmb'
I telemetryd: Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-web-gndctrl.so'
I telemetryd: Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-gndctrl.so'
I telemetryd: Entering loop
Gazebo multi-robot simulator, version 7.0.1
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
[Msg] Waiting for master.
Gazebo multi-robot simulator, version 7.0.1
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
Gtk-Message: 10:34:41.401: Failed to load module "canberra-gtk-module"
I meant can you run exactly the above command line and send us the logs? With no stolen_interface to make sure that it works well without it first. Then, the same command with ::stolen_interface=ra0:eth0:192.168.42.1/24.
What is your Linux distribution?
You can also clean up the firmware cache with fdc drop_all firmwares, make sure that all files are deleted in /usr/share/firmwared/firmwares/ and try again.
If that still does not work, you can download the zip file on your machine and set the firmware value to the path to the file you just downloaded:
$ unzip $HOME/Downloads/anafi-pc.ext2.zip
unzip: cannot find or open /home/mlab/Downloads/anafi-pc.ext2.zip, /home/mlab/Downloads/anafi-pc.ext2.zip.zip or /home/mlab/Downloads/anafi-pc.ext2.zip.ZIP.
unzip is already installed, you just did not write a valid path in your command line. Where is the zip file located? The path to the firmware should be valid.