Pogamut 2 Stage for quick advancement of subjective operators inside 3D environment.


108 views
Uploaded on:
Category: Animals / Pets
Description
Making JavaSPOSH bot venture + pitfalls (S)POSH Reimplementing bots with SPOSH Staff of science and material science Charles College at Prague 16 th April 2008 Pogamut 2 Stage for quick advancement of intellectual specialists inside 3D environment http://artemis.ms.mff.cuni.cz/pogamut
Transcripts
Slide 1

Making JavaSPOSH bot venture + pitfalls (S)POSH Reimplementing bots with SPOSH Faculty of arithmetic and material science Charles University at Prague 16 th April 2008 Pogamut 2 Platform for quick improvement of intellectual specialists inside 3D environment http://artemis.ms.mff.cuni.cz/pogamut

Slide 2

JavaSPOSH bot venture Select right venture sort and read the portrayal ! http://artemis.ms.mff.cuni.cz/pogamut

Slide 3

JavaSPOSH bot extend Freshly made undertaking is containing: Main.java – principle class that flames up the bot, containing way to the sposhPlan.lap (should be designed! – next slide…) MyBehavior.java – relative of Behavior, containing activities and faculties (usage done here) sposhPlan.lap – document containing SPOSH arrangement (choice tree of the specialists)

Slide 4

Running vacant JavaSPOSH bot Not as simple as with JavaBot venture. 1) we’re still have some dreadful issue with build.xml (Ant script record terminating the operators up), may be as of now corrected… 2) some undertaking names gives the Python motor a migraine 3) you need to accurately indicated the way to the sposhPlan.lap document (for SPOSH-motor)

Slide 5

JavaSPOSH bot venture – Pitfall 1 3) We’re still have some issues with build.xml file… 4) Take build.xml document from any Java Bot task (supplant JavaSPOSH one with it). 2) No bot is running… 1) Even however BUILD is SUCCESSFUL http://artemis.ms.mff.cuni.cz/pogamut

Slide 6

JavaSPOSH bot venture – Pitfall 2) Bot neglected to run 3) Python motor has attempted to translate \abc as a character and broken the way to the planfile 1) Even however BUILD is SUCCESSFUL http://artemis.ms.mff.cuni.cz/pogamut

Slide 7

JavaSPOSH bot venture – Pitfall 2 arrangement DO NOT make ventures with names that start with a, b, c, d, e, f … generally the Python motor will decipher \abcYourName as ‘\abc’ YourName changing over \abc to a wrong character and breaking the way. Task name ABC isn\'t right Project name JavaSPOSHTest is OK http://artemis.ms.mff.cuni.cz/pogamut

Slide 8

JavaSPOSH bot venture – Pitfall 3) Because it couldn’t discover the sposhPlan.lap record 2) Bot has neglected to run… 1) Even however BUILD is SUCCESSFUL

Slide 9

JavaSPOSH bot venture – Pitfall 3 arrangement Step-by-step: 1) open Main.java document and discover getPlanFile() technique 2) change “PROJECT_NAME” and “package_name” for this situation to “JavaSPOSHExample” and “javasposhexample”

Slide 10

JavaSPOSH bot venture – Bot is running Congratulations!

Slide 11

POSH parallel requested slip-stack progressive system Dr. J. J. Bryson, University of Bath, UK http://www.cs.bath.ac.uk/~jjb/web/posh.html receptive organizer not completely responsive, you may store whatever variable in your Behavior SPOSH – Strict POSH pretty much a choice tree with slip-stack working with Behavior class that is containing activities and faculties http://artemis.ms.mff.cuni.cz/pogamut

Slide 12

POSH parallel requested slip-stack chain of importance Agent has: objective to satisfy we’re running interminably so the objective is “fail” requested drives assessed each POSH-motor emphasis abilities activity examples Using (characterized in Behavior): faculties – gives data from nature activities – primitives http://artemis.ms.mff.cuni.cz/pogamut

Slide 13

POSH parallel requested slip-stack progressive system http://artemis.ms.mff.cuni.cz/pogamut

Slide 14

POSH Syntax for HC individuals :- ) http://artemis.ms.mff.cuni.cz/pogamut

Slide 15

POSH parallel requested slip-stack pecking order Notice the corespondency between activity/sense names in arrangement document and names of the strategies in java source code . http://artemis.ms.mff.cuni.cz/pogamut

Slide 16

Java SPOSH bot venture Implementing activities/faculties Implemented inside MyBehavior.java Java Reflection API is utilized. Record MyBehavior.java each activity has prefix ‘action_’ each sense has prefix ‘sense_’ both are dependably without parameters, both HAS to give back a boolean (achievement) memory and body open through bot.getMemory() and bot.getBody() inside MyBehavior.java

Slide 17

Java SPOSH bot venture When the bot neglects to run… 1) Bot manufactures alright 2) But neglects to run 3) Examine Platform Log 4) Look for SEVERE section with ‘Can’t instantiate SPOSH agent’ 5) Read the reason … here, we’ve got slip in arrangement sentence structure

Slide 18

Java SPOSH bot extend How to test, how it works… Download the JavaSPOSHExample bot from the page. Where is the trap? Each activity/sense that is terminating is signing into User log that it fires. You’re allowed to look at how the SPOSH motor functions Some clues: SPOSH motor first timetables some activity/activity example to be executed Then it executes every single planned activity (e.g. activity example will plan all the more then one activity)

Slide 19

Java SPOSH bot task Remember FollowBot? Presently the time has come! To turn into The One… Do you r

Recommended
View more...