Thanks for reply!
I have two separate wifi interfaces, in .drone files I have different names, poses, interfaces and stolen_interfaces. I also deactivate front camera for both drones.
When I run simulation with only one drone (using first or second file) everything is ok. But when I run both drones I have trouble.
This is the output from sphinx:
bqla@bqla-Lenovo:~$ sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/bebop2_local.drone /opt/parrot-sphinx/usr/share/sphinx/drones/bebop2_local2.drone
Sphinx simulator version 0.29.1
connecting to firmwared version: 0.29.1
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
[Msg] created parameter server on http:8383
[Msg] connected to firmwared
[Msg] Preparation of firmware http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip
[Msg] Preparation of firmware http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip
[Msg] firmware /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware supported hardwares:
[Msg] milosboard
[Msg] Selected params to build .sdf file for bebop_leader:
param flir_pos = tilted
param kalamos_clip_far = 35
param kalamos_clip_near = 1.5
param low_gpu = 0
param with_flir = 0
param with_front_cam = 0
param with_hd_battery = 1
param with_kalamos = false
[Msg] Selected params to build .sdf file for bebop_follower_1:
param flir_pos = tilted
param kalamos_clip_far = 35
param kalamos_clip_near = 1.5
param low_gpu = 0
param with_flir = 0
param with_front_cam = 0
param with_hd_battery = 1
param with_kalamos = false
[Wrn] [BaseCameraSensor.cc:412] vertical_camera: parameter 'num_buffers' is now deprecated.
[Wrn] [BaseCameraSensor.cc:412] vertical_camera: parameter 'num_buffers' is now deprecated.
[Err] [ContactManager.cc:282] Filter with the same name already exists (default/body)! Aborting
I shd: omniscient_bebop_leader: created: generation=2 sample_count=4000 sample_size=184 sample_rate=1000 metadata_size=1083
I shd: time_bebop_leader: created: generation=2 sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=128
I shd: battery_bebop_leader: created: generation=2 sample_count=4000 sample_size=8 sample_rate=1000 metadata_size=48
I shd: gps_bebop_leader: created: generation=2 sample_count=4000 sample_size=48 sample_rate=1000 metadata_size=245
I shd: omniscient_bebop_follower_1: created: generation=2 sample_count=4000 sample_size=184 sample_rate=1000 metadata_size=1083
I shd: time_bebop_follower_1: created: generation=2 sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=128
I shd: battery_bebop_follower_1: created: generation=2 sample_count=4000 sample_size=8 sample_rate=1000 metadata_size=48
I shd: gps_bebop_follower_1: created: generation=2 sample_count=4000 sample_size=48 sample_rate=1000 metadata_size=245
[Msg] Drone bebop_leader[69abecfe09af8446a4f4aea6681b376cfae59839] loaded
[Msg] Drone bebop_follower_1[680158ee8c5108d80902c2a64a89e324a26b5cd8] loaded
[Msg] WEB DASHBOARD IS ACCESSIBLE at http://localhost:9002
[Msg] Instance efficacious_adelina[69abecfe09af8446a4f4aea6681b376cfae59839] started
[Msg] Instance garrulous_bellatrix[680158ee8c5108d80902c2a64a89e324a26b5cd8] started
[Msg] All drones instantiated
[Wrn] [IioObjectPrivate.hh:299] request for sample already ongoing!
[Wrn] [IioObjectPrivate.hh:299] request for sample already ongoing!
[Err] [ImuSensor.cc:475] WaitUntilQueueEmpty: Firmware has not asked for samples for more than 10 secs.
[Err] [ImuSensor.cc:477] 37, 0, 5
[Wrn] [IioObjectPrivate.hh:299] request for sample already ongoing!
[Wrn] [IioObjectPrivate.hh:299] request for sample already ongoing!
[Err] [ImuSensor.cc:475] WaitUntilQueueEmpty: Firmware has not asked for samples for more than 10 secs.
[Err] [ImuSensor.cc:477] 28, 0, 5
[Wrn] [IioObjectPrivate.hh:299] request for sample already ongoing!
[Wrn] [IioObjectPrivate.hh:299] request for sample already ongoing!
[Err] [ImuSensor.cc:475] WaitUntilQueueEmpty: Firmware has not asked for samples for more than 10 secs.
[Err] [ImuSensor.cc:477] 19, 0, 5
Simulation starts, there are two drones, but I cannot connect to them using bebop_autonomy.
As you can see I’ve got some errors that still occur… What do you think about it?