Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
3rd_lecture_-_modules [2010/04/02 08:53]
jakub_gemrot
3rd_lecture_-_modules [2010/04/21 15:19]
michal_bida
Line 1: Line 1:
-====== Third lecture (26.3.2010 & 31.3.2010) ======+====== Fifth lecture (14.4.2010 & 16.4.2010) ======
  
-**Note** There is a new version of Pogamut available at our [[http://diana.ms.mff.cuni.cz/|pages]] in download section.+[[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3_Lecture_05.ppt|Slides]] from the lecture. [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3-Lecture5-SposhSimpleCombatBot.zip|Simple POSH combat Bot]] we have coded
  
-[[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3_Lecture_03.pdf|Slides]] from the lecture.+We have introduced POSH reactive planner in this lecture. We have shown how to define POSH sense and action and how drive collection works.  
 +[[http://diana.ms.mff.cuni.cz/main/tiki-index.php?page=POSH|More information about POSH.]] 
  
-Homework from the last lecture: [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3-Lecture3-ItemPicker.zip|ItemPicker bot]] +**NOTE:** You need [[http://diana.ms.mff.cuni.cz/main/tiki-index.php?page=download|Pogamut version 3.0.5]] for POSH to workThe POSH editor has been fixed (more or less) to workEnjoy!
- +
-Test that was given during the lecture //(in czech)//: [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3-Lecture3-Test.pdf|Test]] +
- +
-This lecture: learn about the modules - an easy way to deal with all senses / items / commands the Pogamut have + there is a nice PathExecutor that works together with UTAstar object to navigate inside the map without the need of using GetPath! \\ +
-**Not sure about anything?** Consult [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/PogamutModulesTutorial.html|Pogamut modules tutorial]] and [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/02-navigationBot.html|navigation bot tutorial]] in [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/|tutorials]]. +
- +
-Additionally you should learn about ItemType / ItemType.Category / ItemType.Group along the way!+
  
 =====Homework ===== =====Homework =====
-**Note that for every homework done - you will get one free question during the exam!** Back to the homework...+**Reimplement ItemPicker homework in POSH!** 
  
-Extend the bot to be polite retaliatior world explorer!+To remind you of ItemPicker: 
 +  * Create ItemPicker 
 +  * Ignore the knowledge of items (ignore getWorldView().getAll(Item.class)) 
 +    * Use getWorldView() and use getAllVisible(Item.class) 
 +  * Try to run around the whole level and discover (almost) all items 
 +    * How to know that your bot has visited almost everything? 
 +  * If you manage to have reasonable results without using Respawn() command, you are good:-)
  
-Additional info (from slides):+=====Test bonus points===== 
 +Petr Michalik (6), Dedecek (6), Poledna (6), Kuriscak (5), Kudlacek (6
  
-  * Create Weapon searcher that tries to run around all weapons in the map 
-  * If it sees player it will: 
-    * run to 200 units before him 
-    * says "Hello /name/!" 
-    * if player is not moving for 2 secs, it will say "Good bye!" and return to running around weapons 
-  * If the bot is hurt by a player - it will freak out (shout some ugly words) and retaliate 3-4 ticks of logic (shoots back) 
-  * If the bot's health is low (<50), it will primarily search for health packs 
3rd_lecture_-_modules.txt · Last modified: 2010/05/16 23:11 (external edit)