FIRST Robot Simulator - Tcl Code
Click on a thumbnail sketch to see the full size picture.
Intro
This page will explain how the Tcl code is structured in the Robot System Simulator.
Structure of the Tcl Code
The top level Tcl file is 'RoboSystem.tcl'. This file should require no customizations. It sources several files, some of which should be customized.
There are quite a number of standardized Tcl files in the simulator. Each implements a graphic object that can be used to build a robot simulation.
Tcl Source Useage Sourced into RoboSystem.tcl? Sourced into OperatorInterface.tcl? Sourced into TheRobot.tcl? Initialize.tcl User Customizable Always no no Updates.tcl User Customizable Always no no simfuncs.tcl Standardized Always no no CanvasObject.tcl Standardized Always no no ByteMonitorObject.tcl Standardized Always no no TextObject.tcl Standardized Always no no SimControl.tcl Standardized Always no no SimulationPanel.tcl Standardized Always no no OperatorInterface.tcl User Customizable Always no no TheRobot.tcl User Customizable Always no no LedObject.tcl Standardized Always Optional Optional JoystickObject.tcl Standardized no Optional no SwitchblockObject.tcl Standardized no Optional Optional TogglecoObject.tcl Standardized no Optional Optional VtextObject.tcl Standardized no Optional Optional IdlewheelObject.tcl Standardized no no Optional ServoObject.tcl Standardized no no Optional TractorObject.tcl Standardized no no Optional Victor884.tcl Standardized no no Optional
Customizing the Operator Interface in Tcl