FIRST Robot Simulator - Updates.tcl

This following is a starting point for your code. You can customize your version as needed. The example below assumes we have defined a Tractor object named "tractor" in TheRobot.tcl. And it assumes we have defined a Canvas object named "led" in the TheOperatorInterface.

     # @(#) $Header: /usr/local/scalawags_cvs/Simulator2005/Updates.wc,v 1.2 2005/05/01 22:01:50 abrown Exp $
     
     # This file is intended to be customized by the user.  Each
     # object which needs explicit updating should have its update
     # routine called here.
     
       #Tractor_update {TractorName}
       Tractor_update tractor
     
       Canvas_UpdateAll led
     
     # Note that over time this may dwindle to nothing as the library
     # is updated.  Anyway, it may be possible to have the objects
     # self-update at the appropriate times.  We shall see.
     # -----------------------------------------------------------------
  


Last modified 10 Dec 2006
http://brown.armoredpenguin.com/~abrown/contact.html
http://brown.armoredpenguin.com/~abrown/first/first2005/Simulator2005/Updates.html