[Pogamut-list] Rotate bot in the right angle when hearing noise

michal.bida pogamut-forum at diana.ms.mff.cuni.cz
Thu May 5 17:52:44 CEST 2011


Re: Rotate bot in the right angle when hearing noise

Author: michal.bida

Input to dodge command is a direction. The class of the attribute does not matter. So if you support his:

North: new Location (1, 0, 0)
North-east: new Location(1, 1, 0)
East: new Location (0, 1, 0)
South-east: new Location (-1, 1, 0)
South: new Location (-1, 0, 0)
South-west: new Location(-1, -1, 0)
West: new Location (0, -1, 0)
North-west: newLocation(1, -1, 0)

does it work?

m

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





More information about the Pogamut-list mailing list