Player/Stage : Error in running 3 roomba robots

7 years 2 weeks ago #29528364 by Mitali Sodhi
Hi,
I am working on a player/stage project which currently has 3 (Later it will be extended to 6) iRobots -Roomba.
As suggested in Jenny Owen's Tutorial on player/stage www-users.cs.york.ac.uk/~jowe...ial-manual.pdf , I was giving different port numbers to each one of the robots.

Here is my .cfg file :

driver
(
name "stage"
provides [ "simulation:0"]
plugin "stageplugin"
worldfile "pacman.world"
)


driver
(
name "stage"
provides [ "6665:position2d:0" ]
model "pacman"
)




driver
(
name "stage"
provides ["6666:position2d:0" ]
model "ghost1"
)


driver
(
name "stage"
provides ["6667:position2d:0" ]
model "ghost1"
)


But, I am getting this error when I am running ./ghost1 and ./ghost2 :

playerc error : got NACK from request

The simulator is not able to run the other two robots, I guess.

Kindly help me in this regard.

Please Log in or Create an account to join the conversation.

7 years 1 week ago #29528370 by Griffin Baker
Replied by Griffin Baker on topic Player/Stage : Error in running 3 roomba robots
Could you elaborate a little more on this?

From what I see and maybe a typo in the script here, is that you have this (ghost1)twice.


driver
(
name "stage"
provides ["6666:position2d:0" ]
model "ghost1"
)


driver
(
name "stage"
provides ["6667:position2d:0" ]
model "ghost1"

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.169 seconds