Wednesday 28 October 2009

Robot Controller

I am creating an FSM (Finite State Machine) that can be used as a controller to control the actions of a robot.

There is a grid with a food trail in it. My robot will have to find and follow that trail. There are gaps in the trail. The robot cannot keep a count of the food it found. It doesn't have to perfectly follow the entire food trace, and it shouldn't have masses of states to precise follow this food trail.

My available commands:
  • move (1 step forward)
  • left  (turns robot left)
  • right  (turns robot right)
  • food-ahead
  • eat
  • off-grid (determines if the robot has stepped off the grid)
      I haven't decided yet if the robot will be able to return back to the grid in case that it has stepped off it.

      No comments:

      Post a Comment