The basic goal of LEGO Java is to "learn how to use and program a LEGO ® using LeJOS, Java and additional tools." By understanding how to translate commands into program code, users can effectively "create intellegence" in robots. The following diagram outlines the basic functions of a robot:
First users learn how to program basic movements. Once movements are understood, users can use robtic sensors and environmental stimuli to trigger behaviors. Behaviors are formed using a condition and action and must also be prioritized so that actions can be completed in a sequence. Through a thorough understanding of robotic commands, users can enable robots to automatically interact with the external environment.
Members of Motivational Environments have made the following Full Tutorial