MoriEdan / opensim4opencog

Automatically exported from code.google.com/p/opensim4opencog
1 stars 0 forks source link

bots not finding other bots launched from same process #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

9 ?- actions:with_bot(otopopo, botClientCmd(moveto('Yuppie Hillperson'))).
@'C#529230312':"SetOnlyOneCurrentBotClient='(thisClient \"Otopopo Hillperson\")"
"Success setbot"
"ERROR: Coulnd not resolve location: Yuppie Hillperson"
true.
1. within VS launch the swicli project.
2. consults examples/hillpeople/hillpeople.pl

query logon_bots.

10 ?- actions:with_bot(bignose, botClientCmd(moveto('Yuppie Hillperson'))).
@'C#529225200':"SetOnlyOneCurrentBotClient='(thisClient \"Bignose Hillperson\")"
"Success setbot"
"ERROR: Coulnd not resolve location: Yuppie Hillperson"
true.

11 ?- actions:with_bot(bignose, botClientCmd(moveto('Anne Ogborn'))).
@'C#529223376':"SetOnlyOneCurrentBotClient='(thisClient \"Bignose Hillperson\")"
"Success setbot"
"Success moveto"
true.

Same bot fails to find another bot nearby, but finds me.

13 ?- simAvatar(X),cli_to_str(X,S).
X = @'C#529219440',
S = "Otopopo Hillperson" ;
X = @'C#529179048',
S = "Anne Ogborn" ;
X = @'C#529220096',
S = "testbot Ogborn" ;
X = @'C#529227848',
S = "testbot Ogborn" ;
X = @'C#529220408',
S = "Bignose Hillperson" ;
X = @'C#529221152',
S = "Bignose Hillperson" ;
X = @'C#529221160',
S = "Yuppie Hillperson" ;
X = @'C#529221168',
S = "Yuppie Hillperson" ;
X = @'C#529221176',
S = "Onosideboard Hillperson" ;
X = @'C#529221192',
S = "Onosideboard Hillperson" ;
X = @'C#529221216',
S = "Lemonaide Hillperson" ;
X = @'C#529221224',
S = "Lemonaide Hillperson" ;
X = @'C#529221328',
S = "Opthamologist Hillperson" ;
X = @'C#529221336',
S = "Opthamologist Hillperson" ;
false.

Interestingly, 

14 ?- actions:with_bot(bignose, botClientCmd(moveto('Otopopo Hillperson'))).
@'C#529221592':"SetOnlyOneCurrentBotClient='(thisClient \"Bignose Hillperson\")"
"Success setbot"
"Success moveto"
true.

(note that Otopopo only occurs once)

letting the system 'rest' for 10 minutes and repeating, still can't find yuppie

Original issue reported on code.google.com by anneogb...@gmail.com on 11 May 2012 at 4:26

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/opensim4opencog/source/detail?r=2804 r2804

Original comment by logicmoo@gmail.com on 14 May 2012 at 12:16