[Pogamut-list] Number of NavPoints (originally posted by BEvans)

jakub.gemrot pogamut-forum at diana.ms.mff.cuni.cz
Tue Mar 5 10:35:31 CET 2013


Re: Number of NavPoints (originally posted by BEvans)

Author: jakub.gemrot

Hi, thanks!

However, I don't see any "pausing slave bots" code here

   for(int i = 0; i < num_bots; i++)
      await = new WaitForAgentStateChange(((SmartBot)botInstances.get(i).getController()).getBot().getState(), IAgentStatePaused.class).await();
   }

This just "waits" for bots to get into the PAUSED state. Are you using slaveBot.pause() anywhere?
See: http://pogamut.cuni.cz/pogamut_files/latest/doc/javadoc/
Find class AbstractAgent and method pause()

Cheers!
Jimmy

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=6&comments_parentId=1134&post_reply=1#form>




More information about the Pogamut-list mailing list