ln002 - Embodiment A traditional agent perceives global...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Embodiment A traditional agent perceives global state information . An animat can only perceive information embedded in its immediate local vicinity through its senses. Environment Agent Environment Perception Horizon Animat Embodiment The exact nature of the senses depends on the virtual world the animat inhabits. Game engines tend to emulate aspects of the physical world, therefore animats in games tend to have senses that are modeled after our own or other creatures in our physical world: Vision Sense of touch (bumping into things, etc.) Sense of locomotion (e.g., direction, speed) Introspection, well-being As a consequence of embodiment the animat has only limited information to base decisions on. Embodiment Embodiment entails having a body (albeit simulated for animats in virtual worlds): We need to actively move the body expending energy and plan our route. The body can only move according to the abilities of the animat. The body ages. The body occupies space no two things can exist in the same location in the simulated world. The Quagent World Worlds are simulated using the Quake2 game engine. Two simple worlds are provided to you by default: Empty Room Obstacle Room You will get the chance to build your own world (level design) later. Or explore other more complicated worlds using your animats. Quagents Quagent Quake Agent A better term would have been Quanimat (but that sounds very strange) A quagent is an animat that inhabits a simulated world. The unique property of quagents is that we have access to their brains. Quake2 World Quagent Java API Prolog API Quagents The Java and Prolog APIs provide access to the animat body: Senses State Locomotion We can write code to control the animats Prolog Pro gramming in Log ic API Application Programming Interface Quagent Java API class Quagent { // spawn a new quagent public Quagent () throws Exception {...} public Quagent (String hostName) throws Exception {...} // Actions public void walk(int distance) throws Exception {...} public void turn(int angle) throws Exception {...} public void pickup(String itemName) throws Exception {...} public Events drop(String itemName) throws Exception {...} // Perception public void radius(float radius) throws Exception {...} public void rays(int no_of_rays) throws Exception {...} public void cameraon() throws Exception {...} public void cameraoff() throws Exception {...} //Proprioception public void where() throws Exception {...} public void inventory() throws Exception {...} public void wellbeing() throws Exception {...} //Event Retrieval public Events events() throws Exception {...} // Abandon public void close() throws Exception {...} } Quagent Java API The Java API is asynchronous ....
View Full Document

This note was uploaded on 10/03/2011 for the course CSC 592 taught by Professor Staff during the Spring '11 term at Rhode Island.

Page1 / 27

ln002 - Embodiment A traditional agent perceives global...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online