Monday, March 8, 2010

Mar.8 Line Follower Designs

Common Designs:
  • OO sequential - in for loop read light sensor and react to state
  • behavior programming - an arbitrator checks in priority order defined behaviors, if their condition is true. The first behavior with a true condition is performed.  Ex: Online? go forward
Behavior programming seems to fit into the design patterns:
  • observer pattern
  • publish/subscribe pattern
which is used in 4DIAC network pallete as implemented by FBDK.
Background Info: Design Patterns in the IEC 61499 Architecture 

No comments:

Post a Comment