Firmware doesn't support requested hardware milosboard


#1

Hello!
Trying to launch Sphinx’s Bebop 2 simulation with the latest firmware from here: http://plf.parrot.com/sphinx/firmwares/index.html
However, it crashes, saying that this firmware doesn’t support the “milosboard” hardware, as it is written in the bebop2.drone file. How to handle with it?
Tried to launch with the first (4.0.4) firmware version - it works.

Debug log:

[Dbg] [MachineManager.cc:236] PrepareFirmwares
[Msg] Preparation of firmware /home/barahlush/Downloads/ardrone3-milos_pc.ext2.zip
[Dbg] [Machine.cc:1246] OnFirmwarePrepared
[Dbg] [MachineManager.cc:315] OnFirmwarePrepared
[Dbg] [MachineManager.cc:427] OnFirmwaresShown
[Msg] firmware /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2(2).zip.23db8f6d-c69a-9f6c-d591-5208182db7ad.firmware supported hardwares:
[Dbg] [MachineManager.cc:449] PostFirmwaresShown
[Wrn] [Firmware.cc:66] cannot find hardware ‘milosboard’ among:
[Err] [MachineManager.cc:487] Firmware doesn’t support requested hardware milosboard
[Dbg] [FwManPlugin.cc:70] Remove and destroy all drones from the scene
[Msg] CleanupInstances
[Dbg] [FwManPlugin.cc:92] Stopping WebSocketServer
[Msg] CleanupFirmwares
[Msg] Firmware petulant_johanna[b56cc7e027179d5328dfb6e40eaa59efc3ef0c20] unprepared (unmounted)
[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
escalating to SIGKILL on client


#2

Hi

It seems that something wrong happened when firmwared prepared the latest firmware.
When firmwared is running, could you try the following command fdc drop_all firmwares, download the latest Bebop 2 firmware again and then launch sphinx ?

If the problem persists could you post the new Sphinx log and the output of the following commands :

sphinx --version
uname -r # linux kernel version
cat /etc/issue # linux distribution release

Thanks


#3

Yes, it persists :frowning:
Here is my logs:

~$ sudo systemctl start firmwared.service
~$ fdc ping
PONG
~$ fdc drop_all firmwares
~$ sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/bebop2.drone
Sphinx simulator version 0.29.1

connecting to firmwared 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.

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 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] created parameter server on http:8383
[Msg] connected to firmwared
[Msg] Preparation of firmware /home/barahlush/Downloads/ardrone3-milos_pc.ext2.zip
[Msg] preparation of firmwares /home/barahlush/Downloads/ardrone3-milos_pc.ext2.zip is at 18%
[Msg] preparation of firmwares /home/barahlush/Downloads/ardrone3-milos_pc.ext2.zip is at 100%
[Msg] firmware /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware supported hardwares:
[Wrn] [Firmware.cc:66] cannot find hardware ‘milosboard’ among:
[Err] [MachineManager.cc:487] Firmware doesn’t support requested hardware milosboard
[Msg] CleanupInstances
[Msg] CleanupFirmwares
[Msg] Firmware petulant_adelina[26b4c9adaa72df04d7821f9442cf04112232f549] unprepared (unmounted)

~$ sphinx --version
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.

Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.

~$ uname -r # linux kernel version
4.15.0-29-generic

~$ cat /etc/issue # linux distribution release
Ubuntu 18.04 LTS \n \l


#4

You should delete /home/barahlush/Downloads/ardrone3-milos_pc.ext2.zip and let sphinx download it for you by keeping the original content of the tag in /opt/parrot-sphinx/usr/share/sphinx/drones/bebop2.drone (don’t forget to run fdc drop_all firmwares before restarting sphinx). If the download succeeds, the error you got should not appear.