Hi there

I am working on my PSO based search in Player 2.0.4. I am just using position2d and sonar interfaces. In order to get the positions of the other robots I simply use robot.ReadIfWaiting(); command. When I start simulation at first iterations everything seems okay but after a while I got error message below;

interface 57 4
type 3 1
subtype 3 1
playerc error   : skipping message from 4:0 with unsupported type 1
terminate called after throwing an instance of 'PlayerCc::PlayerError'
Aborted (core dumped)

What is the meaning of this message what is wrong.

Here is my config file

driver

(       
  name "stage"
  provides ["simulation:0"]
  plugin "libstageplugin"
  worldfile "everything.world"   
)

driver( name "stage" provides ["map:0" ] model "table" )

# robot 1
driver
(
 name "stage"
 provides [ "6665:position2d:0" "6665:sonar:0"]
 model "robot1"
)

# robot 2
driver
(
 name "stage" 
 provides ["6666:position2d:0" "6666:sonar:0"]
 model "robot2"
)

# robot 3
driver
 (
  name "stage" 
  provides ["6667:position2d:0" "6667:sonar:0"]
  model "robot3"
 )

# robot 4

driver
(
 name "stage" 
 provides ["6668:position2d:0" "6668:sonar:0"]
 model "robot4"
)

Here is my output when I run my config file in terminal

  Stage driver creating 1 device
   6665.42.0 is "table"
  Stage driver creating 2 devices
   6665.4.0 is "robot1"
   6665.5.0 is "robot1.ranger:0"
  Stage driver creating 2 devices
   6666.4.0 is "robot2"
   6666.5.0 is "robot2.ranger:0"
  Stage driver creating 2 devices
   6667.4.0 is "robot3"
   6667.5.0 is "robot3.ranger:0"
  Stage driver creating 2 devices
   6668.4.0 is "robot4"
   6668.5.0 is "robot4.ranger:0"
Listening on ports: 6665 6666 6667 6668
accepted client 0 on port 6665, fd 13
accepted client 1 on port 6666, fd 14
accepted client 2 on port 6667, fd 15
accepted client 3 on port 6668, fd 16
warn: Stage ignores motor power state (1) (p_position.cc ProcessMessage)
accepted client 4 on port 6665, fd 17
accepted client 5 on port 6666, fd 18
accepted client 6 on port 6667, fd 19
accepted client 7 on port 6668, fd 20
warn: Stage ignores motor power state (1) (p_position.cc ProcessMessage)
accepted client 8 on port 6665, fd 21
accepted client 9 on port 6666, fd 22
accepted client 10 on port 6667, fd 23
accepted client 11 on port 6668, fd 24
warn: Stage ignores motor power state (1) (p_position.cc ProcessMessage)
accepted client 12 on port 6665, fd 25
accepted client 13 on port 6666, fd 26
accepted client 14 on port 6667, fd 27
accepted client 15 on port 6668, fd 28
warn: Stage ignores motor power state (1) (p_position.cc ProcessMessage)

I appriciate if you give me some clues.

Thanks in advance

Salih Burak Akat

PS: As I observed people working in multi-robot systems have problems in inter-robot communication. robot.Read() access all the interfaces of the other robot. I tried opaque interface but failed and still working on it. Is there a better alternative for inter-robot communication? Maybe I skipped some  important post about the issue !

PS2: Merry Christmas to everybody :)