ME 218B W14 - The Bat Camper
Dan Colon
Adam Genecov
Will Greenbaum
Will Tucker
  • Home
  • Project Description
  • The Team
  • Electrical
    • The Brains
    • The Senses
    • The Muscles
    • The Power
  • Software
    • Hierarchical State Machine>
      • HSM Design Template
      • HSM Code Template
      • HSM Structure>
        • Top Level - Game Master
        • JSR Handler
        • Robot Control
        • Firing At Goal
        • Reloading
        • Jousting
        • Get Home
        • Powering Up
      • HSM Pseudo Code
    • Hardware Control
  • Mechanical
    • BallShooter
    • Chassis
    • Superstructure
    • Pictures
  • BOM
  • Wisdom
Game Master
JSR Handler
Robot Control
Firing At Goal
Reloading
Jousting
Get Home
Powering Up

Top Level state - Game Master

GameMaster is the highest level state machine. All events were posted to GameMaster then passed down. SPI required a flat state machine that was also run in the background under GameMaster.
Picture
gamemasterhsm.h.rtf
File Size: 2 kb
File Type: rtf
Download File

gamemasterhsm.c.rtf
File Size: 45 kb
File Type: rtf
Download File

Powered by Create your own unique website with customizable templates.