Difference between revisions of "Simple reactive Sbot agent"
From RoboWiki
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Media:Firmware_simple_react.zip| | + | == Simple reactive Sbot agent == |
+ | |||
+ | This agent uses a simple method to avoid obstacles using IR sensors and bumpers. | ||
+ | Anytime it detects an obstacle with IR sensors, it turns right. | ||
+ | If the robot does not see the obstacle, but bumps to it, the agent goes backward a little, then it turns left or right (depends on which bumper detected th obstacle). | ||
+ | |||
+ | [[Media:Firmware_simple_react.zip|Firmware source]] |
Latest revision as of 12:00, 15 March 2010
Simple reactive Sbot agent
This agent uses a simple method to avoid obstacles using IR sensors and bumpers. Anytime it detects an obstacle with IR sensors, it turns right. If the robot does not see the obstacle, but bumps to it, the agent goes backward a little, then it turns left or right (depends on which bumper detected th obstacle).