Skip to main content

Home/ Robotics/ Group items tagged grammar

Rss Feed Group items tagged

York Jong

RoboLogo - Teaching Children how to program Interactive Robots - 0 views

  • All of the procedures take a discrete ``gear'' to specify the speed. The reasons for this are two-fold; first, by limiting the power of the truck, we simplify the interface to children. Secondly, it allows use to calibrate the ``gears'' so that, for example, 10 seconds forward in first gear is the same distance as 10 seconds backward in first gear.
  • The limitation of LOGO however is the lack of feedback from the environment. There is no way of expressing an event occuring in the outside world.
  • Simple constructs in iLogo extend the original LOGO language with interactivity capabilities of reading sensors and transfering control to different parts of the program.
  • ...6 more annotations...
  • These above rules handle all of the commands and expressions of the iLogo language except for the DoUnlessCommand. This command will execute a list of commands unless a boolean condition is met. If so, control is switched to a new list of commands for handling the exception condition.
  • Each stage of the compiler is designed using the Visitor pattern described in the book Design Pattern by Eric Gamma, et al. This pattern allows tree traversers to be created as seperated objects, instead of doing all traversals as methods of the nodes of the tree
  • We decided to use the JavaCC/JJTree tools created by Sun for generating a custom parser for our iLogo language written in Java.
  • The language must have primitives which allow the user of the language to write programs which easily transfer control based upon outside stimuli, in this case sensors on the truck.
  • An LM18293 push-pull motor driver connects the programmable counter array (PCA) of the 8051 to the truck's motors.
    • York Jong
       
      LM18293 is a DC motor driver.
  • We took the Berkeley Logo language design as our base and then added a primitive for reading sensor and an exception-based control structure.
  •  
    RoboLogo is a system that enables children to program interactive robots. Children can program a robotic truck that interacts with the environment without having to deal with low-level implementation details.
1 - 1 of 1
Showing 20 items per page